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

Unified Diff: content/content_shell.gypi

Issue 1424983004: Using copy_ex to copy assets (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remvoe build log 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/content.gyp ('k') | content/content_tests.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/content_shell.gypi
diff --git a/content/content_shell.gypi b/content/content_shell.gypi
index b17ec601ebf6372849cf7910e13ba7713ce2d8fc..da236611e383f8011e0ed4173f71c9de2ae182e8 100644
--- a/content/content_shell.gypi
+++ b/content/content_shell.gypi
@@ -403,16 +403,6 @@
'browser/devtools/devtools_resources.gyp:devtools_resources',
],
}],
- ['OS=="android"', {
- 'copies': [
- {
- 'destination': '<(PRODUCT_DIR)',
- 'files': [
- '<(PRODUCT_DIR)/content_shell/assets/content_shell.pak'
- ],
- },
- ],
- }],
['toolkit_views==1', {
'dependencies': [
'<(DEPTH)/ui/views/resources/views_resources.gyp:views_resources'
@@ -437,6 +427,7 @@
'<(SHARED_INTERMEDIATE_DIR)/ui/strings/app_locale_settings_en-US.pak',
'<(SHARED_INTERMEDIATE_DIR)/ui/strings/ui_strings_en-US.pak',
],
+ 'pak_output': '<(PRODUCT_DIR)/content_shell.pak',
'conditions': [
['toolkit_views==1', {
'pak_inputs': [
@@ -445,9 +436,6 @@
}],
['OS!="android"', {
'pak_inputs': ['<(SHARED_INTERMEDIATE_DIR)/blink/devtools_resources.pak',],
- 'pak_output': '<(PRODUCT_DIR)/content_shell.pak',
jbudorick 2015/10/29 18:57:38 er, actually, what's with this change? Why are we
michaelbai 2015/10/29 19:29:54 This didn't change non-android, see line 430 on ri
jbudorick 2015/10/29 19:31:19 Oh, right. Sorry about that.
- }, {
- 'pak_output': '<(PRODUCT_DIR)/content_shell/assets/content_shell.pak',
}],
],
},
@@ -921,9 +909,8 @@
'target_name': 'content_shell_apk',
'type': 'none',
'dependencies': [
- 'content.gyp:content_icudata',
+ 'content.gyp:content_shell_assets_copy',
'content.gyp:content_java',
- 'content.gyp:content_v8_external_data',
'content_java_test_support',
'content_shell_java',
'libcontent_shell_content_view',
@@ -942,19 +929,19 @@
'java_in_dir': 'shell/android/shell_apk',
'resource_dir': 'shell/android/shell_apk/res',
'native_lib_target': 'libcontent_shell_content_view',
- 'additional_input_paths': ['<(PRODUCT_DIR)/content_shell/assets/content_shell.pak'],
+ 'additional_input_paths': ['<(asset_location)/content_shell.pak'],
'asset_location': '<(PRODUCT_DIR)/content_shell/assets',
'extra_native_libs': ['<(SHARED_LIB_DIR)/libosmesa.so'],
'conditions': [
['icu_use_data_file_flag==1', {
'additional_input_paths': [
- '<(PRODUCT_DIR)/icudtl.dat',
+ '<(asset_location)/icudtl.dat',
],
}],
['v8_use_external_startup_data==1', {
'additional_input_paths': [
- '<(PRODUCT_DIR)/natives_blob.bin',
- '<(PRODUCT_DIR)/snapshot_blob.bin',
+ '<(asset_location)/natives_blob.bin',
+ '<(asset_location)/snapshot_blob.bin',
],
}],
],
« no previous file with comments | « content/content.gyp ('k') | content/content_tests.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698