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

Unified Diff: third_party/WebKit/Source/build/scripts/make_css_value_keywords.py

Issue 2972193002: Use unique variable names in gperf generated code (Closed)
Patch Set: fixup better gperf variable name Created 3 years, 5 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 | « third_party/WebKit/Source/build/scripts/make_css_property_names.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/build/scripts/make_css_value_keywords.py
diff --git a/third_party/WebKit/Source/build/scripts/make_css_value_keywords.py b/third_party/WebKit/Source/build/scripts/make_css_value_keywords.py
index f8b773c8971473ec04c5c7c3786fda5aec68e8ec..cc51f2df759d8de96ba11b8cce736083fcb6f98e 100755
--- a/third_party/WebKit/Source/build/scripts/make_css_value_keywords.py
+++ b/third_party/WebKit/Source/build/scripts/make_css_value_keywords.py
@@ -174,6 +174,7 @@ class CSSValueKeywordsWriter(json5_generator.Writer):
gperf_args = [self.gperf_path, '--key-positions=*', '-P', '-n']
gperf_args.extend(['-m', '50']) # Pick best of 50 attempts.
gperf_args.append('-D') # Allow duplicate hashes -> More compact code.
+ gperf_args.extend(['-Q', 'CSSValueStringPool']) # Unique var names.
# If gperf isn't in the path we get an OSError. We don't want to use
# the normal solution of shell=True (as this has to run on many
« no previous file with comments | « third_party/WebKit/Source/build/scripts/make_css_property_names.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698