Index: components/nacl_common.gypi |
diff --git a/components/nacl_common.gypi b/components/nacl_common.gypi |
new file mode 100644 |
index 0000000000000000000000000000000000000000..104e89a217b4963d9ebaa09ef4d0848e89716723 |
--- /dev/null |
+++ b/components/nacl_common.gypi |
@@ -0,0 +1,68 @@ |
+# Copyright (c) 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_common', |
+ 'type': 'static_library', |
+ 'dependencies': [ |
+ '../base/base.gyp:base', |
+ ], |
+ 'sources': [ |
+ 'nacl/common/nacl_messages.cc', |
+ 'nacl/common/nacl_messages.h', |
+ 'nacl/common/nacl_types.cc', |
+ 'nacl/common/nacl_types.h', |
+ ], |
+ 'include_dirs': [ |
+ '..', |
+ ], |
+ }, |
+ { |
+ 'target_name': 'nacl_switches', |
+ 'type': 'static_library', |
+ 'sources': [ |
+ 'nacl/common/nacl_switches.cc', |
+ 'nacl/common/nacl_switches.h', |
+ ], |
+ 'include_dirs': [ |
+ '..', |
+ ], |
+ }, |
+ { |
+ 'target_name': 'nacl_cmd_line', |
+ 'type': 'static_library', |
+ 'sources': [ |
+ 'nacl/common/nacl_cmd_line.cc', |
+ 'nacl/common/nacl_cmd_line.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', |
+ }, |
+ }, |
+ }, |
+ ], |
+ },], |
+ ], |
+} |