summaryrefslogtreecommitdiffstats
path: root/chrome/chrome_dll_bundle.gypi
diff options
context:
space:
mode:
authorapavlov@chromium.org <apavlov@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-20 06:24:27 +0000
committerapavlov@chromium.org <apavlov@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-20 06:24:27 +0000
commite6b3a63f763836929b183b4a34d148c4d603e9c1 (patch)
treef7c7fcedd9d35433297bf85a7d2f53a3276f0a21 /chrome/chrome_dll_bundle.gypi
parent4350cdb83c728ccc09c6b1e468a69961082e415e (diff)
downloadchromium_src-e6b3a63f763836929b183b4a34d148c4d603e9c1.zip
chromium_src-e6b3a63f763836929b183b4a34d148c4d603e9c1.tar.gz
chromium_src-e6b3a63f763836929b183b4a34d148c4d603e9c1.tar.bz2
debug_devtools=1 makes Chromium use the devtools files as-is, without packing them. However, the "copies" in this case execute _before_ gyp rule deps are processed, so we need to copy the inspector files in the postbuild step instead.
BUG=none TEST=build with GYP_DEFINES=...,debug_devtools=1 Review URL: https://codereview.chromium.org/11293271 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@168746 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/chrome_dll_bundle.gypi')
-rw-r--r--chrome/chrome_dll_bundle.gypi18
1 files changed, 11 insertions, 7 deletions
diff --git a/chrome/chrome_dll_bundle.gypi b/chrome/chrome_dll_bundle.gypi
index 2bcde97..8c1a2e5 100644
--- a/chrome/chrome_dll_bundle.gypi
+++ b/chrome/chrome_dll_bundle.gypi
@@ -208,13 +208,6 @@
# Loader bundle for platform apps.
'<(PRODUCT_DIR)/app_mode_loader.app',
],
- 'conditions': [
- ['debug_devtools!=0', {
- 'files': [
- '<(PRODUCT_DIR)/resources/inspector',
- ],
- }],
- ],
},
],
'conditions': [
@@ -283,6 +276,17 @@
'../pdf/pdf.gyp:pdf',
],
}],
+ ['debug_devtools==1', {
+ 'postbuilds': [{
+ 'postbuild_name': 'Copy inspector files',
+ 'action': [
+ 'cp',
+ '-r',
+ '${BUILT_PRODUCTS_DIR}/resources/inspector',
+ '${BUILT_PRODUCTS_DIR}/${CONTENTS_FOLDER_PATH}/Resources',
+ ],
+ }],
+ }],
['enable_hidpi==1', {
'mac_bundle_resources': [
'<(SHARED_INTERMEDIATE_DIR)/repack/chrome_200_percent.pak',