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

Unified Diff: third_party/WebKit/Source/build/scripts/scripts.gni

Issue 2669243009: Added CSSPropertyAPIMethods.json5 which defines all API methods. (Closed)
Patch Set: changed to inherit from make_style_builder Created 3 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
Index: third_party/WebKit/Source/build/scripts/scripts.gni
diff --git a/third_party/WebKit/Source/build/scripts/scripts.gni b/third_party/WebKit/Source/build/scripts/scripts.gni
index 4b35a41e182761e0229af02317825320d3f60f88..65820846c9529d9830e30e202b5bb204ecfed9b4 100644
--- a/third_party/WebKit/Source/build/scripts/scripts.gni
+++ b/third_party/WebKit/Source/build/scripts/scripts.gni
@@ -26,6 +26,11 @@ scripts_for_in_files = [
css_properties_files =
scripts_for_in_files + [ "$_scripts_dir/css_properties.py" ]
+make_css_property_api_files = [
sashab 2017/02/10 05:47:17 Not needed :)
+ "$_scripts_dir/templates/CSSPropertyAPIFiles.h.tmpl",
+ "$_scripts_dir/templates/CSSPropertyDescriptor.cpp.tmpl",
+]
+
make_event_factory_files = scripts_for_in_files + [
"$_scripts_dir/make_event_factory.py",
"$_scripts_dir/templates/EventFactory.cpp.tmpl",
@@ -137,6 +142,9 @@ template("css_properties") {
process_in_files(target_name) {
script = invoker.script
in_files = [ "css/CSSProperties.json5" ]
+ if (defined(invoker.in_files)) {
sashab 2017/02/10 05:47:17 Might not need this if we do += below :)
+ in_files += invoker.in_files
+ }
other_inputs = css_properties_files
if (defined(invoker.other_inputs)) {
other_inputs += invoker.other_inputs

Powered by Google App Engine
This is Rietveld 408576698