aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--gyp/tools.gyp13
1 files changed, 8 insertions, 5 deletions
diff --git a/gyp/tools.gyp b/gyp/tools.gyp
index 49e441b9e2..7bf8f7f786 100644
--- a/gyp/tools.gyp
+++ b/gyp/tools.gyp
@@ -466,10 +466,12 @@
'<(skia_include_path)/views/SkWindow.h',
'<(skia_include_path)/gpu/vk',
],
+ 'output_file' : [
+ '<(INTERMEDIATE_DIR)/test_public_includes.cpp',
+ ],
},
'include_dirs': [
'<@(includes_to_test)',
- '../src/core',
],
'sources': [
# unused_param_test.cpp is generated by the action below.
@@ -481,15 +483,16 @@
'inputs': [
'../tools/generate_includes_cpp.py',
'<@(includes_to_test)',
- # This causes the gyp generator on mac to fail
- #'<@(paths_to_ignore)',
],
'outputs': [
- '<(INTERMEDIATE_DIR)/test_public_includes.cpp',
+ '<@(output_file)',
+ # Force the script to always run so that we pick up when files have
+ # been deleted.
+ 'filename_that_does_not_exists_but_forces_rebuild.txt',
],
'action': ['python', '../tools/generate_includes_cpp.py',
'--ignore', '<(paths_to_ignore)',
- '<@(_outputs)', '<@(includes_to_test)'],
+ '<@(output_file)', '<@(includes_to_test)'],
},
],
},