OLD | NEW |
(Empty) | |
| 1 # Copyright 2014 The Chromium Authors. 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 'variables': { |
| 7 'chromium_code': 1, |
| 8 }, |
| 9 'targets': [], |
| 10 'conditions': [ |
| 11 # Our shared library hack only works with ninja; xcode cannot generate |
| 12 # iOS build targets for dynamic libraries. |
| 13 ['"<(GENERATOR)"=="ninja"', { |
| 14 'targets': [ |
| 15 { |
| 16 'target_name': 'crnet_consumer', |
| 17 'type': 'executable', |
| 18 'mac_bundle': 1, |
| 19 'dependencies': [ |
| 20 '../../../ios/crnet/crnet_pack.gyp:crnet_pack', |
| 21 ], |
| 22 'sources': [ |
| 23 'crnet_consumer_app_delegate.h', |
| 24 'crnet_consumer_app_delegate.mm', |
| 25 'crnet_consumer_view_controller.h', |
| 26 'crnet_consumer_view_controller.m', |
| 27 'main.m', |
| 28 ], |
| 29 'mac_bundle_resources': [ |
| 30 'crnet-consumer-Info.plist', |
| 31 '../../../third_party/icu/source/data/in/icudtl.dat', |
| 32 ], |
| 33 'include_dirs': [ |
| 34 '../../..', |
| 35 '..', |
| 36 ], |
| 37 'link_settings': { |
| 38 'libraries': [ |
| 39 '<(PRODUCT_DIR)/libcrnet_standalone.a', |
| 40 '$(SDKROOT)/System/Library/Frameworks/CFNetwork.framework', |
| 41 '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework', |
| 42 '$(SDKROOT)/System/Library/Frameworks/CoreGraphics.framework', |
| 43 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', |
| 44 '$(SDKROOT)/System/Library/Frameworks/MobileCoreServices.framework
', |
| 45 '$(SDKROOT)/System/Library/Frameworks/UIKit.framework', |
| 46 '$(SDKROOT)/System/Library/Frameworks/Security.framework', |
| 47 '$(SDKROOT)/System/Library/Frameworks/SystemConfiguration.framewor
k', |
| 48 '$(SDKROOT)/usr/lib/libresolv.dylib', |
| 49 '$(SDKROOT)/usr/lib/libsqlite3.dylib', |
| 50 '$(SDKROOT)/usr/lib/libxml2.dylib', |
| 51 ], |
| 52 }, |
| 53 'xcode_settings': { |
| 54 'CLANG_ENABLE_OBJC_ARC': 'YES', |
| 55 'DEAD_CODE_STRIPPING': 'YES', |
| 56 'INFOPLIST_FILE': 'crnet-consumer-Info.plist', |
| 57 }, |
| 58 }, |
| 59 ], |
| 60 }], |
| 61 ], |
| 62 } |
OLD | NEW |