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

Unified Diff: Source/platform/platform_derived_sources.gyp

Issue 26763006: Move the generation and inclusion of RuntimeEnabledFeatures to blink_platform.dll since many pieces… (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: Created 7 years, 2 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
Index: Source/platform/platform_derived_sources.gyp
diff --git a/Source/platform/platform_derived_sources.gyp b/Source/platform/platform_derived_sources.gyp
index 04562907dccd9252e03dfbe3d0f2daf7512bb58d..dcc798e746bca7f54a1a9c981f05b27ccf95f906 100644
--- a/Source/platform/platform_derived_sources.gyp
+++ b/Source/platform/platform_derived_sources.gyp
@@ -31,6 +31,8 @@
{
'includes': [
'../build/features.gypi',
+ '../build/scripts.gypi',
+ 'blink_platform.gypi',
],
'targets': [
@@ -62,6 +64,27 @@
],
'msvs_cygwin_shell': 1,
},
+ {
+ 'action_name': 'RuntimeEnabledFeatures',
+ 'inputs': [
+ '<@(scripts_for_in_files)',
+ '../build/scripts/make_runtime_features.py',
+ 'RuntimeEnabledFeatures.in',
+ '../build/scripts/templates/RuntimeEnabledFeatures.cpp.tmpl',
+ '../build/scripts/templates/RuntimeEnabledFeatures.h.tmpl',
+ ],
+ 'outputs': [
+ '<(SHARED_INTERMEDIATE_DIR)/blink/RuntimeEnabledFeatures.cpp',
+ '<(SHARED_INTERMEDIATE_DIR)/blink/RuntimeEnabledFeatures.h',
+ ],
+ 'action': [
+ 'python',
+ '../build/scripts/make_runtime_features.py',
+ 'RuntimeEnabledFeatures.in',
+ '--output_dir',
+ '<(SHARED_INTERMEDIATE_DIR)/blink',
+ ],
+ },
]
},
],

Powered by Google App Engine
This is Rietveld 408576698