Update V8 to version 4.7.19.
[chromium-blink-merge.git] / ios / crnet / crnet.gyp
blob23f3024a6599a34345ca58de7926df37c6cc9750
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.
6   'variables': {
7     'chromium_code': 1,
8   },
9   'targets': [
10     {
11       'target_name': 'crnet',
12       'type': 'static_library',
13       'dependencies': [
14         '../../components/components.gyp:webp_transcode',
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       ],
35       'defines': [
36         # TODO(stuartmorgan): Revisit the way this is set, and the above is
37         # built, once the web/ layer is complete. Note that this setting doesn't
38         # propagate to any included targets.
39         'CRNET=1',
40       ],
41       'xcode_settings': {
42         'DEAD_CODE_STRIPPING': 'YES',
43       },
44     },
45     {
46       # This bundle contains "Accept-Languages" header values for known locales.
47       # TODO(huey): These strings should be auto-generated from chrome's .xtb
48       # files, not hardcoded.
49       'target_name': 'crnet_resources',
50       'type': 'loadable_module',
51       'mac_bundle': 1,
52       'mac_bundle_resources': [
53         'Resources/Localization/am.lproj/Localizable.strings',
54         'Resources/Localization/ar.lproj/Localizable.strings',
55         'Resources/Localization/bg.lproj/Localizable.strings',
56         'Resources/Localization/bn.lproj/Localizable.strings',
57         'Resources/Localization/ca.lproj/Localizable.strings',
58         'Resources/Localization/cs.lproj/Localizable.strings',
59         'Resources/Localization/da.lproj/Localizable.strings',
60         'Resources/Localization/de.lproj/Localizable.strings',
61         'Resources/Localization/el.lproj/Localizable.strings',
62         'Resources/Localization/en-GB.lproj/Localizable.strings',
63         'Resources/Localization/en.lproj/Localizable.strings',
64         'Resources/Localization/es-419.lproj/Localizable.strings',
65         'Resources/Localization/es.lproj/Localizable.strings',
66         'Resources/Localization/fa.lproj/Localizable.strings',
67         'Resources/Localization/fi.lproj/Localizable.strings',
68         'Resources/Localization/fil.lproj/Localizable.strings',
69         'Resources/Localization/fr.lproj/Localizable.strings',
70         'Resources/Localization/gu.lproj/Localizable.strings',
71         'Resources/Localization/he.lproj/Localizable.strings',
72         'Resources/Localization/hi.lproj/Localizable.strings',
73         'Resources/Localization/hr.lproj/Localizable.strings',
74         'Resources/Localization/hu.lproj/Localizable.strings',
75         'Resources/Localization/id.lproj/Localizable.strings',
76         'Resources/Localization/it.lproj/Localizable.strings',
77         'Resources/Localization/ja.lproj/Localizable.strings',
78         'Resources/Localization/kn.lproj/Localizable.strings',
79         'Resources/Localization/ko.lproj/Localizable.strings',
80         'Resources/Localization/lt.lproj/Localizable.strings',
81         'Resources/Localization/lv.lproj/Localizable.strings',
82         'Resources/Localization/ml.lproj/Localizable.strings',
83         'Resources/Localization/mr.lproj/Localizable.strings',
84         'Resources/Localization/ms.lproj/Localizable.strings',
85         'Resources/Localization/nb.lproj/Localizable.strings',
86         'Resources/Localization/nl.lproj/Localizable.strings',
87         'Resources/Localization/pl.lproj/Localizable.strings',
88         'Resources/Localization/pt-BR.lproj/Localizable.strings',
89         'Resources/Localization/pt-PT.lproj/Localizable.strings',
90         'Resources/Localization/pt.lproj/Localizable.strings',
91         'Resources/Localization/ro.lproj/Localizable.strings',
92         'Resources/Localization/ru.lproj/Localizable.strings',
93         'Resources/Localization/sk.lproj/Localizable.strings',
94         'Resources/Localization/sl.lproj/Localizable.strings',
95         'Resources/Localization/sr.lproj/Localizable.strings',
96         'Resources/Localization/sv.lproj/Localizable.strings',
97         'Resources/Localization/sw.lproj/Localizable.strings',
98         'Resources/Localization/ta.lproj/Localizable.strings',
99         'Resources/Localization/te.lproj/Localizable.strings',
100         'Resources/Localization/th.lproj/Localizable.strings',
101         'Resources/Localization/tr.lproj/Localizable.strings',
102         'Resources/Localization/uk.lproj/Localizable.strings',
103         'Resources/Localization/vi.lproj/Localizable.strings',
104         'Resources/Localization/zh-Hans.lproj/Localizable.strings',
105         'Resources/Localization/zh-Hant.lproj/Localizable.strings',
106         'Resources/Localization/zh.lproj/Localizable.strings',
107       ],
108       'all_dependent_settings': {
109         'link_settings': {
110           'mac_bundle_resources': [
111             '>(PRODUCT_DIR)/crnet_resources.bundle',
112           ],
113         },
114       },
115     },
116   ],