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

Unified Diff: Source/build/scripts/make_names.py

Issue 330093002: Add support in generate scripts to handle Conditional (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: sort by alpha Created 6 years, 6 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/build/scripts/make_element_type_helpers.py ('k') | Source/build/scripts/make_qualified_names.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/build/scripts/make_names.py
diff --git a/Source/build/scripts/make_names.py b/Source/build/scripts/make_names.py
index d88e263208333bf9d7fab8bdb534c8f4780239c1..71e59179af3610b470b21771dc8ad9fcb0a941d3 100755
--- a/Source/build/scripts/make_names.py
+++ b/Source/build/scripts/make_names.py
@@ -46,17 +46,18 @@ def _symbol(entry):
class MakeNamesWriter(in_generator.Writer):
defaults = {
'Conditional': None, # FIXME: Add support for Conditional.
- 'RuntimeEnabled': None, # What should we do for runtime-enabled features?
'ImplementedAs': None,
+ 'RuntimeEnabled': None, # What should we do for runtime-enabled features?
'Symbol': None,
}
default_parameters = {
+ 'export': '',
'namespace': '',
'suffix': '',
- 'export': '',
}
filters = {
'cpp_name': name_utilities.cpp_name,
+ 'enable_conditional': name_utilities.enable_conditional_if_endif,
'hash': hasher.hash,
'script_name': name_utilities.script_name,
'symbol': _symbol,
« no previous file with comments | « Source/build/scripts/make_element_type_helpers.py ('k') | Source/build/scripts/make_qualified_names.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698