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