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

Unified Diff: Source/core/core_generated.gyp

Issue 185533012: Auto generate MediaFeatureNames, its macros and MediaTypeNames (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Removed comment from RuntimeEnabled Created 6 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 | « Source/core/core.gypi ('k') | Source/core/css/MediaFeatureNames.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/core_generated.gyp
diff --git a/Source/core/core_generated.gyp b/Source/core/core_generated.gyp
index 8811344f19857d9ad04a1da2226b8b9722313d79..c4244a13245fcf28844c19f9b1f54c9f080b290a 100644
--- a/Source/core/core_generated.gyp
+++ b/Source/core/core_generated.gyp
@@ -180,6 +180,80 @@
],
},
{
+ 'action_name': 'MediaFeatureNames',
+ 'variables': {
+ 'in_files': [
+ 'css/MediaFeatureNames.in',
+ ],
+ },
+ 'inputs': [
+ '<@(scripts_for_in_files)',
+ '../build/scripts/make_media_feature_names.py',
+ '<@(in_files)'
+ ],
+ 'outputs': [
+ '<(SHARED_INTERMEDIATE_DIR)/blink/MediaFeatureNames.cpp',
+ '<(SHARED_INTERMEDIATE_DIR)/blink/MediaFeatureNames.h',
+ ],
+ 'action': [
+ 'python',
+ '../build/scripts/make_media_feature_names.py',
+ '<@(in_files)',
+ '--output_dir',
+ '<(SHARED_INTERMEDIATE_DIR)/blink',
+ '--defines', '<(feature_defines)',
+ ],
+ },
+ {
+ 'action_name': 'MediaFeatures',
+ 'variables': {
+ 'in_files': [
+ 'css/MediaFeatureNames.in',
+ ],
+ },
+ 'inputs': [
+ '<@(scripts_for_in_files)',
+ '../build/scripts/make_media_features.py',
+ '<@(in_files)'
+ ],
+ 'outputs': [
+ '<(SHARED_INTERMEDIATE_DIR)/blink/MediaFeatures.h',
+ ],
+ 'action': [
+ 'python',
+ '../build/scripts/make_media_features.py',
+ '<@(in_files)',
+ '--output_dir',
+ '<(SHARED_INTERMEDIATE_DIR)/blink',
+ '--defines', '<(feature_defines)',
+ ],
+ },
+ {
+ 'action_name': 'MediaTypeNames',
+ 'variables': {
+ 'in_files': [
+ 'css/MediaTypeNames.in',
+ ],
+ },
+ 'inputs': [
+ '<@(scripts_for_in_files)',
+ '../build/scripts/make_names.py',
+ '<@(in_files)'
+ ],
+ 'outputs': [
+ '<(SHARED_INTERMEDIATE_DIR)/blink/MediaTypeNames.cpp',
+ '<(SHARED_INTERMEDIATE_DIR)/blink/MediaTypeNames.h',
+ ],
+ 'action': [
+ 'python',
+ '../build/scripts/make_names.py',
+ '<@(in_files)',
+ '--output_dir',
+ '<(SHARED_INTERMEDIATE_DIR)/blink',
+ '--defines', '<(feature_defines)',
+ ],
+ },
+ {
'action_name': 'StylePropertyShorthand',
'inputs': [
'<@(scripts_for_in_files)',
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/css/MediaFeatureNames.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698