Home | History | Annotate | Download | only in objc-arc
      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     ['CXX', '/usr/bin/clang++'],
      8   ],
      9 
     10   'targets': [
     11     {
     12       'target_name': 'arc_enabled',
     13       'type': 'static_library',
     14       'sources': [
     15         'c-file.c',
     16         'cc-file.cc',
     17         'm-file.m',
     18         'mm-file.mm',
     19       ],
     20       'xcode_settings': {
     21         'GCC_VERSION': 'com.apple.compilers.llvm.clang.1_0',
     22         'MACOSX_DEPLOYMENT_TARGET': '10.6',
     23         'ARCHS': [ 'x86_64' ],  # For the non-fragile objc ABI.
     24         'CLANG_ENABLE_OBJC_ARC': 'YES',
     25       },
     26     },
     27 
     28     {
     29       'target_name': 'arc_disabled',
     30       'type': 'static_library',
     31       'sources': [
     32         'c-file.c',
     33         'cc-file.cc',
     34         'm-file-no-arc.m',
     35         'mm-file-no-arc.mm',
     36       ],
     37       'xcode_settings': {
     38         'GCC_VERSION': 'com.apple.compilers.llvm.clang.1_0',
     39         'MACOSX_DEPLOYMENT_TARGET': '10.6',
     40         'ARCHS': [ 'x86_64' ],  # For the non-fragile objc ABI.
     41       },
     42     },
     43   ],
     44 }
     45 
     46