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

Issue 1920793002: [build] Prepare moving v8.gyp to src/ (Closed)

Created:
4 years, 8 months ago by Michael Achenbach
Modified:
4 years, 7 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

[build] Prepare moving v8.gyp to src/ This will allow to pull in gyp as a deps to the same location as chromium (tools/gyp not build/gyp), needed for gn switch. This is the first step of a 3-way move. 1) Copy v8.gyp in v8 2) Update references in embedders (follow up) 3) Remove old v8.gyp (follow up) BUG=chromium:474921 LOG=n NOTRY=true Committed: https://crrev.com/cb855fe7288f8c440ab12e1aa4f0256e4df9e7e4 Cr-Commit-Position: refs/heads/master@{#35760}

Patch Set 1 #

Patch Set 2 : Update references #

Patch Set 3 : Delete original gyp file #

Patch Set 4 : Fixes #

Patch Set 5 : Fixes #

Patch Set 6 : Keep old v8.gyp #

Patch Set 7 : Better base files. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1330 lines, -1322 lines) Patch
M Makefile View 1 1 chunk +1 line, -1 line 0 comments Download
M WATCHLISTS View 2 chunks +7 lines, -1 line 0 comments Download
M samples/samples.gyp View 1 1 chunk +2 lines, -2 lines 0 comments Download
M src/d8.gyp View 1 1 chunk +2 lines, -2 lines 0 comments Download
M src/third_party/vtune/v8vtune.gyp View 1 1 chunk +1 line, -1 line 0 comments Download
A + src/v8.gyp View 1 2 3 4 5 6 36 chunks +1298 lines, -1298 lines 0 comments Download
M test/cctest/cctest.gyp View 1 3 chunks +6 lines, -6 lines 0 comments Download
M test/fuzzer/fuzzer.gyp View 1 2 3 2 chunks +3 lines, -3 lines 0 comments Download
M test/unittests/unittests.gyp View 1 2 chunks +3 lines, -3 lines 0 comments Download
M tools/gcmole/gcmole.lua View 1 1 chunk +1 line, -1 line 0 comments Download
M tools/gcmole/run-gcmole.isolate View 1 1 chunk +0 lines, -1 line 0 comments Download
A + tools/gyp/OWNERS View 1 2 3 4 5 6 1 chunk +3 lines, -0 lines 0 comments Download
M tools/parser-shell.gyp View 1 1 chunk +2 lines, -2 lines 0 comments Download
M tools/verify_source_deps.py View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 44 (19 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1920793002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1920793002/40001
4 years, 8 months ago (2016-04-25 09:39:11 UTC) #2
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_android_arm_compile_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_android_arm_compile_rel/builds/16694) v8_linux64_avx2_rel_ng on ...
4 years, 8 months ago (2016-04-25 09:40:42 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1920793002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1920793002/60001
4 years, 8 months ago (2016-04-25 09:44:52 UTC) #6
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_android_arm_compile_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_android_arm_compile_rel/builds/16695) v8_linux64_asan_rel_ng on ...
4 years, 8 months ago (2016-04-25 09:46:43 UTC) #9
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1920793002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1920793002/80001
4 years, 8 months ago (2016-04-25 09:52:42 UTC) #11
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1920793002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1920793002/100001
4 years, 8 months ago (2016-04-25 10:20:03 UTC) #15
Michael Achenbach
PTAL. Patch 5 shows that everything passes with the old v8.gyp removed. Patch 6 keeps ...
4 years, 8 months ago (2016-04-25 10:21:16 UTC) #16
Michael Achenbach
FYI: I'll also send a PSA around when this lands.
4 years, 8 months ago (2016-04-25 10:24:22 UTC) #17
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-25 10:37:52 UTC) #19
Jakob Kummerow
LGTM (). The CL description should probably be updated to "Move v8.gyp to src/".
4 years, 8 months ago (2016-04-25 11:21:11 UTC) #20
Michael Achenbach
On 2016/04/25 11:21:11, Jakob wrote: > LGTM (). > > The CL description should probably ...
4 years, 8 months ago (2016-04-25 11:23:34 UTC) #22
jochen (gone - plz use gerrit)
can you make sure that it's actually a file move for git (the v8.gyp) one, ...
4 years, 8 months ago (2016-04-25 11:30:20 UTC) #23
jochen (gone - plz use gerrit)
because now it looks like "A src/v8.gyp" and not "A+ src/v8.gyp"
4 years, 8 months ago (2016-04-25 11:30:47 UTC) #24
Michael Achenbach
How about patch 7? It's still not perfect, especially in the beginning of the file, ...
4 years, 8 months ago (2016-04-25 11:46:41 UTC) #25
jochen (gone - plz use gerrit)
lgtm
4 years, 8 months ago (2016-04-25 11:51:55 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1920793002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1920793002/120001
4 years, 8 months ago (2016-04-25 12:10:28 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1920793002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1920793002/120001
4 years, 8 months ago (2016-04-25 12:17:36 UTC) #33
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 8 months ago (2016-04-25 12:19:37 UTC) #35
commit-bot: I haz the power
Patchset 7 (id:??) landed as https://crrev.com/cb855fe7288f8c440ab12e1aa4f0256e4df9e7e4 Cr-Commit-Position: refs/heads/master@{#35760}
4 years, 8 months ago (2016-04-25 12:20:35 UTC) #37
Nico
I think this broke the world (silently). https://build.chromium.org/p/chromium.memory/builders/Linux%20Chromium%20OS%20ASan%20LSan%20Builder/builds/23670/steps/compile/logs/stdio e.g. has lots of ninja: warning: multiple ...
4 years, 8 months ago (2016-04-25 21:05:26 UTC) #39
adamk
On 2016/04/25 21:05:26, Nico wrote: > I think this broke the world (silently). > https://build.chromium.org/p/chromium.memory/builders/Linux%20Chromium%20OS%20ASan%20LSan%20Builder/builds/23670/steps/compile/logs/stdio ...
4 years, 8 months ago (2016-04-25 23:28:43 UTC) #40
Michael Achenbach
On 2016/04/25 23:28:43, adamk wrote: > On 2016/04/25 21:05:26, Nico wrote: > > I think ...
4 years, 8 months ago (2016-04-26 07:25:06 UTC) #41
Michael Achenbach
On 2016/04/25 23:28:43, adamk wrote: > On 2016/04/25 21:05:26, Nico wrote: > > I think ...
4 years, 8 months ago (2016-04-26 08:52:38 UTC) #42
Nico
On 2016/04/26 07:25:06, Michael Achenbach wrote: > On 2016/04/25 23:28:43, adamk wrote: > > On ...
4 years, 8 months ago (2016-04-26 13:44:04 UTC) #43
Michael Achenbach
4 years, 8 months ago (2016-04-26 13:51:47 UTC) #44
Message was sent while issue was closed.
> In practice, the warning is benign only if both build commands for the same
file
> are identical (and only because ninja nowadays is careful to not end up with a
> broken build graph like it did earlier in these cases). It's up to the
generator
> (gyp) to decide if it wants to be strict about duplicate edges or if it wants
to
> allow duplicate edges if build commands are equal -- gyp just doesn't handle
> this at all and passes through everything, which means gyp can produce ninja
> files that are broken. I think the right way to roll this out would've been to
> change gyp to omit duplicate .o edges if they have the same build command, and
> then land this.
> 

OK. "would've". Now the fixes landed already and we might never do this again ;)

But thanks for the explanation!

Powered by Google App Engine
This is Rietveld 408576698