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

Issue 2972193002: Use unique variable names in gperf generated code (Closed)

Created:
3 years, 5 months ago by Daniel Bratell
Modified:
3 years, 5 months ago
Reviewers:
fs
CC:
blink-reviews, chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Use unique variable names in gperf generated code By default gperf generates code with the types and variables stringpool_t and stringpool. If jumbo combines more than one gperf generated file those collides. This patch changes the variable names to something more unique. R=fs@opera.com BUG=713137 Review-Url: https://codereview.chromium.org/2972193002 Cr-Commit-Position: refs/heads/master@{#484961} Committed: https://chromium.googlesource.com/chromium/src/+/d0fbcabbd9fe9c624a67fdc14379697c83cb6798

Patch Set 1 #

Total comments: 2

Patch Set 2 : fixup better gperf variable name #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -0 lines) Patch
M third_party/WebKit/Source/build/scripts/make_css_property_names.py View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/build/scripts/make_css_value_keywords.py View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 11 (6 generated)
Daniel Bratell
3 years, 5 months ago (2017-07-07 12:53:42 UTC) #1
fs
lgtm https://codereview.chromium.org/2972193002/diff/1/third_party/WebKit/Source/build/scripts/make_css_value_keywords.py File third_party/WebKit/Source/build/scripts/make_css_value_keywords.py (right): https://codereview.chromium.org/2972193002/diff/1/third_party/WebKit/Source/build/scripts/make_css_value_keywords.py#newcode177 third_party/WebKit/Source/build/scripts/make_css_value_keywords.py:177: gperf_args.extend(['-Q', 'ValueStringPool']) # Unique var names. Maybe CSSValueStringPool?
3 years, 5 months ago (2017-07-07 12:58:30 UTC) #4
Daniel Bratell
https://codereview.chromium.org/2972193002/diff/1/third_party/WebKit/Source/build/scripts/make_css_value_keywords.py File third_party/WebKit/Source/build/scripts/make_css_value_keywords.py (right): https://codereview.chromium.org/2972193002/diff/1/third_party/WebKit/Source/build/scripts/make_css_value_keywords.py#newcode177 third_party/WebKit/Source/build/scripts/make_css_value_keywords.py:177: gperf_args.extend(['-Q', 'ValueStringPool']) # Unique var names. On 2017/07/07 12:58:30, ...
3 years, 5 months ago (2017-07-07 13:20:50 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2972193002/20001
3 years, 5 months ago (2017-07-07 13:21:05 UTC) #8
commit-bot: I haz the power
3 years, 5 months ago (2017-07-07 17:05:06 UTC) #11
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/d0fbcabbd9fe9c624a67fdc14379...

Powered by Google App Engine
This is Rietveld 408576698