| OLD | NEW |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 { | 5 { |
| 6 'targets': [ | 6 'targets': [ |
| 7 { | 7 { |
| 8 'target_name': 'iOSFramework', | 8 'target_name': 'iOSFramework', |
| 9 'type': 'shared_library', | 9 'type': 'shared_library', |
| 10 'mac_bundle': 1, | 10 'mac_bundle': 1, |
| 11 'sources': [ | 11 'sources': [ |
| 12 'iOSFramework/iOSFramework.h', | 12 'iOSFramework/iOSFramework.h', |
| 13 'iOSFramework/Thing.h', |
| 14 'iOSFramework/Thing.m', |
| 13 ], | 15 ], |
| 14 'link_settings': { | 16 'link_settings': { |
| 15 'libraries': [ | 17 'libraries': [ |
| 16 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', | 18 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', |
| 17 '$(SDKROOT)/System/Library/Frameworks/UIKit.framework', | 19 '$(SDKROOT)/System/Library/Frameworks/UIKit.framework', |
| 18 ], | 20 ], |
| 19 }, | 21 }, |
| 20 'mac_framework_headers': [ | 22 'mac_framework_headers': [ |
| 23 # Using two headers here tests mac_tool.py NextGreaterPowerOf2. |
| 21 'iOSFramework/iOSFramework.h', | 24 'iOSFramework/iOSFramework.h', |
| 25 'iOSFramework/Thing.h', |
| 22 ], | 26 ], |
| 23 'mac_framework_dirs': [ | 27 'mac_framework_dirs': [ |
| 24 '$(SDKROOT)/../../Library/Frameworks', | 28 '$(SDKROOT)/../../Library/Frameworks', |
| 25 ], | 29 ], |
| 26 'xcode_settings': { | 30 'xcode_settings': { |
| 27 'OTHER_CFLAGS': [ | 31 'OTHER_CFLAGS': [ |
| 28 '-fobjc-abi-version=2', | 32 '-fobjc-abi-version=2', |
| 29 ], | 33 ], |
| 30 'INFOPLIST_FILE': 'iOSFramework/Info.plist', | 34 'INFOPLIST_FILE': 'iOSFramework/Info.plist', |
| 31 'GCC_VERSION': 'com.apple.compilers.llvm.clang.1_0', | 35 'GCC_VERSION': 'com.apple.compilers.llvm.clang.1_0', |
| 32 'SDKROOT': 'iphoneos', | 36 'SDKROOT': 'iphoneos', |
| 33 'IPHONEOS_DEPLOYMENT_TARGET': '8.0', | 37 'IPHONEOS_DEPLOYMENT_TARGET': '8.0', |
| 34 'CONFIGURATION_BUILD_DIR':'build/Default', | 38 'CONFIGURATION_BUILD_DIR':'build/Default', |
| 35 'CODE_SIGN_IDENTITY[sdk=iphoneos*]': 'iPhone Developer', | 39 'CODE_SIGN_IDENTITY[sdk=iphoneos*]': 'iPhone Developer', |
| 36 }, | 40 }, |
| 37 }, | 41 }, |
| 38 ], | 42 ], |
| 39 } | 43 } |
| OLD | NEW |