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

Issue 330093002: Add support in generate scripts to handle Conditional (Closed)

Created:
6 years, 6 months ago by maheshkk
Modified:
6 years, 6 months ago
CC:
blink-reviews, krit, fs, ed+blinkwatch_opera.com, f(malita), gyuyoung.kim_webkit.org, Stephen Chennney, kouhei+svg_chromium.org, rwlbuis
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Add support in generate scripts to handle Conditional WEB_AUDIO and SVG_FONTS conditions in tagName files were handled by generate scripts and this CL adds the support. This fix was also needed to build without SVG_FONTS enabled. Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=176249

Patch Set 1 #

Total comments: 7

Patch Set 2 : Update review comments #

Patch Set 3 : Also add support for make_names.py script to handle Conditional #

Total comments: 6

Patch Set 4 : sort by alpha #

Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -32 lines) Patch
M Source/build/scripts/make_element_factory.py View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M Source/build/scripts/make_element_type_helpers.py View 1 2 3 2 chunks +5 lines, -4 lines 0 comments Download
M Source/build/scripts/make_names.py View 1 2 3 1 chunk +3 lines, -2 lines 0 comments Download
M Source/build/scripts/make_qualified_names.py View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M Source/build/scripts/templates/ElementFactory.cpp.tmpl View 1 2 3 3 chunks +6 lines, -0 lines 0 comments Download
M Source/build/scripts/templates/ElementTypeHelpers.h.tmpl View 2 chunks +4 lines, -1 line 0 comments Download
M Source/build/scripts/templates/ElementWrapperFactory.cpp.tmpl View 4 chunks +6 lines, -0 lines 0 comments Download
M Source/build/scripts/templates/MakeNames.cpp.tmpl View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M Source/build/scripts/templates/MakeNames.h.tmpl View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/svg/SVGTagNames.in View 3 chunks +14 lines, -24 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
maheshkk
PTAL
6 years, 6 months ago (2014-06-12 15:50:35 UTC) #1
pdr.
+cc nbarth
6 years, 6 months ago (2014-06-12 17:34:45 UTC) #2
Nils Barth (inactive)
LGTM with nits. BTW, since looking at conditionals in generated files, you're probably interested in ...
6 years, 6 months ago (2014-06-13 02:14:24 UTC) #3
maheshkk
Thanks for your review! https://codereview.chromium.org/330093002/diff/1/Source/build/scripts/make_element_factory.py File Source/build/scripts/make_element_factory.py (right): https://codereview.chromium.org/330093002/diff/1/Source/build/scripts/make_element_factory.py#newcode50 Source/build/scripts/make_element_factory.py:50: 'Conditional': None, On 2014/06/13 02:14:24, ...
6 years, 6 months ago (2014-06-13 20:03:16 UTC) #4
maheshkk
Nils, I also found that WEB_AUDIO condition in modules/EventTargetModulesFactory.in where not generating resulting files correctly. ...
6 years, 6 months ago (2014-06-13 20:09:31 UTC) #5
Nils Barth (inactive)
LGTM with nits: alphabetical order and comment. Thanks for additional catch! https://codereview.chromium.org/330093002/diff/1/Source/build/scripts/make_element_factory.py File Source/build/scripts/make_element_factory.py (right): ...
6 years, 6 months ago (2014-06-16 06:27:52 UTC) #6
Nils Barth (inactive)
pdr, this CL LGTM; could you check and ok it (for core) if looks ok?
6 years, 6 months ago (2014-06-16 06:28:43 UTC) #7
pdr.
On 2014/06/16 06:28:43, Nils Barth wrote: > pdr, this CL LGTM; could you check and ...
6 years, 6 months ago (2014-06-16 20:18:54 UTC) #8
maheshkk
The CQ bit was checked by mahesh.kk@samsung.com
6 years, 6 months ago (2014-06-16 20:22:57 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mahesh.kk@samsung.com/330093002/60001
6 years, 6 months ago (2014-06-16 20:25:11 UTC) #10
commit-bot: I haz the power
6 years, 6 months ago (2014-06-16 22:34:42 UTC) #11
Message was sent while issue was closed.
Change committed as 176249

Powered by Google App Engine
This is Rietveld 408576698