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

Issue 1804303004: 🚙 GN: Add write_runtime_deps variable (Closed)

Created:
4 years, 9 months ago by agrieve
Modified:
4 years, 8 months ago
Reviewers:
Dirk Pranke, brettw
CC:
chromium-reviews, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

GN: Add write_runtime_deps variable Allows targets to use runtime_deps at build-time. BUG=593416 Committed: https://crrev.com/0f8ad42ac1a6b159655c51bf7095ff2d21ae540f Cr-Commit-Position: refs/heads/master@{#384411}

Patch Set 1 #

Patch Set 2 : function -> variable #

Total comments: 6

Patch Set 3 : review comments 1 #

Total comments: 2

Patch Set 4 : remove {}s #

Unified diffs Side-by-side diffs Delta from patch set Stats (+289 lines, -60 lines) Patch
M tools/gn/BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download
A tools/gn/group_target_generator_unittest.cc View 1 2 1 chunk +46 lines, -0 lines 0 comments Download
M tools/gn/runtime_deps.cc View 1 4 chunks +73 lines, -53 lines 0 comments Download
M tools/gn/scheduler.h View 1 3 chunks +9 lines, -0 lines 0 comments Download
M tools/gn/scheduler.cc View 1 2 2 chunks +23 lines, -0 lines 0 comments Download
M tools/gn/target.h View 1 2 chunks +8 lines, -0 lines 0 comments Download
M tools/gn/target.cc View 1 2 3 5 chunks +29 lines, -7 lines 0 comments Download
M tools/gn/target_generator.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M tools/gn/target_generator.cc View 1 2 chunks +23 lines, -0 lines 0 comments Download
M tools/gn/target_unittest.cc View 1 2 1 chunk +47 lines, -0 lines 0 comments Download
M tools/gn/variables.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M tools/gn/variables.cc View 1 2 2 chunks +25 lines, -0 lines 0 comments Download

Messages

Total messages: 42 (9 generated)
agrieve
ptal
4 years, 9 months ago (2016-03-16 18:50:44 UTC) #2
brettw
When I was thinking about this, I was thinking this would be an attribute on ...
4 years, 9 months ago (2016-03-16 23:03:36 UTC) #3
agrieve
On 2016/03/16 23:03:36, brettw wrote: > When I was thinking about this, I was thinking ...
4 years, 9 months ago (2016-03-17 00:51:46 UTC) #4
agrieve
On 2016/03/17 00:51:46, agrieve wrote: > On 2016/03/16 23:03:36, brettw wrote: > > When I ...
4 years, 9 months ago (2016-03-17 13:56:34 UTC) #5
brettw
On 2016/03/17 13:56:34, agrieve wrote: > After sleeping on it, I feel even more strongly ...
4 years, 9 months ago (2016-03-17 20:39:44 UTC) #6
agrieve
On 2016/03/17 20:39:44, brettw wrote: > On 2016/03/17 13:56:34, agrieve wrote: > > After sleeping ...
4 years, 9 months ago (2016-03-18 02:19:31 UTC) #7
agrieve
On 2016/03/18 02:19:31, agrieve wrote: > On 2016/03/17 20:39:44, brettw wrote: > > On 2016/03/17 ...
4 years, 9 months ago (2016-03-18 23:56:40 UTC) #8
Dirk Pranke
It seems like there's two main uses for this sort of functionality so far: 1) ...
4 years, 9 months ago (2016-03-19 01:27:03 UTC) #9
brettw
On 2016/03/19 01:27:03, Dirk Pranke wrote: > It seems like there's two main uses for ...
4 years, 9 months ago (2016-03-21 23:35:50 UTC) #10
agrieve
On 2016/03/21 23:35:50, brettw wrote: > On 2016/03/19 01:27:03, Dirk Pranke wrote: > > It ...
4 years, 9 months ago (2016-03-22 00:45:46 UTC) #11
brettw
On 2016/03/22 00:45:46, agrieve wrote: > These script targets are named "${_test_name}__test_runner_script", so it's > ...
4 years, 9 months ago (2016-03-22 18:05:03 UTC) #12
agrieve
On 2016/03/22 18:05:03, brettw wrote: > On 2016/03/22 00:45:46, agrieve wrote: > > These script ...
4 years, 9 months ago (2016-03-22 19:14:36 UTC) #13
brettw
> The android rules are full of example like this Just so you know where ...
4 years, 9 months ago (2016-03-22 21:05:03 UTC) #14
brettw
On 2016/03/22 21:05:03, brettw wrote: > > The android rules are full of example like ...
4 years, 9 months ago (2016-03-22 21:25:25 UTC) #15
agrieve
On 2016/03/22 21:25:25, brettw wrote: > On 2016/03/22 21:05:03, brettw wrote: > > > The ...
4 years, 9 months ago (2016-03-22 21:35:07 UTC) #16
agrieve
On 2016/03/22 21:35:07, agrieve wrote: > On 2016/03/22 21:25:25, brettw wrote: > > On 2016/03/22 ...
4 years, 9 months ago (2016-03-25 01:32:50 UTC) #17
brettw
Sorry for the delay, I haven't forgotten!
4 years, 8 months ago (2016-03-28 22:47:28 UTC) #19
brettw
https://codereview.chromium.org/1804303004/diff/20001/tools/gn/scheduler.cc File tools/gn/scheduler.cc (right): https://codereview.chromium.org/1804303004/diff/20001/tools/gn/scheduler.cc#newcode163 tools/gn/scheduler.cc:163: const { const can be on previous line. https://codereview.chromium.org/1804303004/diff/20001/tools/gn/scheduler.cc#newcode171 ...
4 years, 8 months ago (2016-03-28 23:06:35 UTC) #20
agrieve
Also added a test that somehow got left off the last time. https://codereview.chromium.org/1804303004/diff/20001/tools/gn/scheduler.cc File tools/gn/scheduler.cc ...
4 years, 8 months ago (2016-03-29 16:14:01 UTC) #21
brettw
Sorry to come back on this again, I was really hoping to be done (and ...
4 years, 8 months ago (2016-03-30 00:03:52 UTC) #23
agrieve
On 2016/03/30 00:03:52, brettw wrote: > Sorry to come back on this again, I was ...
4 years, 8 months ago (2016-03-30 14:48:24 UTC) #24
brettw
On 2016/03/30 14:48:24, agrieve wrote: > Would changing it to deps fix their race condition? ...
4 years, 8 months ago (2016-03-30 23:44:40 UTC) #25
agrieve
On 2016/03/30 23:44:40, brettw wrote: > On 2016/03/30 14:48:24, agrieve wrote: > > Would changing ...
4 years, 8 months ago (2016-03-31 00:00:18 UTC) #26
brettw
On 2016/03/31 00:00:18, agrieve wrote: > What's in a write_runfiles_file is the list of data ...
4 years, 8 months ago (2016-03-31 17:35:14 UTC) #27
brettw
LGTM https://codereview.chromium.org/1804303004/diff/40001/tools/gn/target.cc File tools/gn/target.cc (right): https://codereview.chromium.org/1804303004/diff/40001/tools/gn/target.cc#newcode100 tools/gn/target.cc:100: if (file == target->write_runtime_deps_output()) { No {}
4 years, 8 months ago (2016-03-31 17:35:25 UTC) #28
Dirk Pranke
agrieve@, if you go ahead and land this I'll do a roll to bring it ...
4 years, 8 months ago (2016-03-31 20:58:44 UTC) #29
agrieve
https://codereview.chromium.org/1804303004/diff/40001/tools/gn/target.cc File tools/gn/target.cc (right): https://codereview.chromium.org/1804303004/diff/40001/tools/gn/target.cc#newcode100 tools/gn/target.cc:100: if (file == target->write_runtime_deps_output()) { On 2016/03/31 17:35:25, brettw ...
4 years, 8 months ago (2016-03-31 21:08:33 UTC) #30
agrieve
On 2016/03/31 20:58:44, Dirk Pranke wrote: > agrieve@, if you go ahead and land this ...
4 years, 8 months ago (2016-03-31 21:09:05 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1804303004/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1804303004/60001
4 years, 8 months ago (2016-03-31 21:10:04 UTC) #34
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/189187)
4 years, 8 months ago (2016-03-31 21:20:04 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1804303004/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1804303004/60001
4 years, 8 months ago (2016-03-31 21:46:58 UTC) #38
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 8 months ago (2016-03-31 22:00:17 UTC) #40
commit-bot: I haz the power
4 years, 8 months ago (2016-03-31 22:03:27 UTC) #42
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/0f8ad42ac1a6b159655c51bf7095ff2d21ae540f
Cr-Commit-Position: refs/heads/master@{#384411}

Powered by Google App Engine
This is Rietveld 408576698