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

Issue 2205693005: Add bundle_deps_filter to create_bundle targets. (Closed)

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

Description

Add bundle_deps_filter to create_bundle targets. On iOS application extension can share runtime data with the main application and thus it is not necessary to copy the runtime data into the application extension bundle. To implement this add a new bundle_deps_filter property to the create_bundle target used to filter targets when recursively resolving the deps. Any target matching one of the labels in bundle_deps_filter is not added as a dependency. BUG=615058 Committed: https://crrev.com/7ac497647684c5e90020f2917b2d849b9056826a Cr-Commit-Position: refs/heads/master@{#410281}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Rename variable, fix variable comment and regenerate doc. #

Total comments: 2

Patch Set 3 : Rebase. #

Patch Set 4 : Fix build/config/ios/rules.gni. #

Total comments: 2

Patch Set 5 : Fix value of kBundleDepsFilter. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+125 lines, -8 lines) Patch
M build/config/ios/rules.gni View 1 2 3 4 4 chunks +8 lines, -2 lines 0 comments Download
M tools/gn/bundle_data.h View 1 3 chunks +9 lines, -0 lines 0 comments Download
M tools/gn/bundle_data.cc View 1 2 chunks +5 lines, -0 lines 0 comments Download
M tools/gn/create_bundle_target_generator.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M tools/gn/create_bundle_target_generator.cc View 1 3 chunks +25 lines, -0 lines 0 comments Download
M tools/gn/docs/reference.md View 1 2 3 4 3 chunks +37 lines, -3 lines 0 comments Download
M tools/gn/functions_target.cc View 1 2 chunks +3 lines, -3 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 3 4 2 chunks +33 lines, -0 lines 0 comments Download

Messages

Total messages: 38 (27 generated)
sdefresne
Please take a look.
4 years, 4 months ago (2016-08-03 00:31:06 UTC) #3
brettw
I still don't quite understand how this will be used. Can you give an explicit ...
4 years, 4 months ago (2016-08-03 19:25:20 UTC) #7
sdefresne
You can find some example here (sorry downstream only CL): https://chromereviews.googleplex.com/482907013/ The idea is that ...
4 years, 4 months ago (2016-08-03 19:52:13 UTC) #8
sdefresne
Please take another look. https://codereview.chromium.org/2205693005/diff/20001/tools/gn/command_gen.cc File tools/gn/command_gen.cc (right): https://codereview.chromium.org/2205693005/diff/20001/tools/gn/command_gen.cc#newcode351 tools/gn/command_gen.cc:351: " script on generated file.\n" ...
4 years, 4 months ago (2016-08-03 20:51:22 UTC) #11
Dirk Pranke
I think the general concept makes sense, and I think we'll end up wanting something ...
4 years, 4 months ago (2016-08-03 22:48:12 UTC) #21
brettw
https://codereview.chromium.org/2205693005/diff/60001/tools/gn/variables.cc File tools/gn/variables.cc (right): https://codereview.chromium.org/2205693005/diff/60001/tools/gn/variables.cc#newcode611 tools/gn/variables.cc:611: const char kBundleDepsFilter[] = "deps_filter"; This should also be ...
4 years, 4 months ago (2016-08-05 18:24:44 UTC) #25
sdefresne
Thank you for the review, please take another look. https://codereview.chromium.org/2205693005/diff/60001/tools/gn/variables.cc File tools/gn/variables.cc (right): https://codereview.chromium.org/2205693005/diff/60001/tools/gn/variables.cc#newcode611 tools/gn/variables.cc:611: ...
4 years, 4 months ago (2016-08-05 23:53:03 UTC) #27
brettw
Sorry, I meant to push lgtm last time.
4 years, 4 months ago (2016-08-06 04:02:39 UTC) #31
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/2205693005/80001
4 years, 4 months ago (2016-08-07 07:26:48 UTC) #34
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 4 months ago (2016-08-07 08:18:03 UTC) #36
commit-bot: I haz the power
4 years, 4 months ago (2016-08-07 08:19:37 UTC) #38
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/7ac497647684c5e90020f2917b2d849b9056826a
Cr-Commit-Position: refs/heads/master@{#410281}

Powered by Google App Engine
This is Rietveld 408576698