1 # Copyright (c) 2012 Google Inc. All rights reserved. 2 # Use of this source code is governed by a BSD-style license that can be 3 # found in the LICENSE file. 4 5 { 6 'targets': [ 7 { 8 'target_name': 'static_32_64', 9 'type': 'static_library', 10 'sources': [ 'my_file.cc' ], 11 'xcode_settings': { 12 'ARCHS': [ 'i386', 'x86_64' ], 13 }, 14 }, 15 { 16 'target_name': 'shared_32_64', 17 'type': 'shared_library', 18 'sources': [ 'my_file.cc' ], 19 'xcode_settings': { 20 'ARCHS': [ 'i386', 'x86_64' ], 21 }, 22 }, 23 { 24 'target_name': 'module_32_64', 25 'type': 'loadable_module', 26 'sources': [ 'my_file.cc' ], 27 'xcode_settings': { 28 'ARCHS': [ 'i386', 'x86_64' ], 29 }, 30 }, 31 { 32 'target_name': 'exe_32_64', 33 'type': 'executable', 34 'sources': [ 'empty_main.cc' ], 35 'xcode_settings': { 36 'ARCHS': [ 'i386', 'x86_64' ], 37 }, 38 }, 39 { 40 'target_name': 'exe_32_64_bundle', 41 'product_name': 'Test App', 42 'type': 'executable', 43 'mac_bundle': 1, 44 'sources': [ 'empty_main.cc' ], 45 'xcode_settings': { 46 'ARCHS': [ 'i386', 'x86_64' ], 47 }, 48 }, 49 # This only needs to compile. 50 { 51 'target_name': 'precompiled_prefix_header_mm_32_64', 52 'type': 'shared_library', 53 'sources': [ 'file.mm', ], 54 'xcode_settings': { 55 'GCC_PREFIX_HEADER': 'header.h', 56 'GCC_PRECOMPILE_PREFIX_HEADER': 'YES', 57 }, 58 }, 59 ] 60 } 61