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

Issue 24053003: Support partial interface for test support idls (Closed)

Created:
7 years, 3 months ago by kihong
Modified:
7 years, 2 months ago
CC:
blink-reviews, kojih, jsbell+bindings_chromium.org, eae+blinkwatch, abarth-chromium, marja+watch_chromium.org, dglazkov+blink, adamk+blink_chromium.org, Nate Chapin
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Support partial interface for test support idls Add implementation to support partial interface for test support idls. BUG=287635, 261467 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=159635

Patch Set 1 #

Total comments: 6

Patch Set 2 : Use one InterfaceDependencies.txt file #

Total comments: 12

Patch Set 3 : Remove hardcoding #

Total comments: 29

Patch Set 4 : patch #

Total comments: 14

Patch Set 5 : Patch #

Patch Set 6 : Patch #

Total comments: 32

Patch Set 7 : Change namings etc. #

Patch Set 8 : Patch #

Patch Set 9 : patch #

Patch Set 10 : patch #

Unified diffs Side-by-side diffs Delta from patch set Stats (+955 lines, -71 lines) Patch
M Source/bindings/derived_sources.gyp View 1 2 3 4 5 6 7 8 8 chunks +27 lines, -12 lines 0 comments Download
M Source/bindings/scripts/compute_dependencies.py View 1 2 3 4 5 6 8 chunks +84 lines, -51 lines 0 comments Download
A Source/bindings/tests/idls/testing/SupportTestInterface.idl View 1 2 3 4 5 6 7 1 chunk +33 lines, -0 lines 0 comments Download
A Source/bindings/tests/idls/testing/SupportTestPartialInterface.idl View 1 2 3 4 5 6 7 1 chunk +53 lines, -0 lines 0 comments Download
A Source/bindings/tests/results/V8SupportTestInterface.h View 1 2 3 4 5 6 7 1 chunk +151 lines, -0 lines 0 comments Download
A Source/bindings/tests/results/V8SupportTestInterface.cpp View 1 2 3 4 5 6 7 8 1 chunk +573 lines, -0 lines 0 comments Download
A Source/bindings/tests/results/V8SupportTestPartialInterface.h View 1 2 3 4 5 6 1 chunk +6 lines, -0 lines 0 comments Download
A Source/bindings/tests/results/V8SupportTestPartialInterface.cpp View 1 2 3 4 5 6 1 chunk +6 lines, -0 lines 0 comments Download
M Source/core/core.gypi View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -1 line 0 comments Download
M Tools/Scripts/webkitpy/bindings/main.py View 1 2 3 4 6 chunks +19 lines, -7 lines 0 comments Download

Messages

Total messages: 53 (0 generated)
kihong
7 years, 3 months ago (2013-09-09 07:13:03 UTC) #1
do-not-use
https://codereview.chromium.org/24053003/diff/1/Source/bindings/derived_sources.gyp File Source/bindings/derived_sources.gyp (right): https://codereview.chromium.org/24053003/diff/1/Source/bindings/derived_sources.gyp#newcode279 Source/bindings/derived_sources.gyp:279: '--testSupportInterfaceDependenciesFile', It is not clear to me yet why ...
7 years, 3 months ago (2013-09-09 07:27:10 UTC) #2
do-not-use
https://codereview.chromium.org/24053003/diff/1/Source/bindings/derived_sources.gyp File Source/bindings/derived_sources.gyp (right): https://codereview.chromium.org/24053003/diff/1/Source/bindings/derived_sources.gyp#newcode186 Source/bindings/derived_sources.gyp:186: '--test-support-idl-files-list', Nils or haraken likely know better at this ...
7 years, 3 months ago (2013-09-09 07:42:09 UTC) #3
Nils Barth (inactive)
Thanks for the CL Kihong! 1. The general approach of adding a new dependencies file: ...
7 years, 3 months ago (2013-09-10 09:52:09 UTC) #4
kihong
> 2. Per Christophe's excellent suggestion, these should be generated separately, > via two calls ...
7 years, 3 months ago (2013-09-10 11:56:30 UTC) #5
do-not-use
On 2013/09/10 11:56:30, kihong wrote: > > 2. Per Christophe's excellent suggestion, these should be ...
7 years, 3 months ago (2013-09-10 12:21:06 UTC) #6
kihong
Chris > Why do we need to distinguish in the scripts? I understand that we ...
7 years, 3 months ago (2013-09-11 12:49:48 UTC) #7
do-not-use
https://codereview.chromium.org/24053003/diff/11001/Source/core/scripts/action_derivedsourcesallinone.py File Source/core/scripts/action_derivedsourcesallinone.py (right): https://codereview.chromium.org/24053003/diff/11001/Source/core/scripts/action_derivedsourcesallinone.py#newcode205 Source/core/scripts/action_derivedsourcesallinone.py:205: if line.find('testing') != -1: I am not a fan ...
7 years, 3 months ago (2013-09-11 12:54:24 UTC) #8
kihong
On 2013/09/11 12:54:24, Christophe Dumez wrote: > https://codereview.chromium.org/24053003/diff/11001/Source/core/scripts/action_derivedsourcesallinone.py > File Source/core/scripts/action_derivedsourcesallinone.py (right): > > https://codereview.chromium.org/24053003/diff/11001/Source/core/scripts/action_derivedsourcesallinone.py#newcode205 ...
7 years, 3 months ago (2013-09-11 14:58:47 UTC) #9
do-not-use
On 2013/09/11 14:58:47, kihong wrote: > On 2013/09/11 12:54:24, Christophe Dumez wrote: > > > ...
7 years, 3 months ago (2013-09-11 15:04:02 UTC) #10
kihong
On 2013/09/11 15:04:02, Christophe Dumez wrote: > On 2013/09/11 14:58:47, kihong wrote: > > On ...
7 years, 3 months ago (2013-09-11 15:38:55 UTC) #11
Nils Barth (inactive)
On 2013/09/11 15:38:55, kihong wrote: > Nils, > could you tell me how you think ...
7 years, 3 months ago (2013-09-12 03:46:49 UTC) #12
Nils Barth (inactive)
(Minor comments.) https://codereview.chromium.org/24053003/diff/11001/Source/bindings/tests/idls/testing/TestSupportTestInterface.idl File Source/bindings/tests/idls/testing/TestSupportTestInterface.idl (right): https://codereview.chromium.org/24053003/diff/11001/Source/bindings/tests/idls/testing/TestSupportTestInterface.idl#newcode12 Source/bindings/tests/idls/testing/TestSupportTestInterface.idl:12: * documentation and/or other materials provided with ...
7 years, 3 months ago (2013-09-12 03:47:17 UTC) #13
kihong
I changed patch which is adopted comments of nils and chris. https://codereview.chromium.org/24053003/diff/11001/Source/bindings/tests/idls/testing/TestSupportTestInterface.idl File Source/bindings/tests/idls/testing/TestSupportTestInterface.idl (right): ...
7 years, 3 months ago (2013-09-14 04:14:42 UTC) #14
Nils Barth (inactive)
Thanks Kihong, looks quite good! Main comment is that handling of the two types of ...
7 years, 3 months ago (2013-09-17 02:23:35 UTC) #15
haraken
Chatted with nbarth. Overall, the approach looks good. I have a couple of renaming suggestions. ...
7 years, 3 months ago (2013-09-17 03:36:51 UTC) #16
haraken
https://codereview.chromium.org/24053003/diff/7001/Source/bindings/tests/idls/testing/TestSupportTestInterface.idl File Source/bindings/tests/idls/testing/TestSupportTestInterface.idl (right): https://codereview.chromium.org/24053003/diff/7001/Source/bindings/tests/idls/testing/TestSupportTestInterface.idl#newcode32 Source/bindings/tests/idls/testing/TestSupportTestInterface.idl:32: ] interface TestSupportTestInterface { TestSupportTestInterface => NonCoreTestInterface
7 years, 3 months ago (2013-09-17 03:44:29 UTC) #17
Nils Barth (inactive)
Some followups per haraken's naming suggestions (As he notes, this isn't just for testing, so ...
7 years, 3 months ago (2013-09-17 05:17:45 UTC) #18
kihong
https://codereview.chromium.org/24053003/diff/7001/Source/bindings/scripts/compute_dependencies.py File Source/bindings/scripts/compute_dependencies.py (right): https://codereview.chromium.org/24053003/diff/7001/Source/bindings/scripts/compute_dependencies.py#newcode52 Source/bindings/scripts/compute_dependencies.py:52: parser.add_option('--testing-idl-files-list', help='file listing all IDLs') On 2013/09/17 05:17:46, Nils ...
7 years, 3 months ago (2013-09-17 06:33:03 UTC) #19
haraken
https://codereview.chromium.org/24053003/diff/7001/Source/bindings/scripts/compute_dependencies.py File Source/bindings/scripts/compute_dependencies.py (right): https://codereview.chromium.org/24053003/diff/7001/Source/bindings/scripts/compute_dependencies.py#newcode52 Source/bindings/scripts/compute_dependencies.py:52: parser.add_option('--testing-idl-files-list', help='file listing all IDLs') On 2013/09/17 06:33:04, kihong ...
7 years, 3 months ago (2013-09-17 06:42:06 UTC) #20
Nils Barth (inactive)
https://codereview.chromium.org/24053003/diff/7001/Source/bindings/scripts/compute_dependencies.py File Source/bindings/scripts/compute_dependencies.py (right): https://codereview.chromium.org/24053003/diff/7001/Source/bindings/scripts/compute_dependencies.py#newcode52 Source/bindings/scripts/compute_dependencies.py:52: parser.add_option('--testing-idl-files-list', help='file listing all IDLs') On 2013/09/17 06:42:06, haraken ...
7 years, 3 months ago (2013-09-17 06:47:14 UTC) #21
haraken
On 2013/09/17 06:47:14, Nils Barth wrote: > > If you don't like core-idl-files/noncore-idl-files (because of ...
7 years, 3 months ago (2013-09-17 06:49:22 UTC) #22
kihong
On 2013/09/17 06:49:22, haraken wrote: > On 2013/09/17 06:47:14, Nils Barth wrote: > > > ...
7 years, 3 months ago (2013-09-17 07:29:50 UTC) #23
kihong
https://codereview.chromium.org/24053003/diff/7001/Source/bindings/derived_sources.gyp File Source/bindings/derived_sources.gyp (right): https://codereview.chromium.org/24053003/diff/7001/Source/bindings/derived_sources.gyp#newcode173 Source/bindings/derived_sources.gyp:173: '<(SHARED_INTERMEDIATE_DIR)/blink/BindingDeriveDsources.txt', On 2013/09/17 02:23:35, Nils Barth wrote: > Could ...
7 years, 2 months ago (2013-10-04 06:11:38 UTC) #24
Nils Barth (inactive)
Thanks for revisions! Some style nits, but otherwise LGTM! I'm not an OWNER, so Chris, ...
7 years, 2 months ago (2013-10-08 02:11:17 UTC) #25
kihong
Nils, I fixed whole your comments. Thanks :) https://codereview.chromium.org/24053003/diff/39001/Source/bindings/scripts/compute_dependencies.py File Source/bindings/scripts/compute_dependencies.py (right): https://codereview.chromium.org/24053003/diff/39001/Source/bindings/scripts/compute_dependencies.py#newcode51 Source/bindings/scripts/compute_dependencies.py:51: parser.add_option('--main-idl-files-list', ...
7 years, 2 months ago (2013-10-10 04:33:56 UTC) #26
Nils Barth (inactive)
Thanks Kihong, looks great! BTW, one file has moved (in a different CL): Source/core/scripts/action_derivedsourcesallinone.py ...is ...
7 years, 2 months ago (2013-10-10 04:42:12 UTC) #27
kihong
On 2013/10/10 04:42:12, Nils Barth wrote: > Thanks Kihong, looks great! > > BTW, one ...
7 years, 2 months ago (2013-10-10 05:01:37 UTC) #28
kihong
On 2013/10/10 05:01:37, kihong wrote: > On 2013/10/10 04:42:12, Nils Barth wrote: > > Thanks ...
7 years, 2 months ago (2013-10-10 05:15:44 UTC) #29
Nils Barth (inactive)
Ok, looks fine. Added Source/build owners (Adam, Eric): could you PTAL? (Build and bindings changes ...
7 years, 2 months ago (2013-10-10 05:19:26 UTC) #30
eseidel
lgtm src/build needs OWNERS=*.
7 years, 2 months ago (2013-10-10 05:36:26 UTC) #31
Nils Barth (inactive)
On 2013/10/10 05:36:26, eseidel wrote: > src/build needs OWNERS=*. That can be arranged: Add OWNERS=* ...
7 years, 2 months ago (2013-10-10 05:45:39 UTC) #32
haraken
https://codereview.chromium.org/24053003/diff/51001/Source/bindings/derived_sources.gyp File Source/bindings/derived_sources.gyp (right): https://codereview.chromium.org/24053003/diff/51001/Source/bindings/derived_sources.gyp#newcode40 Source/bindings/derived_sources.gyp:40: 'main_idl_files': [ Nit: Actually, "main" and "support" are not ...
7 years, 2 months ago (2013-10-10 05:57:50 UTC) #33
Nils Barth (inactive)
https://codereview.chromium.org/24053003/diff/51001/Tools/Scripts/webkitpy/bindings/main.py File Tools/Scripts/webkitpy/bindings/main.py (right): https://codereview.chromium.org/24053003/diff/51001/Tools/Scripts/webkitpy/bindings/main.py#newcode166 Tools/Scripts/webkitpy/bindings/main.py:166: '--bindings-derived-sources-file', self.derived_sources_list_filename, On 2013/10/10 05:57:51, haraken wrote: > We ...
7 years, 2 months ago (2013-10-10 06:02:14 UTC) #34
eseidel
Sorry, my previous lgtm was more about it being OK to change build/ than that ...
7 years, 2 months ago (2013-10-10 06:08:36 UTC) #35
haraken
https://codereview.chromium.org/24053003/diff/51001/Tools/Scripts/webkitpy/bindings/main.py File Tools/Scripts/webkitpy/bindings/main.py (right): https://codereview.chromium.org/24053003/diff/51001/Tools/Scripts/webkitpy/bindings/main.py#newcode166 Tools/Scripts/webkitpy/bindings/main.py:166: '--bindings-derived-sources-file', self.derived_sources_list_filename, On 2013/10/10 06:02:14, Nils Barth wrote: > ...
7 years, 2 months ago (2013-10-10 06:13:23 UTC) #36
Nils Barth (inactive)
https://codereview.chromium.org/24053003/diff/51001/Source/build/scripts/action_derivedsourcesallinone.py File Source/build/scripts/action_derivedsourcesallinone.py (right): https://codereview.chromium.org/24053003/diff/51001/Source/build/scripts/action_derivedsourcesallinone.py#newcode203 Source/build/scripts/action_derivedsourcesallinone.py:203: with open(inputFileName) as inputFile: On 2013/10/10 06:08:37, eseidel wrote: ...
7 years, 2 months ago (2013-10-10 06:17:34 UTC) #37
eseidel
Yeah, sorry for the nit-spray. :) Just more python cleanup to add to the list. ...
7 years, 2 months ago (2013-10-10 06:18:41 UTC) #38
Nils Barth (inactive)
https://codereview.chromium.org/24053003/diff/51001/Tools/Scripts/webkitpy/bindings/main.py File Tools/Scripts/webkitpy/bindings/main.py (right): https://codereview.chromium.org/24053003/diff/51001/Tools/Scripts/webkitpy/bindings/main.py#newcode166 Tools/Scripts/webkitpy/bindings/main.py:166: '--bindings-derived-sources-file', self.derived_sources_list_filename, On 2013/10/10 06:13:24, haraken wrote: > I ...
7 years, 2 months ago (2013-10-10 06:22:51 UTC) #39
Nils Barth (inactive)
Replies to Eric's comments. Kihong, I've fixed the Python style in action_derivedsourcesallinone.py in a separate ...
7 years, 2 months ago (2013-10-10 08:51:01 UTC) #40
kihong
On 2013/10/10 08:51:01, Nils Barth wrote: > Replies to Eric's comments. > Kihong, I've fixed ...
7 years, 2 months ago (2013-10-11 01:21:18 UTC) #41
kihong
I will add "--no-find-copies" for landing. :) https://codereview.chromium.org/24053003/diff/51001/Source/bindings/derived_sources.gyp File Source/bindings/derived_sources.gyp (right): https://codereview.chromium.org/24053003/diff/51001/Source/bindings/derived_sources.gyp#newcode46 Source/bindings/derived_sources.gyp:46: '<@(webcore_test_support_idl_files)', On ...
7 years, 2 months ago (2013-10-12 05:43:12 UTC) #42
haraken
LGTM. Thanks for the iterative work!
7 years, 2 months ago (2013-10-15 00:21:49 UTC) #43
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kihong.kwon@samsung.com/24053003/77001
7 years, 2 months ago (2013-10-15 01:19:42 UTC) #44
commit-bot: I haz the power
Failed to apply patch for Source/bindings/derived_sources.gyp: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 2 months ago (2013-10-15 01:19:46 UTC) #45
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kihong.kwon@samsung.com/24053003/77001
7 years, 2 months ago (2013-10-15 01:20:26 UTC) #46
commit-bot: I haz the power
Failed to apply patch for Source/bindings/derived_sources.gyp: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 2 months ago (2013-10-15 01:20:31 UTC) #47
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kihong.kwon@samsung.com/24053003/87001
7 years, 2 months ago (2013-10-15 02:02:52 UTC) #48
commit-bot: I haz the power
Change committed as 159635
7 years, 2 months ago (2013-10-15 03:10:46 UTC) #49
Nico
It looks like this reverted https://codereview.chromium.org/26980003/ . Was that intentional?
7 years, 2 months ago (2013-10-17 22:49:31 UTC) #50
Nils Barth (inactive)
On 2013/10/17 22:49:31, Nico wrote: > It looks like this reverted https://codereview.chromium.org/26980003/ . Was that ...
7 years, 2 months ago (2013-10-18 00:58:14 UTC) #51
kihong
On 2013/10/18 00:58:14, Nils Barth wrote: > On 2013/10/17 22:49:31, Nico wrote: > > It ...
7 years, 2 months ago (2013-10-18 01:27:15 UTC) #52
Nils Barth (inactive)
7 years, 2 months ago (2013-10-18 01:38:47 UTC) #53
Message was sent while issue was closed.
On 2013/10/18 01:27:15, kihong wrote:
> I'm sorry for making this mistake.
> I should have been to take a look at that more detail.
> And thank you very much Nils.

n/p, nothing serious this time!

Powered by Google App Engine
This is Rietveld 408576698