Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(39)

Side by Side Diff: chrome/chrome_android_paks.gypi

Issue 1400953002: Switch Chrome Android using v8 arch specific external data name (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/android/BUILD.gn ('k') | chrome/chrome_tests_unit.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 { 4 {
5 'includes': ['../build/android/v8_external_startup_data_arch_suffix.gypi'],
5 'variables': { 6 'variables': {
6 'chrome_android_pak_output_folder': '<@(PRODUCT_DIR)/assets/<(package_name)' , 7 'chrome_android_pak_output_folder': '<@(PRODUCT_DIR)/assets/<(package_name)' ,
7 'chrome_android_pak_input_resources': [ 8 'chrome_android_pak_input_resources': [
8 '<(PRODUCT_DIR)/resources.pak', 9 '<(PRODUCT_DIR)/resources.pak',
9 '<(PRODUCT_DIR)/chrome_100_percent.pak', 10 '<(PRODUCT_DIR)/chrome_100_percent.pak',
10 ], 11 ],
11 'chrome_android_pak_locale_resources': [ 12 'chrome_android_pak_locale_resources': [
12 '<(PRODUCT_DIR)/locales/am.pak', 13 '<(PRODUCT_DIR)/locales/am.pak',
13 '<(PRODUCT_DIR)/locales/ar.pak', 14 '<(PRODUCT_DIR)/locales/ar.pak',
14 '<(PRODUCT_DIR)/locales/bg.pak', 15 '<(PRODUCT_DIR)/locales/bg.pak',
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 'conditions': [ 62 'conditions': [
62 ['icu_use_data_file_flag==1', { 63 ['icu_use_data_file_flag==1', {
63 'chrome_android_pak_input_resources': [ 64 'chrome_android_pak_input_resources': [
64 '<(PRODUCT_DIR)/icudtl.dat', 65 '<(PRODUCT_DIR)/icudtl.dat',
65 ], 66 ],
66 'chrome_android_pak_output_resources': [ 67 'chrome_android_pak_output_resources': [
67 '<(chrome_android_pak_output_folder)/icudtl.dat', 68 '<(chrome_android_pak_output_folder)/icudtl.dat',
68 ], 69 ],
69 }], 70 }],
70 ['v8_use_external_startup_data==1', { 71 ['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': [ 72 'chrome_android_pak_output_resources': [
76 '<(chrome_android_pak_output_folder)/natives_blob.bin', 73 '<(chrome_android_pak_output_folder)/natives_blob_<(arch_suffix).bin',
77 '<(chrome_android_pak_output_folder)/snapshot_blob.bin', 74 '<(chrome_android_pak_output_folder)/snapshot_blob_<(arch_suffix).bin' ,
78 ], 75 ],
79 }], 76 }],
80 ], 77 ],
81 }, 78 },
82 'targets': [ 79 'targets': [
83 { 80 {
84 'target_name': 'chrome_android_paks_copy', 81 'target_name': 'chrome_android_paks_copy',
85 'type': 'none', 82 'type': 'none',
86 'dependencies': [ 83 'dependencies': [
87 '<(DEPTH)/chrome/chrome_resources.gyp:packed_resources', 84 '<(DEPTH)/chrome/chrome_resources.gyp:packed_resources',
88 '<(DEPTH)/chrome/chrome_resources.gyp:packed_extra_resources', 85 '<(DEPTH)/chrome/chrome_resources.gyp:packed_extra_resources',
89 ], 86 ],
90 'variables': { 87 'variables': {
91 'dest_path': '<(chrome_android_pak_output_folder)', 88 'dest_path': '<(chrome_android_pak_output_folder)',
92 'src_files': [ 89 'src_files': [
93 '<@(chrome_android_pak_input_resources)', 90 '<@(chrome_android_pak_input_resources)',
94 ], 91 ],
95 'clear': 1, 92 'clear': 1,
93 'conditions': [
94 ['v8_use_external_startup_data==1', {
95 'renaming_sources': [
96 '<(PRODUCT_DIR)/snapshot_blob.bin',
97 '<(PRODUCT_DIR)/natives_blob.bin',
98 ],
99 'renaming_destinations': [
100 'snapshot_blob_<(arch_suffix).bin',
101 'natives_blob_<(arch_suffix).bin',
102 ],
103 }],
104 ],
96 }, 105 },
97 'includes': ['../build/android/copy_ex.gypi'], 106 'includes': ['../build/android/copy_ex.gypi'],
98 }, 107 },
99 ], 108 ],
100 } 109 }
101 110
OLDNEW
« no previous file with comments | « chrome/android/BUILD.gn ('k') | chrome/chrome_tests_unit.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698