Index: chrome/installer/mini_installer.gyp |
diff --git a/chrome/installer/mini_installer.gyp b/chrome/installer/mini_installer.gyp |
index 45d82a3bbbf2ab6e4167a384b77bfb28c5f51497..aeab18957349f8cdf5a5691ea850b27e96230332 100644 |
--- a/chrome/installer/mini_installer.gyp |
+++ b/chrome/installer/mini_installer.gyp |
@@ -16,6 +16,27 @@ |
['OS=="win"', { |
'targets': [ |
{ |
+ # A target that is outdated if any of the mini_installer test sources |
+ # are modified. |
+ 'target_name': 'test_installer_sentinel', |
+ 'type': 'none', |
+ 'actions': [ |
+ { |
+ 'action_name': 'touch_sentinel', |
+ 'variables': { |
+ 'touch_sentinel_py': '../tools/build/win/touch_sentinel.py', |
+ }, |
+ 'inputs': [ |
+ '<(touch_sentinel_py)', |
+ '../tools/build/list_test_installer_sources.py', |
+ '<!@pymod_do_main(list_test_installer_sources ../test/mini_installer)', |
brettw
2015/02/23 18:25:21
I don't think we should be doing filesystem operat
|
+ ], |
+ 'outputs': ['<(SHARED_INTERMEDIATE_DIR)/chrome/installer/test_installer_sentinel'], |
+ 'action': ['python', '<(touch_sentinel_py)', '<@(_outputs)'], |
+ }, |
+ ], |
+ }, |
+ { |
'target_name': 'mini_installer', |
'type': 'executable', |
@@ -25,6 +46,7 @@ |
'../chrome.gyp:chrome_dll', |
'../chrome.gyp:default_extensions', |
'../chrome.gyp:setup', |
+ 'test_installer_sentinel', |
], |
'include_dirs': [ |
'../..', |