OLD | NEW |
(Empty) | |
| 1 # Copyright (c) 2014 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 'make_global_settings': [ |
| 7 ['CC', '/usr/bin/clang'], |
| 8 ['CXX', '/usr/bin/clang++'], |
| 9 ], |
| 10 'targets': [ |
| 11 { |
| 12 'target_name': 'ExtensionContainer', |
| 13 'product_name': 'ExtensionContainer', |
| 14 'type': 'executable', |
| 15 'mac_bundle': 1, |
| 16 'mac_bundle_resources': [ |
| 17 'ExtensionContainer/Base.lproj/Main.storyboard', |
| 18 ], |
| 19 'sources': [ |
| 20 'ExtensionContainer/AppDelegate.h', |
| 21 'ExtensionContainer/AppDelegate.m', |
| 22 'ExtensionContainer/ViewController.h', |
| 23 'ExtensionContainer/ViewController.m', |
| 24 'ExtensionContainer/main.m', |
| 25 ], |
| 26 'copies': [ |
| 27 { |
| 28 'destination': '<(PRODUCT_DIR)/ExtensionContainer.app/PlugIns', |
| 29 'files': [ |
| 30 '<(PRODUCT_DIR)/ActionExtension.appex', |
| 31 ]}], |
| 32 'dependencies': [ |
| 33 'ActionExtension' |
| 34 ], |
| 35 |
| 36 'link_settings': { |
| 37 'libraries': [ |
| 38 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', |
| 39 '$(SDKROOT)/System/Library/Frameworks/UIKit.framework', |
| 40 ], |
| 41 }, |
| 42 'xcode_settings': { |
| 43 'OTHER_CFLAGS': [ |
| 44 '-fobjc-abi-version=2', |
| 45 ], |
| 46 'INFOPLIST_FILE': 'ExtensionContainer/Info.plist', |
| 47 'GCC_VERSION': 'com.apple.compilers.llvm.clang.1_0', |
| 48 'ARCHS': [ 'armv7' ], |
| 49 'SDKROOT': 'iphoneos', |
| 50 'IPHONEOS_DEPLOYMENT_TARGET': '7.0', |
| 51 }, |
| 52 }, |
| 53 { |
| 54 'target_name': 'ActionExtension', |
| 55 'product_name': 'ActionExtension', |
| 56 'type': 'extension', |
| 57 'mac_bundle': 1, |
| 58 'sources': [ |
| 59 'ActionExtension/ActionViewController.h', |
| 60 'ActionExtension/ActionViewController.m', |
| 61 ], |
| 62 'link_settings': { |
| 63 'libraries': [ |
| 64 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', |
| 65 '$(SDKROOT)/System/Library/Frameworks/UIKit.framework', |
| 66 '$(SDKROOT)/System/Library/Frameworks/MobileCoreServices.framework', |
| 67 ], |
| 68 }, |
| 69 'xcode_settings': { |
| 70 'OTHER_CFLAGS': [ |
| 71 '-fobjc-abi-version=2', |
| 72 ], |
| 73 'INFOPLIST_FILE': 'ActionExtension/Info.plist', |
| 74 'GCC_VERSION': 'com.apple.compilers.llvm.clang.1_0', |
| 75 'ARCHS': [ 'armv7' ], |
| 76 'SDKROOT': 'iphoneos', |
| 77 'IPHONEOS_DEPLOYMENT_TARGET': '7.0', |
| 78 }, |
| 79 }, |
| 80 ], |
| 81 } |
| 82 |
OLD | NEW |