Index: chrome/chrome_tests.gypi |
diff --git a/chrome/chrome_tests.gypi b/chrome/chrome_tests.gypi |
index 38a00b8bd29851a2b38614ae83eff2b4e59c1646..bbc0496586e2c6f501a78c1e06d42ce8bbfc0623 100644 |
--- a/chrome/chrome_tests.gypi |
+++ b/chrome/chrome_tests.gypi |
@@ -3259,7 +3259,8 @@ |
}], |
['OS=="mac" or OS=="win"', { |
'dependencies': [ |
- # TODO(kbr): port this dependency to GN. |
+ # TODO(kbr): port these dependencies to GN. |
+ 'copy_cdb_to_output', |
'../third_party/crashpad/crashpad/tools/tools.gyp:crashpad_database_util', |
], |
}], |
@@ -3419,6 +3420,34 @@ |
}, |
], |
'conditions': [ |
+ ['OS=="win"', { |
+ 'targets': [ |
+ { |
+ # TODO(kbr): port this target to GN. |
+ 'target_name': 'copy_cdb_to_output', |
+ 'type': 'none', |
+ 'actions': [ |
+ { |
+ 'action_name': 'copy_cdb', |
+ 'inputs': [ |
+ '<(DEPTH)/build/win/copy_cdb_to_output.py', |
+ ], |
+ 'outputs': [ |
+ '<(PRODUCT_DIR)/cdb.exe', |
+ '<(PRODUCT_DIR)/dbgeng.dll', |
+ '<(PRODUCT_DIR)/dbghelp.dll', |
+ '<(PRODUCT_DIR)/dbgmodel.dll', |
+ ], |
+ 'action': ['python', |
+ '<(DEPTH)/build/win/copy_cdb_to_output.py', |
+ '<(PRODUCT_DIR)', |
+ '<(target_arch)'], |
+ 'message': 'Copying cdb and dependencies to <(PRODUCT_DIR)', |
+ }, |
+ ], |
+ }, |
+ ], |
+ }], |
['archive_gpu_tests==1', { |
'targets': [ |
{ |