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

Unified Diff: chrome/installer/mini_installer.gyp

Issue 935913002: Make changes to mini_installer test files trigger tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: better Created 5 years, 10 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 | « no previous file | chrome/tools/build/list_test_installer_sources.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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': [
'../..',
« no previous file with comments | « no previous file | chrome/tools/build/list_test_installer_sources.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698