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

Issue 208953004: Add RuntimeEnabled info to InterfaceInfo.pickle. (Closed)

Created:
6 years, 9 months ago by acolwell GONE FROM CHROMIUM
Modified:
6 years, 9 months ago
CC:
blink-reviews, kojih, arv+blink, jsbell+bindings_chromium.org, sof, kouhei+bindings_chromium.org, abarth-chromium, marja+watch_chromium.org, adamk+blink_chromium.org, Nate Chapin, Inactive
Visibility:
Public.

Description

Add RuntimeEnabled info to InterfaceInfo.pickle. Adding RuntimeEnabled info so that changes to RuntimeFeature information properly triggers regeneration of bindings code that depends on them. This was discovered by removing the VideoTrack feature flag from TrackEvent.idl and Event.cpp was not getting properly regenerated.

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -0 lines) Patch
M Source/bindings/scripts/compute_interfaces_info.py View 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
acolwell GONE FROM CHROMIUM
This patch was created to fix build errors uncovered by the removal of a RuntimeEnabled ...
6 years, 9 months ago (2014-03-21 22:14:12 UTC) #1
haraken
LGTM
6 years, 9 months ago (2014-03-22 05:27:01 UTC) #2
Nils Barth (inactive)
This is ok as a quick fix (if you could add a comment to explain ...
6 years, 9 months ago (2014-03-24 02:05:52 UTC) #3
Nils Barth (inactive)
On 2014/03/24 02:05:52, Nils Barth wrote: > This is ok as a quick fix (if ...
6 years, 9 months ago (2014-03-24 04:05:55 UTC) #4
acolwell GONE FROM CHROMIUM
On 2014/03/24 04:05:55, Nils Barth wrote: > On 2014/03/24 02:05:52, Nils Barth wrote: > > ...
6 years, 9 months ago (2014-03-25 16:35:31 UTC) #5
Nils Barth (inactive)
6 years, 9 months ago (2014-03-26 04:20:08 UTC) #6
Message was sent while issue was closed.
On 2014/03/25 16:35:31, acolwell wrote:
> Thanks for providing a better fix. I didn't really know what the right fix
would
> be so I just tried adding the info to the InterfaceInfo.pickle since that
seemed
> to be what all the other code appeared to be getting its info from. I'm not
very
> familiar w/ the build system, but I figured I'd try my hand at an improvement
> instead of just saying "it's broken!"  :)

No problem, and thanks for the help!
(Ideally of course it should "just work" ;)

I've documented the build in the GYP file and somewhat further at:
http://www.chromium.org/developers/design-documents/idl-build
...but the docs need improvement (notably an outline of the build steps is
missing!).

EventInterfaces.in is actually pretty separate from bindings,
so I'll look into factoring it out to simplify the build and avoid these
problems in future.

Powered by Google App Engine
This is Rietveld 408576698