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

Issue 2184733002: [inspector] add inspector protocol parser test build target. (Closed)

Created:
4 years, 4 months ago by Yang
Modified:
4 years, 4 months ago
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[inspector] add inspector protocol parser test build target for GYP. This adds the build target inspector_protocol_parser_test, which depends on several more inspector protocol related targets. The resulting gtest executable runs, but has failures that have to be fixed. GN build configuration will follow. A copy of v8-inspector/js_protocol.json has been included to be able to use it before the actual migration. BUG=chromium:580337 Committed: https://crrev.com/f7fa02f8b288c8b003a556184d4c5ed2d9f53116 Cr-Commit-Position: refs/heads/master@{#38111}

Patch Set 1 #

Patch Set 2 : add missing file #

Total comments: 7

Patch Set 3 : addressed comments, removed markupsafe #

Total comments: 4

Patch Set 4 : addressed comments #

Patch Set 5 : add BUILD.gn #

Patch Set 6 : fix path #

Patch Set 7 : fix paths #

Patch Set 8 : use separate build file for test #

Total comments: 5

Patch Set 9 : address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1265 lines, -4 lines) Patch
M .gitignore View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M DEPS View 1 2 3 4 5 6 7 1 chunk +6 lines, -2 lines 0 comments Download
M gypfiles/all.gyp View 1 2 3 4 5 6 7 1 chunk +2 lines, -1 line 0 comments Download
M gypfiles/standalone.gypi View 1 chunk +3 lines, -0 lines 0 comments Download
A src/inspector/BUILD.gn View 1 2 3 4 5 6 7 8 1 chunk +91 lines, -0 lines 0 comments Download
A src/inspector/inspector.gyp View 1 2 3 4 5 6 7 8 1 chunk +100 lines, -0 lines 0 comments Download
A src/inspector/js_protocol.json View 1 2 1 chunk +990 lines, -0 lines 0 comments Download
M test/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
A test/inspector_protocol_parser_test/BUILD.gn View 1 2 3 4 5 6 7 8 1 chunk +21 lines, -0 lines 0 comments Download
A + test/inspector_protocol_parser_test/DEPS View 1 2 3 4 5 6 7 1 chunk +0 lines, -1 line 0 comments Download
A test/inspector_protocol_parser_test/RunTests.cpp View 1 2 3 4 5 6 7 1 chunk +17 lines, -0 lines 0 comments Download
A test/inspector_protocol_parser_test/inspector_protocol_parser_test.gyp View 1 2 3 4 5 6 7 1 chunk +29 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 46 (25 generated)
Yang
Please take a look. I'm still unsure about where to place the new files, so ...
4 years, 4 months ago (2016-07-26 13:28:17 UTC) #6
Michael Achenbach
copying markupsafe for now lg https://codereview.chromium.org/2184733002/diff/20001/src/v8-inspector/inspector.gyp File src/v8-inspector/inspector.gyp (right): https://codereview.chromium.org/2184733002/diff/20001/src/v8-inspector/inspector.gyp#newcode4 src/v8-inspector/inspector.gyp:4: Reviewed gyp consistency. Somebody ...
4 years, 4 months ago (2016-07-26 14:27:45 UTC) #7
Yang
Removed markupsafe check in since we now have a git mirror to DEPS from. https://codereview.chromium.org/2184733002/diff/20001/src/v8-inspector/inspector.gyp ...
4 years, 4 months ago (2016-07-27 06:42:25 UTC) #8
Michael Achenbach
lgtm ~ comments https://codereview.chromium.org/2184733002/diff/40001/DEPS File DEPS (right): https://codereview.chromium.org/2184733002/diff/40001/DEPS#newcode21 DEPS:21: Var("git_url") + "/chromium/src/third_party/WebKit/Source/platform/inspector_protocol.git" + "@" + ...
4 years, 4 months ago (2016-07-27 06:49:04 UTC) #11
Yang
https://codereview.chromium.org/2184733002/diff/40001/DEPS File DEPS (right): https://codereview.chromium.org/2184733002/diff/40001/DEPS#newcode21 DEPS:21: Var("git_url") + "/chromium/src/third_party/WebKit/Source/platform/inspector_protocol.git" + "@" + "35e3f59ad05d994f163e82f9e644f18f9e708fec", On 2016/07/27 ...
4 years, 4 months ago (2016-07-27 07:14:39 UTC) #12
jochen (gone - plz use gerrit)
won't you have to teach run-tests.py about how to run the tests? why no isolate ...
4 years, 4 months ago (2016-07-27 07:18:24 UTC) #15
Michael Achenbach
On 2016/07/27 07:18:24, jochen wrote: > won't you have to teach run-tests.py about how to ...
4 years, 4 months ago (2016-07-27 07:31:52 UTC) #16
Michael Achenbach
Btw: Please update the CL desc regarding markupsafe
4 years, 4 months ago (2016-07-27 07:32:42 UTC) #17
Yang
On 2016/07/27 07:32:42, Michael Achenbach (slow) wrote: > Btw: Please update the CL desc regarding ...
4 years, 4 months ago (2016-07-27 07:40:20 UTC) #21
jochen (gone - plz use gerrit)
can we please at least include gn rules? I'd rather not have gn and gyp ...
4 years, 4 months ago (2016-07-27 07:58:07 UTC) #22
Yang
On 2016/07/27 07:58:07, jochen wrote: > can we please at least include gn rules? > ...
4 years, 4 months ago (2016-07-27 08:00:25 UTC) #23
Yang
On 2016/07/27 08:00:25, Yang wrote: > On 2016/07/27 07:58:07, jochen wrote: > > can we ...
4 years, 4 months ago (2016-07-27 10:41:42 UTC) #24
jochen (gone - plz use gerrit)
lgtm
4 years, 4 months ago (2016-07-27 10:44:28 UTC) #27
Michael Achenbach
Please add the target also to gn_all in the toplevel BUILD.gn so that it is ...
4 years, 4 months ago (2016-07-27 11:38:31 UTC) #30
Yang
On 2016/07/27 11:38:31, Michael Achenbach (slow) wrote: > Please add the target also to gn_all ...
4 years, 4 months ago (2016-07-27 12:06:59 UTC) #31
Michael Achenbach
https://codereview.chromium.org/2184733002/diff/140001/src/inspector/BUILD.gn File src/inspector/BUILD.gn (right): https://codereview.chromium.org/2184733002/diff/140001/src/inspector/BUILD.gn#newcode25 src/inspector/BUILD.gn:25: output_file = "$target_gen_dir/protocol.json" Who reads the output_file? The action ...
4 years, 4 months ago (2016-07-27 13:09:40 UTC) #36
Yang
https://codereview.chromium.org/2184733002/diff/140001/src/inspector/BUILD.gn File src/inspector/BUILD.gn (right): https://codereview.chromium.org/2184733002/diff/140001/src/inspector/BUILD.gn#newcode25 src/inspector/BUILD.gn:25: output_file = "$target_gen_dir/protocol.json" On 2016/07/27 13:09:40, Michael Achenbach (slow) ...
4 years, 4 months ago (2016-07-27 13:15:14 UTC) #37
Michael Achenbach
lgtm https://codereview.chromium.org/2184733002/diff/140001/src/inspector/BUILD.gn File src/inspector/BUILD.gn (right): https://codereview.chromium.org/2184733002/diff/140001/src/inspector/BUILD.gn#newcode25 src/inspector/BUILD.gn:25: output_file = "$target_gen_dir/protocol.json" On 2016/07/27 13:15:14, Yang wrote: ...
4 years, 4 months ago (2016-07-27 14:16:25 UTC) #38
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/2184733002/30023
4 years, 4 months ago (2016-07-28 06:30:43 UTC) #41
commit-bot: I haz the power
Committed patchset #9 (id:30023)
4 years, 4 months ago (2016-07-28 06:53:54 UTC) #43
commit-bot: I haz the power
4 years, 4 months ago (2016-07-28 06:57:16 UTC) #45
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/f7fa02f8b288c8b003a556184d4c5ed2d9f53116
Cr-Commit-Position: refs/heads/master@{#38111}

Powered by Google App Engine
This is Rietveld 408576698