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

Issue 1879493002: [iOS/GN] Convert //ios/third_party/ochamcrest to build a framework. (Closed)

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

Description

[iOS/GN] Convert //ios/third_party/ochamcrest to build a framework. Add support for copying public headers to the ios_framework_bundle template and use this to implement the //ios/third_party/ochamcrest target. Add a set_defaults for ios_framework_bundle and mac_framework_bundle to build/config/BUILDCONFIG.gn so that overriding "configs" works as expected. BUG=599322 Committed: https://crrev.com/8fab21c694073ca4db23495b715770385c597e1a Cr-Commit-Position: refs/heads/master@{#386957}

Patch Set 1 #

Total comments: 9

Patch Set 2 : Use set_defaults and address comments/nits #

Total comments: 4

Patch Set 3 : Use set_sources_assignment_filter #

Total comments: 1

Patch Set 4 : Add a comment to explain the "set_sources_assignment_filter" in "ios_framework_bundle" template #

Unified diffs Side-by-side diffs Delta from patch set Stats (+184 lines, -38 lines) Patch
M build/config/BUILDCONFIG.gn View 1 1 chunk +10 lines, -0 lines 0 comments Download
M build/config/ios/rules.gni View 1 2 3 4 chunks +105 lines, -5 lines 0 comments Download
M ios/third_party/ochamcrest/BUILD.gn View 1 2 chunks +69 lines, -33 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 22 (9 generated)
sdefresne
Please take a look. dpranke,brettw: FYI
4 years, 8 months ago (2016-04-11 11:37:26 UTC) #2
Dirk Pranke
lgtm https://codereview.chromium.org/1879493002/diff/1/build/config/mac/rules.gni File build/config/mac/rules.gni (right): https://codereview.chromium.org/1879493002/diff/1/build/config/mac/rules.gni#newcode52 build/config/mac/rules.gni:52: if (defined(invoker.configs)) { nit: can you add a ...
4 years, 8 months ago (2016-04-11 16:38:03 UTC) #4
Robert Sesek
https://codereview.chromium.org/1879493002/diff/1/build/config/ios/rules.gni File build/config/ios/rules.gni (right): https://codereview.chromium.org/1879493002/diff/1/build/config/ios/rules.gni#newcode258 build/config/ios/rules.gni:258: _target_name = target_name optional: pull _target_name and _output_name out ...
4 years, 8 months ago (2016-04-11 18:32:29 UTC) #5
Robert Sesek
Oh and lgtm % nits
4 years, 8 months ago (2016-04-11 23:05:07 UTC) #6
sdefresne
brettw: Please take a look at build/config/BUILDCONFIG.gn.
4 years, 8 months ago (2016-04-12 12:56:53 UTC) #9
sdefresne
https://codereview.chromium.org/1879493002/diff/1/build/config/ios/rules.gni File build/config/ios/rules.gni (right): https://codereview.chromium.org/1879493002/diff/1/build/config/ios/rules.gni#newcode258 build/config/ios/rules.gni:258: _target_name = target_name On 2016/04/11 at 18:32:28, Robert Sesek ...
4 years, 8 months ago (2016-04-12 13:05:19 UTC) #11
sdefresne
https://codereview.chromium.org/1879493002/diff/40001/build/config/ios/rules.gni File build/config/ios/rules.gni (right): https://codereview.chromium.org/1879493002/diff/40001/build/config/ios/rules.gni#newcode280 build/config/ios/rules.gni:280: foreach(_source_file, invoker.sources) { brettw: is there a way to ...
4 years, 8 months ago (2016-04-12 13:06:17 UTC) #12
brettw
https://codereview.chromium.org/1879493002/diff/60001/build/config/ios/rules.gni File build/config/ios/rules.gni (right): https://codereview.chromium.org/1879493002/diff/60001/build/config/ios/rules.gni#newcode248 build/config/ios/rules.gni:248: # Seems like you need "sources" here. https://codereview.chromium.org/1879493002/diff/60001/build/config/ios/rules.gni#newcode280 build/config/ios/rules.gni:280: ...
4 years, 8 months ago (2016-04-12 17:43:12 UTC) #14
sdefresne
PTAL https://codereview.chromium.org/1879493002/diff/60001/build/config/ios/rules.gni File build/config/ios/rules.gni (right): https://codereview.chromium.org/1879493002/diff/60001/build/config/ios/rules.gni#newcode248 build/config/ios/rules.gni:248: # On 2016/04/12 at 17:43:12, brettw wrote: > ...
4 years, 8 months ago (2016-04-12 18:07:31 UTC) #15
brettw
lgtm https://codereview.chromium.org/1879493002/diff/80001/build/config/ios/rules.gni File build/config/ios/rules.gni (right): https://codereview.chromium.org/1879493002/diff/80001/build/config/ios/rules.gni#newcode286 build/config/ios/rules.gni:286: set_sources_assignment_filter([ Can you comment the high-level thing you're ...
4 years, 8 months ago (2016-04-12 22:03:49 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1879493002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1879493002/100001
4 years, 8 months ago (2016-04-13 09:34:07 UTC) #19
commit-bot: I haz the power
Committed patchset #4 (id:100001)
4 years, 8 months ago (2016-04-13 10:14:28 UTC) #20
commit-bot: I haz the power
4 years, 8 months ago (2016-04-13 10:15:31 UTC) #22
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/8fab21c694073ca4db23495b715770385c597e1a
Cr-Commit-Position: refs/heads/master@{#386957}

Powered by Google App Engine
This is Rietveld 408576698