cygprofile: increase timeouts to allow showing web contents
[chromium-blink-merge.git] / ios / chrome / ios_chrome_resources.gyp
blob1d677cf8666525d378564264336391541ee0dc70
1 # Copyright 2012 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     'grit_base_dir': '<(SHARED_INTERMEDIATE_DIR)',
9     'grit_out_dir': '<(grit_base_dir)/ios/chrome',
10   },
11   'targets': [
12     {
13       'target_name': 'ios_chrome_resources',
14       'type': 'none',
15       'dependencies': [
16         'ios_strings_gen',
17         'ios_theme_resources_gen',
18       ],
19     },
20     {
21       'target_name': 'ios_strings_gen',
22       'type': 'none',
23       'hard_dependency': 1,
24       'actions': [
25         {
26           'action_name': 'generate_ios_strings',
27           'variables': {
28             'grit_whitelist': '',
29             'grit_grd_file': 'app/strings/ios_strings.grd',
30           },
31           'includes': [ '../../build/grit_action.gypi' ],
32         },
33         {
34           'action_name': 'generate_ios_chromium_strings',
35           'variables': {
36             'grit_whitelist': '',
37             'grit_grd_file': 'app/strings/ios_chromium_strings.grd',
38           },
39           'includes': [ '../../build/grit_action.gypi' ],
40         },
41         {
42           'action_name': 'generate_ios_google_chrome_strings',
43           'variables': {
44             'grit_whitelist': '',
45             'grit_grd_file': 'app/strings/ios_google_chrome_strings.grd',
46           },
47           'includes': [ '../../build/grit_action.gypi' ],
48         },
49       ],
50       'includes': [ '../../build/grit_target.gypi' ],
51       # Override the exported include-dirs; ios/chrome/grit/ios_*strings.h
52       # should only be referenceable as ios/chrome/grit to allow DEPS-time
53       # checking of usage.
54       'direct_dependent_settings': {
55         'include_dirs': [
56           '<(grit_base_dir)',
57         ],
58         'include_dirs!': [
59           '<(grit_out_dir)',
60         ],
61       }
62     },
63     {
64       'target_name': 'ios_theme_resources_gen',
65       'type': 'none',
66       'hard_dependency': 1,
67       'actions': [
68         {
69           'action_name': 'ios_theme_resources',
70           'variables': {
71             'grit_whitelist': '',
72             'grit_grd_file': 'app/theme/ios_theme_resources.grd',
73           },
74           'includes': [ '../../build/grit_action.gypi' ],
75         },
76       ],
77       'includes': [ '../../build/grit_target.gypi' ],
78       # Override the exported include-dirs; ios_theme_resources.h should only be
79       # referencable as ios/chrome/grit/ to allow DEPS-time checking of usage.
80       'direct_dependent_settings': {
81         'include_dirs': [
82           '<(grit_base_dir)',
83         ],
84         'include_dirs!': [
85           '<(grit_out_dir)',
86         ],
87       },
88     },
89     {
90       'target_name': 'ios_packed_resources',
91       'type': 'none',
92       'dependencies': [
93         '../../components/components_strings.gyp:components_strings',
94         '../../net/net.gyp:net_resources',
95         '../../ui/resources/ui_resources.gyp:ui_resources',
96         '../../ui/strings/ui_strings.gyp:ui_strings',
97         'ios_chrome_resources',
98       ],
99       'actions': [
100         {
101           'action_name': 'repack_ios_locales',
102           'variables': {
103             'repack_locales_path': 'tools/build/ios_repack_locales.py',
104           },
105           'inputs': [
106             'tools/build/ios_repack_locales.py',
107             '<!@pymod_do_main(ios_repack_locales -i '
108               '-s <(SHARED_INTERMEDIATE_DIR) '
109               '-x <(SHARED_INTERMEDIATE_DIR)/repack_ios '
110               '-b <(branding_path_component) '
111               '<(locales))'
112           ],
113           'outputs': [
114             '<!@pymod_do_main(ios_repack_locales -o '
115               '-s <(SHARED_INTERMEDIATE_DIR) '
116               '-x <(SHARED_INTERMEDIATE_DIR)/repack_ios '
117               '<(locales))'
118           ],
119           'action': [
120             'python',
121             'tools/build/ios_repack_locales.py',
122             '-x', '<(SHARED_INTERMEDIATE_DIR)/repack_ios',
123             '-s', '<(SHARED_INTERMEDIATE_DIR)',
124             '-b', '<(branding_path_component)',
125             '<@(locales)',
126           ],
127         },
128         {
129           'action_name': 'repack_ios_resources_100_percent',
130           'variables': {
131             'pak_inputs': [
132               '<(SHARED_INTERMEDIATE_DIR)/components/components_resources_100_percent.pak',
133               '<(SHARED_INTERMEDIATE_DIR)/ios/chrome/ios_theme_resources_100_percent.pak',
134               '<(SHARED_INTERMEDIATE_DIR)/ui/resources/ui_resources_100_percent.pak',
135             ],
136             'pak_output': '<(SHARED_INTERMEDIATE_DIR)/repack_ios/chrome_100_percent.pak',
137           },
138           'includes': [ '../../build/repack_action.gypi' ],
139         },
140         {
141           'action_name': 'repack_ios_resources_200_percent',
142           'variables': {
143             'pak_inputs': [
144               '<(SHARED_INTERMEDIATE_DIR)/components/components_resources_200_percent.pak',
145               '<(SHARED_INTERMEDIATE_DIR)/ios/chrome/ios_theme_resources_200_percent.pak',
146               '<(SHARED_INTERMEDIATE_DIR)/ui/resources/ui_resources_200_percent.pak',
147             ],
148             'pak_output': '<(SHARED_INTERMEDIATE_DIR)/repack_ios/chrome_200_percent.pak',
149           },
150           'includes': [ '../../build/repack_action.gypi' ],
151         },
152         {
153           'action_name': 'repack_ios_resources_300_percent',
154           'variables': {
155             'pak_inputs': [
156               '<(SHARED_INTERMEDIATE_DIR)/components/components_resources_300_percent.pak',
157               '<(SHARED_INTERMEDIATE_DIR)/ios/chrome/ios_theme_resources_300_percent.pak',
158               '<(SHARED_INTERMEDIATE_DIR)/ui/resources/ui_resources_300_percent.pak',
159             ],
160             'pak_output': '<(SHARED_INTERMEDIATE_DIR)/repack_ios/chrome_300_percent.pak',
161           },
162           'includes': [ '../../build/repack_action.gypi' ],
163         },
164         {
165           'action_name': 'repack_ios_resources',
166           'variables': {
167             'pak_inputs': [
168               '<(SHARED_INTERMEDIATE_DIR)/components/components_resources.pak',
169               '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.pak',
170               '<(SHARED_INTERMEDIATE_DIR)/ui/resources/webui_resources.pak',
171             ],
172             'pak_output': '<(SHARED_INTERMEDIATE_DIR)/repack_ios/resources.pak',
173           },
174           'includes': [ '../../build/repack_action.gypi' ],
175         },
176       ],
177     },
178   ],