Fix broken path in extensions/common/PRESUBMIT.py
[chromium-blink-merge.git] / chrome / chrome_android_paks.gypi
blob13f5845ac2079234659c8e2633eff5b929f9d3f1
1 # Copyright (c) 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.
5   'variables': {
6     'chrome_android_pak_output_folder': '<@(PRODUCT_DIR)/../assets/<(package_name)',
7     'chrome_android_pak_input_resources': [
8       '<(PRODUCT_DIR)/resources.pak',
9       '<(PRODUCT_DIR)/chrome_100_percent.pak',
10       '<(PRODUCT_DIR)/locales/am.pak',
11       '<(PRODUCT_DIR)/locales/ar.pak',
12       '<(PRODUCT_DIR)/locales/bg.pak',
13       '<(PRODUCT_DIR)/locales/ca.pak',
14       '<(PRODUCT_DIR)/locales/cs.pak',
15       '<(PRODUCT_DIR)/locales/da.pak',
16       '<(PRODUCT_DIR)/locales/de.pak',
17       '<(PRODUCT_DIR)/locales/el.pak',
18       '<(PRODUCT_DIR)/locales/en-GB.pak',
19       '<(PRODUCT_DIR)/locales/en-US.pak',
20       '<(PRODUCT_DIR)/locales/es.pak',
21       '<(PRODUCT_DIR)/locales/es-419.pak',
22       '<(PRODUCT_DIR)/locales/fa.pak',
23       '<(PRODUCT_DIR)/locales/fi.pak',
24       '<(PRODUCT_DIR)/locales/fil.pak',
25       '<(PRODUCT_DIR)/locales/fr.pak',
26       '<(PRODUCT_DIR)/locales/he.pak',
27       '<(PRODUCT_DIR)/locales/hi.pak',
28       '<(PRODUCT_DIR)/locales/hr.pak',
29       '<(PRODUCT_DIR)/locales/hu.pak',
30       '<(PRODUCT_DIR)/locales/id.pak',
31       '<(PRODUCT_DIR)/locales/it.pak',
32       '<(PRODUCT_DIR)/locales/ja.pak',
33       '<(PRODUCT_DIR)/locales/ko.pak',
34       '<(PRODUCT_DIR)/locales/lt.pak',
35       '<(PRODUCT_DIR)/locales/lv.pak',
36       '<(PRODUCT_DIR)/locales/nb.pak',
37       '<(PRODUCT_DIR)/locales/nl.pak',
38       '<(PRODUCT_DIR)/locales/pl.pak',
39       '<(PRODUCT_DIR)/locales/pt-BR.pak',
40       '<(PRODUCT_DIR)/locales/pt-PT.pak',
41       '<(PRODUCT_DIR)/locales/ro.pak',
42       '<(PRODUCT_DIR)/locales/ru.pak',
43       '<(PRODUCT_DIR)/locales/sk.pak',
44       '<(PRODUCT_DIR)/locales/sl.pak',
45       '<(PRODUCT_DIR)/locales/sr.pak',
46       '<(PRODUCT_DIR)/locales/sv.pak',
47       '<(PRODUCT_DIR)/locales/sw.pak',
48       '<(PRODUCT_DIR)/locales/th.pak',
49       '<(PRODUCT_DIR)/locales/tr.pak',
50       '<(PRODUCT_DIR)/locales/uk.pak',
51       '<(PRODUCT_DIR)/locales/vi.pak',
52       '<(PRODUCT_DIR)/locales/zh-CN.pak',
53       '<(PRODUCT_DIR)/locales/zh-TW.pak',
54     ],
55     'chrome_android_pak_output_resources': [
56       '<(chrome_android_pak_output_folder)/resources.pak',
57       '<(chrome_android_pak_output_folder)/chrome_100_percent.pak',
58       '<(chrome_android_pak_output_folder)/am.pak',
59       '<(chrome_android_pak_output_folder)/ar.pak',
60       '<(chrome_android_pak_output_folder)/bg.pak',
61       '<(chrome_android_pak_output_folder)/ca.pak',
62       '<(chrome_android_pak_output_folder)/cs.pak',
63       '<(chrome_android_pak_output_folder)/da.pak',
64       '<(chrome_android_pak_output_folder)/de.pak',
65       '<(chrome_android_pak_output_folder)/el.pak',
66       '<(chrome_android_pak_output_folder)/en-GB.pak',
67       '<(chrome_android_pak_output_folder)/en-US.pak',
68       '<(chrome_android_pak_output_folder)/es.pak',
69       '<(chrome_android_pak_output_folder)/es-419.pak',
70       '<(chrome_android_pak_output_folder)/fa.pak',
71       '<(chrome_android_pak_output_folder)/fi.pak',
72       '<(chrome_android_pak_output_folder)/fil.pak',
73       '<(chrome_android_pak_output_folder)/fr.pak',
74       '<(chrome_android_pak_output_folder)/he.pak',
75       '<(chrome_android_pak_output_folder)/hi.pak',
76       '<(chrome_android_pak_output_folder)/hr.pak',
77       '<(chrome_android_pak_output_folder)/hu.pak',
78       '<(chrome_android_pak_output_folder)/id.pak',
79       '<(chrome_android_pak_output_folder)/it.pak',
80       '<(chrome_android_pak_output_folder)/ja.pak',
81       '<(chrome_android_pak_output_folder)/ko.pak',
82       '<(chrome_android_pak_output_folder)/lt.pak',
83       '<(chrome_android_pak_output_folder)/lv.pak',
84       '<(chrome_android_pak_output_folder)/nb.pak',
85       '<(chrome_android_pak_output_folder)/nl.pak',
86       '<(chrome_android_pak_output_folder)/pl.pak',
87       '<(chrome_android_pak_output_folder)/pt-BR.pak',
88       '<(chrome_android_pak_output_folder)/pt-PT.pak',
89       '<(chrome_android_pak_output_folder)/ro.pak',
90       '<(chrome_android_pak_output_folder)/ru.pak',
91       '<(chrome_android_pak_output_folder)/sk.pak',
92       '<(chrome_android_pak_output_folder)/sl.pak',
93       '<(chrome_android_pak_output_folder)/sr.pak',
94       '<(chrome_android_pak_output_folder)/sv.pak',
95       '<(chrome_android_pak_output_folder)/sw.pak',
96       '<(chrome_android_pak_output_folder)/th.pak',
97       '<(chrome_android_pak_output_folder)/tr.pak',
98       '<(chrome_android_pak_output_folder)/uk.pak',
99       '<(chrome_android_pak_output_folder)/vi.pak',
100       '<(chrome_android_pak_output_folder)/zh-CN.pak',
101       '<(chrome_android_pak_output_folder)/zh-TW.pak',
102     ],
103     'conditions': [
104       ['icu_use_data_file_flag==1', {
105         'chrome_android_pak_input_resources': [
106           '<(PRODUCT_DIR)/icudtl.dat',
107         ],
108         'chrome_android_pak_output_resources': [
109           '<(chrome_android_pak_output_folder)/icudtl.dat',
110         ],
111       }],
112       ['v8_use_external_startup_data==1', {
113         'chrome_android_pak_input_resources': [
114           '<(PRODUCT_DIR)/natives_blob.bin',
115           '<(PRODUCT_DIR)/snapshot_blob.bin',
116         ],
117         'chrome_android_pak_output_resources': [
118           '<(chrome_android_pak_output_folder)/natives_blob.bin',
119           '<(chrome_android_pak_output_folder)/snapshot_blob.bin',
120         ],
121       }],
122     ],
123   },
124   'targets': [
125     {
126       'target_name': 'chrome_android_paks_copy',
127       'type': 'none',
128       'dependencies': [
129         '<(DEPTH)/chrome/chrome_resources.gyp:packed_resources',
130         '<(DEPTH)/chrome/chrome_resources.gyp:packed_extra_resources',
131       ],
132       'copies': [
133         {
134           'destination': '<(chrome_android_pak_output_folder)',
135           'files': [
136             '<@(chrome_android_pak_input_resources)',
137           ],
138         }
139       ],
140     },
141   ],