diff options
-rw-r--r-- | chrome/chrome_dll_bundle.gypi | 18 |
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', |