Roll src/third_party/WebKit 3529d49:06e8485 (svn 202554:202555)
[chromium-blink-merge.git] / chrome / chrome_android_paks.gypi
blobd3a105ce1256441b2da4b98bf3332cb55d5779b2
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     ],
11     'chrome_android_pak_locale_resources': [
12       '<(PRODUCT_DIR)/locales/am.pak',
13       '<(PRODUCT_DIR)/locales/ar.pak',
14       '<(PRODUCT_DIR)/locales/bg.pak',
15       '<(PRODUCT_DIR)/locales/ca.pak',
16       '<(PRODUCT_DIR)/locales/cs.pak',
17       '<(PRODUCT_DIR)/locales/da.pak',
18       '<(PRODUCT_DIR)/locales/de.pak',
19       '<(PRODUCT_DIR)/locales/el.pak',
20       '<(PRODUCT_DIR)/locales/en-GB.pak',
21       '<(PRODUCT_DIR)/locales/en-US.pak',
22       '<(PRODUCT_DIR)/locales/es.pak',
23       '<(PRODUCT_DIR)/locales/es-419.pak',
24       '<(PRODUCT_DIR)/locales/fa.pak',
25       '<(PRODUCT_DIR)/locales/fi.pak',
26       '<(PRODUCT_DIR)/locales/fil.pak',
27       '<(PRODUCT_DIR)/locales/fr.pak',
28       '<(PRODUCT_DIR)/locales/he.pak',
29       '<(PRODUCT_DIR)/locales/hi.pak',
30       '<(PRODUCT_DIR)/locales/hr.pak',
31       '<(PRODUCT_DIR)/locales/hu.pak',
32       '<(PRODUCT_DIR)/locales/id.pak',
33       '<(PRODUCT_DIR)/locales/it.pak',
34       '<(PRODUCT_DIR)/locales/ja.pak',
35       '<(PRODUCT_DIR)/locales/ko.pak',
36       '<(PRODUCT_DIR)/locales/lt.pak',
37       '<(PRODUCT_DIR)/locales/lv.pak',
38       '<(PRODUCT_DIR)/locales/nb.pak',
39       '<(PRODUCT_DIR)/locales/nl.pak',
40       '<(PRODUCT_DIR)/locales/pl.pak',
41       '<(PRODUCT_DIR)/locales/pt-BR.pak',
42       '<(PRODUCT_DIR)/locales/pt-PT.pak',
43       '<(PRODUCT_DIR)/locales/ro.pak',
44       '<(PRODUCT_DIR)/locales/ru.pak',
45       '<(PRODUCT_DIR)/locales/sk.pak',
46       '<(PRODUCT_DIR)/locales/sl.pak',
47       '<(PRODUCT_DIR)/locales/sr.pak',
48       '<(PRODUCT_DIR)/locales/sv.pak',
49       '<(PRODUCT_DIR)/locales/sw.pak',
50       '<(PRODUCT_DIR)/locales/th.pak',
51       '<(PRODUCT_DIR)/locales/tr.pak',
52       '<(PRODUCT_DIR)/locales/uk.pak',
53       '<(PRODUCT_DIR)/locales/vi.pak',
54       '<(PRODUCT_DIR)/locales/zh-CN.pak',
55       '<(PRODUCT_DIR)/locales/zh-TW.pak',
56     ],
57     'chrome_android_pak_output_resources': [
58       '<(chrome_android_pak_output_folder)/resources.pak',
59       '<(chrome_android_pak_output_folder)/chrome_100_percent.pak',
60     ],
61     'conditions': [
62       ['icu_use_data_file_flag==1', {
63         'chrome_android_pak_input_resources': [
64           '<(PRODUCT_DIR)/icudtl.dat',
65         ],
66         'chrome_android_pak_output_resources': [
67           '<(chrome_android_pak_output_folder)/icudtl.dat',
68         ],
69       }],
70       ['v8_use_external_startup_data==1', {
71         'chrome_android_pak_input_resources': [
72           '<(PRODUCT_DIR)/natives_blob.bin',
73           '<(PRODUCT_DIR)/snapshot_blob.bin',
74         ],
75         'chrome_android_pak_output_resources': [
76           '<(chrome_android_pak_output_folder)/natives_blob.bin',
77           '<(chrome_android_pak_output_folder)/snapshot_blob.bin',
78         ],
79       }],
80     ],
81   },
82   'targets': [
83     {
84       'target_name': 'chrome_android_paks_copy',
85       'type': 'none',
86       'dependencies': [
87         '<(DEPTH)/chrome/chrome_resources.gyp:packed_resources',
88         '<(DEPTH)/chrome/chrome_resources.gyp:packed_extra_resources',
89       ],
90       'copies': [
91         {
92           'destination': '<(chrome_android_pak_output_folder)',
93           'files': [
94             '<@(chrome_android_pak_input_resources)',
95           ],
96         }
97       ],
98     },
99   ],