summaryrefslogtreecommitdiffstats
path: root/chromium/tools/gyp/test/mac/archs/test-archs-multiarch.gyp
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/tools/gyp/test/mac/archs/test-archs-multiarch.gyp')
-rw-r--r--chromium/tools/gyp/test/mac/archs/test-archs-multiarch.gyp32
1 files changed, 32 insertions, 0 deletions
diff --git a/chromium/tools/gyp/test/mac/archs/test-archs-multiarch.gyp b/chromium/tools/gyp/test/mac/archs/test-archs-multiarch.gyp
index a187ca5c357..567e8a6653c 100644
--- a/chromium/tools/gyp/test/mac/archs/test-archs-multiarch.gyp
+++ b/chromium/tools/gyp/test/mac/archs/test-archs-multiarch.gyp
@@ -21,6 +21,16 @@
},
},
{
+ 'target_name': 'shared_32_64_bundle',
+ 'product_name': 'My Framework',
+ 'type': 'shared_library',
+ 'mac_bundle': 1,
+ 'sources': [ 'my_file.cc' ],
+ 'xcode_settings': {
+ 'ARCHS': [ 'i386', 'x86_64' ],
+ },
+ },
+ {
'target_name': 'module_32_64',
'type': 'loadable_module',
'sources': [ 'my_file.cc' ],
@@ -29,6 +39,16 @@
},
},
{
+ 'target_name': 'module_32_64_bundle',
+ 'product_name': 'My Bundle',
+ 'type': 'loadable_module',
+ 'mac_bundle': 1,
+ 'sources': [ 'my_file.cc' ],
+ 'xcode_settings': {
+ 'ARCHS': [ 'i386', 'x86_64' ],
+ },
+ },
+ {
'target_name': 'exe_32_64',
'type': 'executable',
'sources': [ 'empty_main.cc' ],
@@ -56,5 +76,17 @@
'GCC_PRECOMPILE_PREFIX_HEADER': 'YES',
},
},
+ # This does not compile but should not cause generation errors.
+ {
+ 'target_name': 'exe_32_64_no_sources',
+ 'type': 'executable',
+ 'dependencies': [
+ 'static_32_64',
+ ],
+ 'sources': [],
+ 'xcode_settings': {
+ 'ARCHS': ['i386', 'x86_64'],
+ },
+ },
]
}