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

Issue 2578773002: Made a generator for .h files for implementations of CSSPropertyAPI.h (Closed)

Created:
4 years ago by aazzam
Modified:
4 years ago
CC:
darktears, apavlov+blink_chromium.org, blink-reviews, blink-reviews-css, chromium-reviews, dglazkov+blink, rwlbuis
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Made a generator for .h files for implementations of CSSPropertyAPI.h Renamed make_css_property_descriptor.py to make_css_property_api.py and modified it so that it also generates API .h files. Added the template file CSSPropertyAPI.h.tmpl. To generate the .h file for a property, add the api_class flag to the property in CSSProperties.in. BUG=668012 Committed: https://crrev.com/de5be95f7da7d464a16f1a1fa930bd4340063f94 Cr-Commit-Position: refs/heads/master@{#439053}

Patch Set 1 #

Total comments: 12

Patch Set 2 : renamed files and fixed comments #

Total comments: 1

Patch Set 3 : Removed TODO. #

Patch Set 4 : Rebase #

Total comments: 1

Patch Set 5 : Changed build file #

Patch Set 6 : Removed generated .h files from BUILD #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -96 lines) Patch
A + third_party/WebKit/Source/build/scripts/make_css_property_apis.py View 1 2 chunks +11 lines, -0 lines 0 comments Download
D third_party/WebKit/Source/build/scripts/make_css_property_descriptor.py View 1 chunk +0 lines, -59 lines 0 comments Download
A + third_party/WebKit/Source/build/scripts/templates/CSSPropertyAPIFiles.h.tmpl View 1 2 3 2 chunks +4 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/BUILD.gn View 1 2 3 4 5 2 chunks +7 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/css/BUILD.gn View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
D third_party/WebKit/Source/core/css/properties/CSSPropertyAPIWebkitPadding.h View 1 chunk +0 lines, -26 lines 0 comments Download

Messages

Total messages: 34 (20 generated)
aazzam
I changed the generator so that it also generates .h files, please take a look ...
4 years ago (2016-12-14 23:03:22 UTC) #2
sashab
Great work so far! Real improvement in comments & naming which I'm glad to see. ...
4 years ago (2016-12-15 02:48:43 UTC) #3
aazzam
PTAL :) https://codereview.chromium.org/2578773002/diff/1/third_party/WebKit/Source/build/scripts/make_css_property_api.py File third_party/WebKit/Source/build/scripts/make_css_property_api.py (right): https://codereview.chromium.org/2578773002/diff/1/third_party/WebKit/Source/build/scripts/make_css_property_api.py#newcode37 third_party/WebKit/Source/build/scripts/make_css_property_api.py:37: continue On 2016/12/15 at 02:48:42, sashab wrote: ...
4 years ago (2016-12-15 04:35:08 UTC) #5
sashab
Looks good so far, let's get alan to take a look and I'll do another ...
4 years ago (2016-12-15 06:15:54 UTC) #7
alancutter (OOO until 2018)
lgtm https://codereview.chromium.org/2578773002/diff/20001/third_party/WebKit/Source/build/scripts/templates/CSSPropertyAPIFiles.h.tmpl File third_party/WebKit/Source/build/scripts/templates/CSSPropertyAPIFiles.h.tmpl (right): https://codereview.chromium.org/2578773002/diff/20001/third_party/WebKit/Source/build/scripts/templates/CSSPropertyAPIFiles.h.tmpl#newcode13 third_party/WebKit/Source/build/scripts/templates/CSSPropertyAPIFiles.h.tmpl:13: // TODO(aazzam): Generate API .h files Remove TODO.
4 years ago (2016-12-15 06:20:55 UTC) #8
aazzam
Removed the TODO
4 years ago (2016-12-15 22:12:41 UTC) #9
commit-bot: I haz the power
This CL has an open dependency (Issue 2564283003 Patch 120001). Please resolve the dependency and ...
4 years ago (2016-12-15 22:13:56 UTC) #13
aazzam
Rebased, PTAL :)
4 years ago (2016-12-15 23:17:28 UTC) #14
sashab
Love it!! LGTM https://codereview.chromium.org/2578773002/diff/60001/third_party/WebKit/Source/build/scripts/make_css_property_apis.py File third_party/WebKit/Source/build/scripts/make_css_property_apis.py (right): https://codereview.chromium.org/2578773002/diff/60001/third_party/WebKit/Source/build/scripts/make_css_property_apis.py#newcode60 third_party/WebKit/Source/build/scripts/make_css_property_apis.py:60: # This returned function generates a ...
4 years ago (2016-12-15 23:22:22 UTC) #15
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/2578773002/60001
4 years ago (2016-12-15 23:25:01 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_linux on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linux/builds/279148)
4 years ago (2016-12-15 23:49:54 UTC) #20
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/2578773002/100001
4 years ago (2016-12-16 03:32:53 UTC) #29
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years ago (2016-12-16 07:01:21 UTC) #32
commit-bot: I haz the power
4 years ago (2016-12-16 07:04:42 UTC) #34
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/de5be95f7da7d464a16f1a1fa930bd4340063f94
Cr-Commit-Position: refs/heads/master@{#439053}

Powered by Google App Engine
This is Rietveld 408576698