Chromium Code Reviews| Index: content/content.gyp |
| diff --git a/content/content.gyp b/content/content.gyp |
| index 48abdf15d607cc4e40b1d1c3ab9051c1c706eba9..67a32a62ae9e63510688f21756745bd2c8168eaf 100644 |
| --- a/content/content.gyp |
| +++ b/content/content.gyp |
| @@ -614,36 +614,34 @@ |
| ], |
| }, |
| { |
| - 'target_name': 'content_icudata', |
| + 'target_name': 'content_shell_assets_copy', |
| 'type': 'none', |
| - 'conditions': [ |
| - ['icu_use_data_file_flag==1', { |
| - 'copies': [ |
| - { |
| - 'destination': '<(PRODUCT_DIR)/content_shell/assets', |
| - 'files': [ |
| - '<(PRODUCT_DIR)/icudtl.dat', |
| - ], |
| - }, |
| - ], |
| - }], |
| - ], |
| - }, |
| - { |
| - 'target_name': 'content_v8_external_data', |
|
jbudorick
2015/10/19 22:57:23
Why did you merge these two?
michaelbai
2015/10/20 00:10:11
I need to copy all assets at a time because the di
|
| - 'type': 'none', |
| - 'conditions': [ |
| - ['v8_use_external_startup_data==1', { |
| - 'copies': [ |
| - { |
| - 'destination': '<(PRODUCT_DIR)/content_shell/assets', |
| - 'files': [ |
| - '<(PRODUCT_DIR)/natives_blob.bin', |
| - '<(PRODUCT_DIR)/snapshot_blob.bin', |
| - ], |
| - }, |
| - ], |
| - }], |
| + 'dependencies': ['content_shell_and_tests.gyp:content_shell_pak'], |
| + 'variables': { |
| + 'src_files': ['<(PRODUCT_DIR)/content_shell.pak'], |
| + 'conditions': [ |
| + ['v8_use_external_startup_data==1', { |
| + 'dependencies': ['<(DEPTH)/v8/tools/gyp/v8.gyp:v8_external_snapshot'], |
| + 'renaming_sources': [ |
| + '<(PRODUCT_DIR)/natives_blob.bin', |
| + '<(PRODUCT_DIR)/snapshot_blob.bin', |
| + ], |
| + 'renaming_destinations': [ |
| + 'natives_blob_<(arch_suffix).bin', |
| + 'snapshot_blob_<(arch_suffix).bin', |
| + ], |
| + }], |
| + ['icu_use_data_file_flag==1', { |
| + 'dependencies': ['<(DEPTH)/third_party/icu/icu.gyp:icudata'], |
| + 'src_files': ['<(PRODUCT_DIR)/icudtl.dat'], |
| + }], |
| + ], |
| + 'dest_path': '<(PRODUCT_DIR)/content_shell/assets', |
| + 'clear': 1, |
| + }, |
| + 'includes': [ |
| + '../build/android/copy_ex.gypi', |
| + '../build/android/v8_external_startup_data_arch_suffix.gypi', |
| ], |
| }, |
| ], |