Pass the affected tree in AXTreeDelegate calls.
[chromium-blink-merge.git] / ios / crnet / crnet.gyp
blob53358c2b30d1d186d08c9d2c92c2d67d46311efa
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         'crnet_net_log.h',
35         'crnet_net_log.cc',
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       # This bundle contains "Accept-Languages" header values for known locales.
49       # TODO(huey): These strings should be auto-generated from chrome's .xtb
50       # files, not hardcoded.
51       'target_name': 'crnet_resources',
52       'type': 'loadable_module',
53       'mac_bundle': 1,
54       'mac_bundle_resources': [
55         'Resources/Localization/am.lproj/Localizable.strings',
56         'Resources/Localization/ar.lproj/Localizable.strings',
57         'Resources/Localization/bg.lproj/Localizable.strings',
58         'Resources/Localization/bn.lproj/Localizable.strings',
59         'Resources/Localization/ca.lproj/Localizable.strings',
60         'Resources/Localization/cs.lproj/Localizable.strings',
61         'Resources/Localization/da.lproj/Localizable.strings',
62         'Resources/Localization/de.lproj/Localizable.strings',
63         'Resources/Localization/el.lproj/Localizable.strings',
64         'Resources/Localization/en-GB.lproj/Localizable.strings',
65         'Resources/Localization/en.lproj/Localizable.strings',
66         'Resources/Localization/es-419.lproj/Localizable.strings',
67         'Resources/Localization/es.lproj/Localizable.strings',
68         'Resources/Localization/fa.lproj/Localizable.strings',
69         'Resources/Localization/fi.lproj/Localizable.strings',
70         'Resources/Localization/fil.lproj/Localizable.strings',
71         'Resources/Localization/fr.lproj/Localizable.strings',
72         'Resources/Localization/gu.lproj/Localizable.strings',
73         'Resources/Localization/he.lproj/Localizable.strings',
74         'Resources/Localization/hi.lproj/Localizable.strings',
75         'Resources/Localization/hr.lproj/Localizable.strings',
76         'Resources/Localization/hu.lproj/Localizable.strings',
77         'Resources/Localization/id.lproj/Localizable.strings',
78         'Resources/Localization/it.lproj/Localizable.strings',
79         'Resources/Localization/ja.lproj/Localizable.strings',
80         'Resources/Localization/kn.lproj/Localizable.strings',
81         'Resources/Localization/ko.lproj/Localizable.strings',
82         'Resources/Localization/lt.lproj/Localizable.strings',
83         'Resources/Localization/lv.lproj/Localizable.strings',
84         'Resources/Localization/ml.lproj/Localizable.strings',
85         'Resources/Localization/mr.lproj/Localizable.strings',
86         'Resources/Localization/ms.lproj/Localizable.strings',
87         'Resources/Localization/nb.lproj/Localizable.strings',
88         'Resources/Localization/nl.lproj/Localizable.strings',
89         'Resources/Localization/pl.lproj/Localizable.strings',
90         'Resources/Localization/pt-BR.lproj/Localizable.strings',
91         'Resources/Localization/pt-PT.lproj/Localizable.strings',
92         'Resources/Localization/pt.lproj/Localizable.strings',
93         'Resources/Localization/ro.lproj/Localizable.strings',
94         'Resources/Localization/ru.lproj/Localizable.strings',
95         'Resources/Localization/sk.lproj/Localizable.strings',
96         'Resources/Localization/sl.lproj/Localizable.strings',
97         'Resources/Localization/sr.lproj/Localizable.strings',
98         'Resources/Localization/sv.lproj/Localizable.strings',
99         'Resources/Localization/sw.lproj/Localizable.strings',
100         'Resources/Localization/ta.lproj/Localizable.strings',
101         'Resources/Localization/te.lproj/Localizable.strings',
102         'Resources/Localization/th.lproj/Localizable.strings',
103         'Resources/Localization/tr.lproj/Localizable.strings',
104         'Resources/Localization/uk.lproj/Localizable.strings',
105         'Resources/Localization/vi.lproj/Localizable.strings',
106         'Resources/Localization/zh-Hans.lproj/Localizable.strings',
107         'Resources/Localization/zh-Hant.lproj/Localizable.strings',
108         'Resources/Localization/zh.lproj/Localizable.strings',
109       ],
110       'all_dependent_settings': {
111         'link_settings': {
112           'mac_bundle_resources': [
113             '>(PRODUCT_DIR)/crnet_resources.bundle',
114           ],
115         },
116       },
117     },
118   ],