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 2656163005: Convert RuntimeEnabledFeatures.in config file to JSON format. (Closed)

Created:
3 years, 11 months ago by ktyliu
Modified:
3 years, 10 months ago
Reviewers:
jam, Rick Byers
CC:
abarth-chromium, blink-reviews, blink-reviews-bindings_chromium.org, chasej+watch_chromium.org, chromium-reviews, darin-cc_chromium.org, einbinder+watch-test-runner_chromium.org, iclelland+watch_chromuim.org, jam, jochen+watch_chromium.org, kinuko+watch, mlamouri (slow - plz ping), sashab
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Convert RuntimeEnabledFeatures.in config file to JSON5 format. The allowed parameters and their default and valid values/types are now in the config file itself rather than in separate .py script. Added comments for parameters "feature_policy" and "custom". And removed obsolete "condition" parameter. BUG=677884 TBR=jam@chromium.org Review-Url: https://codereview.chromium.org/2656163005 Cr-Commit-Position: refs/heads/master@{#449191} Committed: https://chromium.googlesource.com/chromium/src/+/5821741047894731b6527b607edfb8ddef33fd1b

Patch Set 1 #

Patch Set 2 : Remove RuntimeEnabledFeatures.in #

Total comments: 17

Patch Set 3 : expand entry to be consistent, add json5 to build #

Patch Set 4 : Rebase RuntimeEnabledFeatures: remove RTCPeerConnectionNewGetStats and set HeapCompaction to stable #

Patch Set 5 : Rebase and address reviewer comments #

Patch Set 6 : Rebase and add MediaCaptureDepth, MojoJS #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1044 lines, -350 lines) Patch
M components/test_runner/test_interfaces.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M content/public/common/content_switches.cc View 1 2 3 3 chunks +5 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/bindings/IDLExtendedAttributes.md View 1 2 3 4 4 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/bindings/IDLExtendedAttributes.txt View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/build/scripts/make_internal_runtime_flags.py View 3 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/build/scripts/make_origin_trials.py View 3 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/build/scripts/make_runtime_features.py View 3 chunks +7 lines, -23 lines 0 comments Download
M third_party/WebKit/Source/build/scripts/scripts.gni View 1 2 4 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/build/scripts/templates/RuntimeEnabledFeatures.h.tmpl View 1 2 3 4 1 chunk +0 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/core/BUILD.gn View 1 2 3 4 5 4 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/origin_trials/OriginTrialContext.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/BUILD.gn View 1 2 3 4 5 2 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/platform/OWNERS View 1 chunk +1 line, -1 line 0 comments Download
D third_party/WebKit/Source/platform/RuntimeEnabledFeatures.in View 1 2 3 4 5 1 chunk +0 lines, -290 lines 0 comments Download
A third_party/WebKit/Source/platform/RuntimeEnabledFeatures.json5 View 1 2 3 4 5 1 chunk +1008 lines, -0 lines 0 comments Download

Messages

Total messages: 50 (35 generated)
ktyliu
Hi Rick, Are you okay to help approve this change of using JSON5 format for ...
3 years, 10 months ago (2017-01-27 07:38:02 UTC) #9
Rick Byers
Looks reasonable, thanks for doing this! Just a couple questions / concerns. I obviously didn't ...
3 years, 10 months ago (2017-01-27 22:17:02 UTC) #10
mlamouri (slow - plz ping)
https://codereview.chromium.org/2656163005/diff/20001/third_party/WebKit/Source/platform/RuntimeEnabledFeatures.json5 File third_party/WebKit/Source/platform/RuntimeEnabledFeatures.json5 (right): https://codereview.chromium.org/2656163005/diff/20001/third_party/WebKit/Source/platform/RuntimeEnabledFeatures.json5#newcode496 third_party/WebKit/Source/platform/RuntimeEnabledFeatures.json5:496: // MediaSession is enabled by default on Android only. ...
3 years, 10 months ago (2017-01-28 01:10:44 UTC) #12
ktyliu
Thanks for the thorough review and good comments. The .in -> .json5 conversion is done ...
3 years, 10 months ago (2017-01-29 21:22:15 UTC) #15
Rick Byers
Sorry for the delay (was travelling for BlinkOn etc.). Looks good except for the one ...
3 years, 10 months ago (2017-02-06 20:46:24 UTC) #23
ktyliu
On 2017/02/06 at 20:46:24, rbyers wrote: > Sorry for the delay (was travelling for BlinkOn ...
3 years, 10 months ago (2017-02-07 01:07:40 UTC) #24
ktyliu
Thanks for the review and comments. Addressed your comments and updated CL description to cover ...
3 years, 10 months ago (2017-02-07 01:12:18 UTC) #29
Rick Byers
LGTM, thanks!
3 years, 10 months ago (2017-02-08 14:25:24 UTC) #32
ktyliu
On 2017/02/08 at 14:25:24, rbyers wrote: > LGTM, thanks! Thanks! Rebased and committing now
3 years, 10 months ago (2017-02-08 22:30:20 UTC) #35
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/2656163005/100001
3 years, 10 months ago (2017-02-08 22:31:09 UTC) #39
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/359970)
3 years, 10 months ago (2017-02-08 22:40:40 UTC) #41
ktyliu
Hi John, Can you help RSLGTM the change to content/public/common/content_switches.cc ? Thanks, Kevin
3 years, 10 months ago (2017-02-09 00:18:32 UTC) #43
Rick Byers
On 2017/02/09 00:18:32, ktyliu wrote: > Hi John, > > Can you help RSLGTM the ...
3 years, 10 months ago (2017-02-09 01:36:28 UTC) #45
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/2656163005/100001
3 years, 10 months ago (2017-02-09 01:37:35 UTC) #47
commit-bot: I haz the power
3 years, 10 months ago (2017-02-09 02:27:08 UTC) #50
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/5821741047894731b6527b607edf...

Powered by Google App Engine
This is Rietveld 408576698