summaryrefslogtreecommitdiffstats
path: root/chrome/installer/installer_tools.gyp
diff options
context:
space:
mode:
authorsebmarchand <sebmarchand@chromium.org>2015-05-07 12:10:49 -0700
committerCommit bot <commit-bot@chromium.org>2015-05-07 19:12:32 +0000
commit77592558a510ee237f3308f987eca62903a4698a (patch)
tree58f51505ced8c7a30e556d390ad711ae647a5e2f /chrome/installer/installer_tools.gyp
parente6c9c4fd0709fc3609e0e724060c22d2386146b8 (diff)
downloadchromium_src-77592558a510ee237f3308f987eca62903a4698a.zip
chromium_src-77592558a510ee237f3308f987eca62903a4698a.tar.gz
chromium_src-77592558a510ee237f3308f987eca62903a4698a.tar.bz2
Remove duplication in mini_installer.gyp/.gypi
BUG=470889 Review URL: https://codereview.chromium.org/1080313003 Cr-Commit-Position: refs/heads/master@{#328811}
Diffstat (limited to 'chrome/installer/installer_tools.gyp')
-rw-r--r--chrome/installer/installer_tools.gyp25
1 files changed, 25 insertions, 0 deletions
diff --git a/chrome/installer/installer_tools.gyp b/chrome/installer/installer_tools.gyp
index 3033e21..c926caf 100644
--- a/chrome/installer/installer_tools.gyp
+++ b/chrome/installer/installer_tools.gyp
@@ -32,6 +32,31 @@
'tools/validate_installation_resource.h',
],
},
+ {
+ # A target that is outdated if any of the mini_installer test sources
+ # are modified.
+ 'target_name': 'test_installer_sentinel',
+ 'type': 'none',
+ 'includes': [
+ '../test/mini_installer/test_installer.gypi',
+ ],
+ 'actions': [
+ {
+ 'action_name': 'touch_sentinel',
+ 'variables': {
+ 'touch_sentinel_py': '../tools/build/win/touch_sentinel.py',
+ },
+ 'inputs': [
+ '<@(test_installer_sources)', # from test_installer.gypi
+ '<(touch_sentinel_py)',
+ ],
+ 'outputs': [
+ '<(SHARED_INTERMEDIATE_DIR)/chrome/installer/test_installer_sentinel',
+ ],
+ 'action': ['python', '<(touch_sentinel_py)', '<@(_outputs)'],
+ },
+ ],
+ },
],
}],
],