1 # Copyright (c) 2013 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 'make_global_settings': [ 6 ['CC', '/usr/bin/clang'], 7 ], 8 'target_defaults': { 9 'xcode_settings': { 10 'GCC_VERSION': 'com.apple.compilers.llvm.clang.1_0', 11 'DEPLOYMENT_POSTPROCESSING': 'YES', 12 'STRIP_INSTALLED_PRODUCT': 'YES', 13 }, 14 }, 15 'targets': [ 16 { 17 'target_name': 'single_dylib', 18 'type': 'shared_library', 19 'sources': [ 'file.c', ], 20 }, 21 { 22 'target_name': 'single_so', 23 'type': 'loadable_module', 24 'sources': [ 'file.c', ], 25 }, 26 { 27 'target_name': 'single_exe', 28 'type': 'executable', 29 'sources': [ 'main.c', ], 30 }, 31 32 { 33 'target_name': 'bundle_dylib', 34 'type': 'shared_library', 35 'mac_bundle': '1', 36 'sources': [ 'file.c', ], 37 }, 38 { 39 'target_name': 'bundle_so', 40 'type': 'loadable_module', 41 'mac_bundle': '1', 42 'sources': [ 'file.c', ], 43 }, 44 { 45 'target_name': 'bundle_exe', 46 'type': 'executable', 47 'mac_bundle': '1', 48 'sources': [ 'main.c', ], 49 }, 50 ], 51 } 52