summaryrefslogtreecommitdiffstats
path: root/chromium/tools/gyp/test/mac/archs/test-valid-archs.gyp
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/tools/gyp/test/mac/archs/test-valid-archs.gyp')
-rw-r--r--chromium/tools/gyp/test/mac/archs/test-valid-archs.gyp28
1 files changed, 28 insertions, 0 deletions
diff --git a/chromium/tools/gyp/test/mac/archs/test-valid-archs.gyp b/chromium/tools/gyp/test/mac/archs/test-valid-archs.gyp
new file mode 100644
index 00000000000..c90ec1fe9b3
--- /dev/null
+++ b/chromium/tools/gyp/test/mac/archs/test-valid-archs.gyp
@@ -0,0 +1,28 @@
+# Copyright (c) 2014 Google Inc. 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': 'lib',
+ 'product_name': 'Test',
+ 'type': 'static_library',
+ 'sources': [ 'my_file.cc' ],
+ 'xcode_settings': {
+ 'ARCHS': ['i386', 'x86_64', 'unknown-arch'],
+ 'VALID_ARCHS': ['x86_64'],
+ },
+ },
+ {
+ 'target_name': 'exe',
+ 'product_name': 'Test',
+ 'type': 'executable',
+ 'dependencies': [ 'lib' ],
+ 'sources': [ 'my_main_file.cc' ],
+ 'xcode_settings': {
+ 'ARCHS': ['i386', 'x86_64', 'unknown-arch'],
+ 'VALID_ARCHS': ['x86_64'],
+ },
+ }]
+}