OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 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 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 }, | 8 }, |
9 'targets': [], | 9 'targets': [], |
10 'conditions': [ | 10 'conditions': [ |
11 # Our shared library hack only works with ninja; xcode cannot generate | 11 # Our shared library hack only works with ninja; xcode cannot generate |
12 # iOS build targets for dynamic libraries. | 12 # iOS build targets for dynamic libraries. |
13 ['"<(GENERATOR)"=="ninja"', { | 13 ['"<(GENERATOR)"=="ninja"', { |
14 'targets': [ | 14 'targets': [ |
15 { | 15 { |
16 'target_name': 'crnet_consumer', | 16 'target_name': 'crnet_consumer', |
17 'type': 'executable', | 17 'type': 'executable', |
18 'mac_bundle': 1, | 18 'mac_bundle': 1, |
19 'dependencies': [ | 19 'dependencies': [ |
20 '../../../ios/crnet/crnet_pack.gyp:crnet_pack', | 20 '../../../ios/crnet/crnet_pack.gyp:crnet_pack', |
21 ], | 21 ], |
22 'sources': [ | 22 'sources': [ |
23 'crnet_consumer_app_delegate.h', | 23 'crnet_consumer_app_delegate.h', |
24 'crnet_consumer_app_delegate.mm', | 24 'crnet_consumer_app_delegate.mm', |
25 'crnet_consumer_view_controller.h', | 25 'crnet_consumer_view_controller.h', |
26 'crnet_consumer_view_controller.m', | 26 'crnet_consumer_view_controller.m', |
27 'main.mm', | 27 'main.mm', |
28 ], | 28 ], |
29 'mac_bundle_resources': [ | 29 'mac_bundle_resources': [ |
30 '../../../third_party/icu/source/data/in/icudtl.dat', | 30 '../../../third_party/icu/common/icudtl.dat', |
31 'Default.png', | 31 'Default.png', |
32 'crnet-consumer-Info.plist', | 32 'crnet-consumer-Info.plist', |
33 ], | 33 ], |
34 'include_dirs': [ | 34 'include_dirs': [ |
35 '../../..', | 35 '../../..', |
36 '..', | 36 '..', |
37 ], | 37 ], |
38 'link_settings': { | 38 'link_settings': { |
39 'libraries': [ | 39 'libraries': [ |
40 '<(PRODUCT_DIR)/libcrnet_standalone.a', | 40 '<(PRODUCT_DIR)/libcrnet_standalone.a', |
(...skipping 17 matching lines...) Expand all Loading... |
58 'xcode_settings': { | 58 'xcode_settings': { |
59 'CLANG_ENABLE_OBJC_ARC': 'YES', | 59 'CLANG_ENABLE_OBJC_ARC': 'YES', |
60 'DEAD_CODE_STRIPPING': 'YES', | 60 'DEAD_CODE_STRIPPING': 'YES', |
61 'INFOPLIST_FILE': 'crnet-consumer-Info.plist', | 61 'INFOPLIST_FILE': 'crnet-consumer-Info.plist', |
62 }, | 62 }, |
63 }, | 63 }, |
64 ], | 64 ], |
65 }], | 65 }], |
66 ], | 66 ], |
67 } | 67 } |
OLD | NEW |