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

Issue 1558413002: 'linux' platform should exclude 'chromeos' in json compiler. (Closed)

Created:
4 years, 11 months ago by Shu Chen
Modified:
4 years, 11 months ago
Reviewers:
Devlin
CC:
chromium-reviews, Azure Wei
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

'linux' platform should exclude 'chromeos' in json compiler. IsPlatformSupported() function in extensions/renderer/resources/binding.js doesn't include 'chromeos' in 'linux' platform. So, it should do the same to generate correct macros for api registration. BUG=517773 TEST=None Committed: https://crrev.com/dccc97f4646d4752eddf5c2a48542c794e313403 Cr-Commit-Position: refs/heads/master@{#369346}

Patch Set 1 #

Patch Set 2 : tests. #

Patch Set 3 : change macro for linux platform. #

Patch Set 4 : add tests. #

Total comments: 8

Patch Set 5 : nits. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+99 lines, -1 line) Patch
M tools/json_schema_compiler/cpp_bundle_generator.py View 1 2 1 chunk +1 line, -1 line 0 comments Download
A tools/json_schema_compiler/cpp_bundle_generator_test.py View 1 2 3 4 1 chunk +50 lines, -0 lines 0 comments Download
A tools/json_schema_compiler/test/function_platform_all.json View 1 2 3 4 1 chunk +16 lines, -0 lines 0 comments Download
A tools/json_schema_compiler/test/function_platform_chromeos.json View 1 2 3 4 1 chunk +16 lines, -0 lines 0 comments Download
A tools/json_schema_compiler/test/function_platform_win_linux.json View 1 2 3 4 1 chunk +16 lines, -0 lines 0 comments Download

Messages

Total messages: 27 (10 generated)
Shu Chen
Devlin, can you please review this cl? Thanks
4 years, 11 months ago (2016-01-06 03:47:27 UTC) #2
Devlin
can we add/update a unittest?
4 years, 11 months ago (2016-01-07 22:55:29 UTC) #3
Shu Chen
On 2016/01/07 22:55:29, Devlin wrote: > can we add/update a unittest? Done. Can you please ...
4 years, 11 months ago (2016-01-08 01:25:32 UTC) #4
Devlin
On 2016/01/08 01:25:32, Shu Chen wrote: > On 2016/01/07 22:55:29, Devlin wrote: > > can ...
4 years, 11 months ago (2016-01-11 21:36:05 UTC) #5
Shu Chen
On 2016/01/11 21:36:05, Devlin wrote: > On 2016/01/08 01:25:32, Shu Chen wrote: > > On ...
4 years, 11 months ago (2016-01-12 04:52:37 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1558413002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1558413002/40001
4 years, 11 months ago (2016-01-12 05:08:39 UTC) #9
Shu Chen
Hi Devlin, I've uploaded the new patch. Would you still expect a test for macro ...
4 years, 11 months ago (2016-01-12 05:31:23 UTC) #10
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 11 months ago (2016-01-12 06:25:52 UTC) #12
Devlin
On 2016/01/12 05:31:23, Shu Chen wrote: > Hi Devlin, I've uploaded the new patch. > ...
4 years, 11 months ago (2016-01-13 01:33:48 UTC) #13
Shu Chen
Hi Devlin, I've added the tests. Please take another look. Thanks
4 years, 11 months ago (2016-01-13 07:39:53 UTC) #14
Devlin
awesome! LGTM. https://codereview.chromium.org/1558413002/diff/60001/tools/json_schema_compiler/cpp_bundle_generator_test.py File tools/json_schema_compiler/cpp_bundle_generator_test.py (right): https://codereview.chromium.org/1558413002/diff/60001/tools/json_schema_compiler/cpp_bundle_generator_test.py#newcode2 tools/json_schema_compiler/cpp_bundle_generator_test.py:2: # Copyright (c) 2012 The Chromium Authors. ...
4 years, 11 months ago (2016-01-13 17:54:33 UTC) #15
Shu Chen
https://codereview.chromium.org/1558413002/diff/60001/tools/json_schema_compiler/cpp_bundle_generator_test.py File tools/json_schema_compiler/cpp_bundle_generator_test.py (right): https://codereview.chromium.org/1558413002/diff/60001/tools/json_schema_compiler/cpp_bundle_generator_test.py#newcode2 tools/json_schema_compiler/cpp_bundle_generator_test.py:2: # Copyright (c) 2012 The Chromium Authors. All rights ...
4 years, 11 months ago (2016-01-14 02:39:09 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1558413002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1558413002/80001
4 years, 11 months ago (2016-01-14 02:45:04 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_dbg_recipe on tryserver.chromium.android (JOB_TIMED_OUT, no build URL) android_chromium_gn_compile_dbg on ...
4 years, 11 months ago (2016-01-14 04:50:51 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1558413002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1558413002/80001
4 years, 11 months ago (2016-01-14 05:57:04 UTC) #23
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 11 months ago (2016-01-14 06:13:30 UTC) #25
commit-bot: I haz the power
4 years, 11 months ago (2016-01-14 06:14:27 UTC) #27
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/dccc97f4646d4752eddf5c2a48542c794e313403
Cr-Commit-Position: refs/heads/master@{#369346}

Powered by Google App Engine
This is Rietveld 408576698