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

Issue 410333002: Closure compilation config: switch from JSON to Python dict (Closed)

Created:
6 years, 5 months ago by Vitaly Pavlenko
Modified:
6 years, 4 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@flattenhtml
Project:
chromium
Visibility:
Public.

Description

Closure compilation config: switch from JSON to Python dict BUG=78368 R=dbeam@chromium.org

Patch Set 1 #

Patch Set 2 : Renamed compiled_resources.py => compiled.resources #

Total comments: 2

Patch Set 3 : Print raw config file content #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -87 lines) Patch
A + compiled.resources View 1 1 chunk +3 lines, -0 lines 0 comments Download
D compiled_resources.json View 1 chunk +0 lines, -79 lines 0 comments Download
M third_party/closure_compiler/compile_modules.py View 1 2 2 chunks +4 lines, -8 lines 2 comments Download

Messages

Total messages: 8 (0 generated)
Dan Beam
i wouldn't name it .py, that seems like it'll be executed or used as python. ...
6 years, 5 months ago (2014-07-23 22:00:59 UTC) #1
Vitaly Pavlenko
On 2014/07/23 22:00:59, Dan Beam wrote: > i wouldn't name it .py, that seems like ...
6 years, 5 months ago (2014-07-23 22:04:51 UTC) #2
Dan Beam
On 2014/07/23 22:04:51, Vitaly Pavlenko wrote: > On 2014/07/23 22:00:59, Dan Beam wrote: > > ...
6 years, 5 months ago (2014-07-23 22:35:42 UTC) #3
Dan Beam
btw, publish a message when you're ready for me to re-review (don't know if you ...
6 years, 5 months ago (2014-07-24 03:52:25 UTC) #4
Vitaly Pavlenko
https://chromiumcodereview.appspot.com/410333002/diff/10001/third_party/closure_compiler/compile_modules.py File third_party/closure_compiler/compile_modules.py (right): https://chromiumcodereview.appspot.com/410333002/diff/10001/third_party/closure_compiler/compile_modules.py#newcode58 third_party/closure_compiler/compile_modules.py:58: pretty_json = json.dumps(data, indent=2, separators=(',', ': ')).strip() On 2014/07/24 ...
6 years, 5 months ago (2014-07-24 18:32:02 UTC) #5
Dan Beam
lgtm but we need to add compiled_resources.json before your patch will work (right now it's ...
6 years, 5 months ago (2014-07-24 18:34:42 UTC) #6
Vitaly Pavlenko
https://chromiumcodereview.appspot.com/410333002/diff/30001/third_party/closure_compiler/compile_modules.py File third_party/closure_compiler/compile_modules.py (right): https://chromiumcodereview.appspot.com/410333002/diff/30001/third_party/closure_compiler/compile_modules.py#newcode49 third_party/closure_compiler/compile_modules.py:49: file_content = file.read() On 2014/07/24 18:34:42, Dan Beam wrote: ...
6 years, 5 months ago (2014-07-25 22:09:22 UTC) #7
Dan Beam
6 years, 4 months ago (2014-08-18 21:18:59 UTC) #8
i would drop this CL

Powered by Google App Engine
This is Rietveld 408576698