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

Issue 1892243002: Write a phony target for the top-level directory of a create_bundle target. (Closed)

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

Description

Write a phony target for the top-level directory of a create_bundle target. This is needed so that if a create_bundle is used as a bundle_data in another bundle, the dependent bundle can be specified as a sources. BUG=297668 R=brettw@chromium.org Committed: https://crrev.com/a23feb50e97c016318d5a859609f8f6a139f0ed5 Cr-Commit-Position: refs/heads/master@{#389101}

Patch Set 1 #

Total comments: 12

Patch Set 2 : build_dir #

Patch Set 3 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+92 lines, -3 lines) Patch
M tools/gn/bundle_data.h View 1 2 1 chunk +12 lines, -0 lines 0 comments Download
M tools/gn/bundle_data.cc View 1 2 3 chunks +19 lines, -0 lines 0 comments Download
M tools/gn/ninja_create_bundle_target_writer.cc View 1 2 1 chunk +11 lines, -0 lines 0 comments Download
M tools/gn/ninja_create_bundle_target_writer_unittest.cc View 3 chunks +50 lines, -3 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 20 (6 generated)
Robert Sesek
4 years, 8 months ago (2016-04-15 21:19:35 UTC) #2
Dirk Pranke
I'm a bit confused by this change. I can see that you're creating a 'bar.bundle' ...
4 years, 8 months ago (2016-04-15 22:05:01 UTC) #4
Robert Sesek
On 2016/04/15 22:05:01, Dirk Pranke wrote: > I'm a bit confused by this change. I ...
4 years, 8 months ago (2016-04-15 22:14:35 UTC) #5
Dirk Pranke
On 2016/04/15 22:14:35, Robert Sesek wrote: > On 2016/04/15 22:05:01, Dirk Pranke wrote: > > ...
4 years, 8 months ago (2016-04-15 22:29:31 UTC) #6
Robert Sesek
On 2016/04/15 22:29:31, Dirk Pranke wrote: > On 2016/04/15 22:14:35, Robert Sesek wrote: > > ...
4 years, 8 months ago (2016-04-15 22:31:53 UTC) #7
Dirk Pranke
Ah, I think I get it now. I missed that this was also telling GN ...
4 years, 8 months ago (2016-04-18 19:19:02 UTC) #8
brettw
https://codereview.chromium.org/1892243002/diff/1/tools/gn/bundle_data.cc File tools/gn/bundle_data.cc (right): https://codereview.chromium.org/1892243002/diff/1/tools/gn/bundle_data.cc#newcode119 tools/gn/bundle_data.cc:119: const SourceDir& root_out_dir = settings->build_settings()->build_dir(); This variable should be ...
4 years, 8 months ago (2016-04-18 20:16:14 UTC) #9
Robert Sesek
https://codereview.chromium.org/1892243002/diff/1/tools/gn/bundle_data.cc File tools/gn/bundle_data.cc (right): https://codereview.chromium.org/1892243002/diff/1/tools/gn/bundle_data.cc#newcode119 tools/gn/bundle_data.cc:119: const SourceDir& root_out_dir = settings->build_settings()->build_dir(); On 2016/04/18 20:16:14, brettw ...
4 years, 8 months ago (2016-04-19 15:37:51 UTC) #10
Robert Sesek
ping
4 years, 8 months ago (2016-04-21 16:08:08 UTC) #11
brettw
LGTM with comments addressed. https://codereview.chromium.org/1892243002/diff/1/tools/gn/bundle_data.cc File tools/gn/bundle_data.cc (right): https://codereview.chromium.org/1892243002/diff/1/tools/gn/bundle_data.cc#newcode121 tools/gn/bundle_data.cc:121: base::StringPiece(root_dir()).substr(root_out_dir.value().length()); On 2016/04/19 15:37:51, Robert ...
4 years, 8 months ago (2016-04-21 19:14:00 UTC) #12
Robert Sesek
https://codereview.chromium.org/1892243002/diff/1/tools/gn/bundle_data.cc File tools/gn/bundle_data.cc (right): https://codereview.chromium.org/1892243002/diff/1/tools/gn/bundle_data.cc#newcode121 tools/gn/bundle_data.cc:121: base::StringPiece(root_dir()).substr(root_out_dir.value().length()); On 2016/04/21 19:14:00, brettw wrote: > On 2016/04/19 ...
4 years, 8 months ago (2016-04-21 21:03:20 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1892243002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1892243002/40001
4 years, 8 months ago (2016-04-22 14:20:36 UTC) #16
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 8 months ago (2016-04-22 14:39:42 UTC) #18
commit-bot: I haz the power
4 years, 8 months ago (2016-04-22 19:47:16 UTC) #20
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/a23feb50e97c016318d5a859609f8f6a139f0ed5
Cr-Commit-Position: refs/heads/master@{#389101}

Powered by Google App Engine
This is Rietveld 408576698