| 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 { | |
| 11 'target_name': 'crnet', | |
| 12 'type': 'static_library', | |
| 13 'dependencies': [ | |
| 14 '../../components/prefs/prefs.gyp:prefs', | |
| 15 '../../ios/net/ios_net.gyp:ios_net', | |
| 16 '../../ios/web/ios_web.gyp:user_agent', | |
| 17 '../../net/net.gyp:net', | |
| 18 'crnet_resources', | |
| 19 ], | |
| 20 'mac_framework_headers': [ | |
| 21 'CrNet.h', | |
| 22 ], | |
| 23 'direct_dependent_settings': { | |
| 24 'include_dirs': [ '.' ], | |
| 25 }, | |
| 26 'sources': [ | |
| 27 # TODO(ellyjones): http://crbug.com/485144 | |
| 28 '../../net/url_request/sdch_dictionary_fetcher.cc', | |
| 29 '../../net/url_request/sdch_dictionary_fetcher.h', | |
| 30 'CrNet.h', | |
| 31 'CrNet.mm', | |
| 32 'crnet_environment.h', | |
| 33 'crnet_environment.mm', | |
| 34 'sdch_owner_pref_storage.cc', | |
| 35 'sdch_owner_pref_storage.h', | |
| 36 ], | |
| 37 'defines': [ | |
| 38 # TODO(stuartmorgan): Revisit the way this is set, and the above is | |
| 39 # built, once the web/ layer is complete. Note that this setting doesn't | |
| 40 # propagate to any included targets. | |
| 41 'CRNET=1', | |
| 42 ], | |
| 43 'xcode_settings': { | |
| 44 'DEAD_CODE_STRIPPING': 'YES', | |
| 45 }, | |
| 46 }, | |
| 47 { | |
| 48 'target_name': 'crnet_framework', | |
| 49 'product_name': 'CrNet', | |
| 50 'type': 'shared_library', | |
| 51 'mac_bundle': 1, | |
| 52 'sources': [ | |
| 53 'CrNet.h', | |
| 54 'CrNet.mm', | |
| 55 'crnet_environment.h', | |
| 56 'crnet_environment.mm', | |
| 57 'sdch_owner_pref_storage.cc', | |
| 58 'sdch_owner_pref_storage.h', | |
| 59 'sdch_owner_pref_storage.cc', | |
| 60 ], | |
| 61 'mac_framework_headers': [ | |
| 62 'CrNet.h', | |
| 63 ], | |
| 64 'link_settings': { | |
| 65 'libraries': [ | |
| 66 'Foundation.framework', | |
| 67 ], | |
| 68 }, | |
| 69 'xcode_settings': { | |
| 70 'DEBUGGING_SYMBOLS': 'YES', | |
| 71 'INFOPLIST_FILE': 'Info.plist', | |
| 72 'LD_DYLIB_INSTALL_NAME': '@loader_path/Frameworks/CrNet.framework/CrNet'
, | |
| 73 }, | |
| 74 'dependencies': [ | |
| 75 '../../base/base.gyp:base', | |
| 76 '../../components/prefs/prefs.gyp:prefs', | |
| 77 '../../ios/net/ios_net.gyp:ios_net', | |
| 78 '../../ios/web/ios_web.gyp:user_agent', | |
| 79 '../../net/net.gyp:net', | |
| 80 'crnet_resources', | |
| 81 ], | |
| 82 'configurations': { | |
| 83 'Debug_Base': { | |
| 84 'xcode_settings': { | |
| 85 'DEPLOYMENT_POSTPROCESSING': 'NO', | |
| 86 'DEBUG_INFORMATION_FORMAT': 'dwarf', | |
| 87 'STRIP_INSTALLED_PRODUCT': 'NO', | |
| 88 } | |
| 89 }, | |
| 90 'Release_Base': { | |
| 91 'xcode_settings': { | |
| 92 'DEPLOYMENT_POSTPROCESSING': 'YES', | |
| 93 'DEBUG_INFORMATION_FORMAT': 'dwarf-with-dsym', | |
| 94 'STRIP_INSTALLED_PRODUCT': 'YES', | |
| 95 'STRIP_STYLE': 'non-global', | |
| 96 } | |
| 97 }, | |
| 98 }, | |
| 99 }, | |
| 100 { | |
| 101 # This bundle contains "Accept-Languages" header values for known locales. | |
| 102 # TODO(huey): These strings should be auto-generated from chrome's .xtb | |
| 103 # files, not hardcoded. | |
| 104 'target_name': 'crnet_resources', | |
| 105 'type': 'loadable_module', | |
| 106 'mac_bundle': 1, | |
| 107 'mac_bundle_resources': [ | |
| 108 'Resources/Localization/am.lproj/Localizable.strings', | |
| 109 'Resources/Localization/ar.lproj/Localizable.strings', | |
| 110 'Resources/Localization/bg.lproj/Localizable.strings', | |
| 111 'Resources/Localization/bn.lproj/Localizable.strings', | |
| 112 'Resources/Localization/ca.lproj/Localizable.strings', | |
| 113 'Resources/Localization/cs.lproj/Localizable.strings', | |
| 114 'Resources/Localization/da.lproj/Localizable.strings', | |
| 115 'Resources/Localization/de.lproj/Localizable.strings', | |
| 116 'Resources/Localization/el.lproj/Localizable.strings', | |
| 117 'Resources/Localization/en-GB.lproj/Localizable.strings', | |
| 118 'Resources/Localization/en.lproj/Localizable.strings', | |
| 119 'Resources/Localization/es-419.lproj/Localizable.strings', | |
| 120 'Resources/Localization/es.lproj/Localizable.strings', | |
| 121 'Resources/Localization/fa.lproj/Localizable.strings', | |
| 122 'Resources/Localization/fi.lproj/Localizable.strings', | |
| 123 'Resources/Localization/fil.lproj/Localizable.strings', | |
| 124 'Resources/Localization/fr.lproj/Localizable.strings', | |
| 125 'Resources/Localization/gu.lproj/Localizable.strings', | |
| 126 'Resources/Localization/he.lproj/Localizable.strings', | |
| 127 'Resources/Localization/hi.lproj/Localizable.strings', | |
| 128 'Resources/Localization/hr.lproj/Localizable.strings', | |
| 129 'Resources/Localization/hu.lproj/Localizable.strings', | |
| 130 'Resources/Localization/id.lproj/Localizable.strings', | |
| 131 'Resources/Localization/it.lproj/Localizable.strings', | |
| 132 'Resources/Localization/ja.lproj/Localizable.strings', | |
| 133 'Resources/Localization/kn.lproj/Localizable.strings', | |
| 134 'Resources/Localization/ko.lproj/Localizable.strings', | |
| 135 'Resources/Localization/lt.lproj/Localizable.strings', | |
| 136 'Resources/Localization/lv.lproj/Localizable.strings', | |
| 137 'Resources/Localization/ml.lproj/Localizable.strings', | |
| 138 'Resources/Localization/mr.lproj/Localizable.strings', | |
| 139 'Resources/Localization/ms.lproj/Localizable.strings', | |
| 140 'Resources/Localization/nb.lproj/Localizable.strings', | |
| 141 'Resources/Localization/nl.lproj/Localizable.strings', | |
| 142 'Resources/Localization/pl.lproj/Localizable.strings', | |
| 143 'Resources/Localization/pt-BR.lproj/Localizable.strings', | |
| 144 'Resources/Localization/pt-PT.lproj/Localizable.strings', | |
| 145 'Resources/Localization/pt.lproj/Localizable.strings', | |
| 146 'Resources/Localization/ro.lproj/Localizable.strings', | |
| 147 'Resources/Localization/ru.lproj/Localizable.strings', | |
| 148 'Resources/Localization/sk.lproj/Localizable.strings', | |
| 149 'Resources/Localization/sl.lproj/Localizable.strings', | |
| 150 'Resources/Localization/sr.lproj/Localizable.strings', | |
| 151 'Resources/Localization/sv.lproj/Localizable.strings', | |
| 152 'Resources/Localization/sw.lproj/Localizable.strings', | |
| 153 'Resources/Localization/ta.lproj/Localizable.strings', | |
| 154 'Resources/Localization/te.lproj/Localizable.strings', | |
| 155 'Resources/Localization/th.lproj/Localizable.strings', | |
| 156 'Resources/Localization/tr.lproj/Localizable.strings', | |
| 157 'Resources/Localization/uk.lproj/Localizable.strings', | |
| 158 'Resources/Localization/vi.lproj/Localizable.strings', | |
| 159 'Resources/Localization/zh-Hans.lproj/Localizable.strings', | |
| 160 'Resources/Localization/zh-Hant.lproj/Localizable.strings', | |
| 161 'Resources/Localization/zh.lproj/Localizable.strings', | |
| 162 ], | |
| 163 'all_dependent_settings': { | |
| 164 'link_settings': { | |
| 165 'mac_bundle_resources': [ | |
| 166 '>(PRODUCT_DIR)/crnet_resources.bundle', | |
| 167 ], | |
| 168 }, | |
| 169 }, | |
| 170 }, | |
| 171 ], | |
| 172 } | |
| OLD | NEW |