diff options
Diffstat (limited to 'components/nacl_common.gypi')
-rw-r--r-- | components/nacl_common.gypi | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/components/nacl_common.gypi b/components/nacl_common.gypi new file mode 100644 index 0000000..00137c5 --- /dev/null +++ b/components/nacl_common.gypi @@ -0,0 +1,41 @@ +# Copyright 2013 The Chromium Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +{ + 'targets': [ + { + 'target_name': 'nacl_switches', + 'type': 'static_library', + 'sources': [ + 'nacl/common/nacl_switches.cc', + 'nacl/common/nacl_switches.h', + ], + 'include_dirs': [ + '..', + ], + }, + ], + 'conditions': [ + ['OS=="win" and target_arch=="ia32"', { + 'targets': [ + { + 'target_name': 'nacl_switches_win64', + 'type': 'static_library', + 'sources': [ + 'nacl/common/nacl_switches.cc', + 'nacl/common/nacl_switches.h', + ], + 'include_dirs': [ + '..', + ], + 'configurations': { + 'Common_Base': { + 'msvs_target_platform': 'x64', + }, + }, + }, + ], + }], + ], +} |