| Index: ios/crnet/crnet.gyp
|
| diff --git a/ios/crnet/crnet.gyp b/ios/crnet/crnet.gyp
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..53358c2b30d1d186d08c9d2c92c2d67d46311efa
|
| --- /dev/null
|
| +++ b/ios/crnet/crnet.gyp
|
| @@ -0,0 +1,119 @@
|
| +# Copyright 2014 The Chromium Authors. All rights reserved.
|
| +# Use of this source code is governed by a BSD-style license that can be
|
| +# found in the LICENSE file.
|
| +
|
| +{
|
| + 'variables': {
|
| + 'chromium_code': 1,
|
| + },
|
| + 'targets': [
|
| + {
|
| + 'target_name': 'crnet',
|
| + 'type': 'static_library',
|
| + 'dependencies': [
|
| + '../../components/components.gyp:webp_transcode',
|
| + '../../ios/net/ios_net.gyp:ios_net',
|
| + '../../ios/web/ios_web.gyp:user_agent',
|
| + '../../net/net.gyp:net',
|
| + 'crnet_resources',
|
| + ],
|
| + 'mac_framework_headers': [
|
| + 'CrNet.h',
|
| + ],
|
| + 'direct_dependent_settings': {
|
| + 'include_dirs': [ '.' ],
|
| + },
|
| + 'sources': [
|
| + # TODO(ellyjones): http://crbug.com/485144
|
| + '../../net/url_request/sdch_dictionary_fetcher.cc',
|
| + '../../net/url_request/sdch_dictionary_fetcher.h',
|
| + 'CrNet.h',
|
| + 'CrNet.mm',
|
| + 'crnet_environment.h',
|
| + 'crnet_environment.mm',
|
| + 'crnet_net_log.h',
|
| + 'crnet_net_log.cc',
|
| + ],
|
| + 'defines': [
|
| + # TODO(stuartmorgan): Revisit the way this is set, and the above is
|
| + # built, once the web/ layer is complete. Note that this setting doesn't
|
| + # propagate to any included targets.
|
| + 'CRNET=1',
|
| + ],
|
| + 'xcode_settings': {
|
| + 'DEAD_CODE_STRIPPING': 'YES',
|
| + },
|
| + },
|
| + {
|
| + # This bundle contains "Accept-Languages" header values for known locales.
|
| + # TODO(huey): These strings should be auto-generated from chrome's .xtb
|
| + # files, not hardcoded.
|
| + 'target_name': 'crnet_resources',
|
| + 'type': 'loadable_module',
|
| + 'mac_bundle': 1,
|
| + 'mac_bundle_resources': [
|
| + 'Resources/Localization/am.lproj/Localizable.strings',
|
| + 'Resources/Localization/ar.lproj/Localizable.strings',
|
| + 'Resources/Localization/bg.lproj/Localizable.strings',
|
| + 'Resources/Localization/bn.lproj/Localizable.strings',
|
| + 'Resources/Localization/ca.lproj/Localizable.strings',
|
| + 'Resources/Localization/cs.lproj/Localizable.strings',
|
| + 'Resources/Localization/da.lproj/Localizable.strings',
|
| + 'Resources/Localization/de.lproj/Localizable.strings',
|
| + 'Resources/Localization/el.lproj/Localizable.strings',
|
| + 'Resources/Localization/en-GB.lproj/Localizable.strings',
|
| + 'Resources/Localization/en.lproj/Localizable.strings',
|
| + 'Resources/Localization/es-419.lproj/Localizable.strings',
|
| + 'Resources/Localization/es.lproj/Localizable.strings',
|
| + 'Resources/Localization/fa.lproj/Localizable.strings',
|
| + 'Resources/Localization/fi.lproj/Localizable.strings',
|
| + 'Resources/Localization/fil.lproj/Localizable.strings',
|
| + 'Resources/Localization/fr.lproj/Localizable.strings',
|
| + 'Resources/Localization/gu.lproj/Localizable.strings',
|
| + 'Resources/Localization/he.lproj/Localizable.strings',
|
| + 'Resources/Localization/hi.lproj/Localizable.strings',
|
| + 'Resources/Localization/hr.lproj/Localizable.strings',
|
| + 'Resources/Localization/hu.lproj/Localizable.strings',
|
| + 'Resources/Localization/id.lproj/Localizable.strings',
|
| + 'Resources/Localization/it.lproj/Localizable.strings',
|
| + 'Resources/Localization/ja.lproj/Localizable.strings',
|
| + 'Resources/Localization/kn.lproj/Localizable.strings',
|
| + 'Resources/Localization/ko.lproj/Localizable.strings',
|
| + 'Resources/Localization/lt.lproj/Localizable.strings',
|
| + 'Resources/Localization/lv.lproj/Localizable.strings',
|
| + 'Resources/Localization/ml.lproj/Localizable.strings',
|
| + 'Resources/Localization/mr.lproj/Localizable.strings',
|
| + 'Resources/Localization/ms.lproj/Localizable.strings',
|
| + 'Resources/Localization/nb.lproj/Localizable.strings',
|
| + 'Resources/Localization/nl.lproj/Localizable.strings',
|
| + 'Resources/Localization/pl.lproj/Localizable.strings',
|
| + 'Resources/Localization/pt-BR.lproj/Localizable.strings',
|
| + 'Resources/Localization/pt-PT.lproj/Localizable.strings',
|
| + 'Resources/Localization/pt.lproj/Localizable.strings',
|
| + 'Resources/Localization/ro.lproj/Localizable.strings',
|
| + 'Resources/Localization/ru.lproj/Localizable.strings',
|
| + 'Resources/Localization/sk.lproj/Localizable.strings',
|
| + 'Resources/Localization/sl.lproj/Localizable.strings',
|
| + 'Resources/Localization/sr.lproj/Localizable.strings',
|
| + 'Resources/Localization/sv.lproj/Localizable.strings',
|
| + 'Resources/Localization/sw.lproj/Localizable.strings',
|
| + 'Resources/Localization/ta.lproj/Localizable.strings',
|
| + 'Resources/Localization/te.lproj/Localizable.strings',
|
| + 'Resources/Localization/th.lproj/Localizable.strings',
|
| + 'Resources/Localization/tr.lproj/Localizable.strings',
|
| + 'Resources/Localization/uk.lproj/Localizable.strings',
|
| + 'Resources/Localization/vi.lproj/Localizable.strings',
|
| + 'Resources/Localization/zh-Hans.lproj/Localizable.strings',
|
| + 'Resources/Localization/zh-Hant.lproj/Localizable.strings',
|
| + 'Resources/Localization/zh.lproj/Localizable.strings',
|
| + ],
|
| + 'all_dependent_settings': {
|
| + 'link_settings': {
|
| + 'mac_bundle_resources': [
|
| + '>(PRODUCT_DIR)/crnet_resources.bundle',
|
| + ],
|
| + },
|
| + },
|
| + },
|
| + ],
|
| +}
|
|
|