Home | History | Annotate | Download | only in app-bundle
      1 # Copyright (c) 2011 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   'conditions': [
      6     ['"<(GENERATOR)"=="ninja"', {
      7       'make_global_settings': [
      8         ['CC', '/usr/bin/clang'],
      9         ['CXX', '/usr/bin/clang++'],
     10       ],
     11     }],
     12   ],
     13   'targets': [
     14     {
     15       'target_name': 'test_app',
     16       'product_name': 'Test App Gyp',
     17       'type': 'executable',
     18       'mac_bundle': 1,
     19       'sources': [
     20         'TestApp/main.m',
     21       ],
     22       'mac_bundle_resources': [
     23         'TestApp/English.lproj/InfoPlist.strings',
     24         'TestApp/English.lproj/MainMenu.xib',
     25         'TestApp/English.lproj/Main_iPhone.storyboard',
     26       ],
     27       'link_settings': {
     28         'libraries': [
     29           '$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
     30           '$(SDKROOT)/System/Library/Frameworks/UIKit.framework',
     31         ],
     32       },
     33       'xcode_settings': {
     34         'OTHER_CFLAGS': [
     35           '-fobjc-abi-version=2',
     36         ],
     37         'INFOPLIST_FILE': 'TestApp/TestApp-Info.plist',
     38         'SDKROOT': 'iphonesimulator',  # -isysroot
     39         'IPHONEOS_DEPLOYMENT_TARGET': '5.0',
     40         'CONFIGURATION_BUILD_DIR':'build/Default',
     41       },
     42     },
     43   ],
     44 }
     45