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

Issue 1280983003: Forward "include_dirs" to executable target in "ios_app" template. (Closed)

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

Description

Forward "include_dirs" to executable target in "ios_app" template. Many unit tests targets sets "include_dirs" variable. As the "test" template uses "ios_app" on iOS, the content needs to be forwarded to the "executable" target since it is the one doing the compilation. Fixes the following error when running "gn gen" for iOS after adding //net:net_unittests to the list of targets in //BUILD.gn: ERROR at //ui/events/BUILD.gn:360:18: Assignment had no effect. include_dirs = [ "//testing/gmock/include" ] ^--------------------------- You set the variable "include_dirs" here and it was unused before it went out of scope. BUG=459705 Committed: https://crrev.com/66ccebf75ce1139adeec700b036bf9332d2b177f Cr-Commit-Position: refs/heads/master@{#342596}

Patch Set 1 #

Patch Set 2 : Move the forward_variables_from to the correct target #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -2 lines) Patch
M testing/test.gni View 1 2 chunks +7 lines, -2 lines 3 comments Download

Depends on Patchset:

Messages

Total messages: 12 (2 generated)
sdefresne
dpranke/brettw: please take a look.
5 years, 4 months ago (2015-08-07 17:18:22 UTC) #2
brettw
This doesn't seem right. I don't see this template compiling any sources (is this a ...
5 years, 4 months ago (2015-08-07 18:09:41 UTC) #3
sdefresne
On 2015/08/07 at 18:09:41, brettw wrote: > This doesn't seem right. I don't see this ...
5 years, 4 months ago (2015-08-07 18:46:31 UTC) #4
Dirk Pranke
lgtm, but wait for brett's approval also.
5 years, 4 months ago (2015-08-07 18:53:12 UTC) #5
brettw
https://codereview.chromium.org/1280983003/diff/20001/testing/test.gni File testing/test.gni (right): https://codereview.chromium.org/1280983003/diff/20001/testing/test.gni#newcode156 testing/test.gni:156: "cflags", This list should match up with the set ...
5 years, 4 months ago (2015-08-07 20:24:58 UTC) #6
sdefresne
Thank you for the review. https://codereview.chromium.org/1280983003/diff/20001/testing/test.gni File testing/test.gni (right): https://codereview.chromium.org/1280983003/diff/20001/testing/test.gni#newcode156 testing/test.gni:156: "cflags", On 2015/08/07 at ...
5 years, 4 months ago (2015-08-08 10:01:20 UTC) #7
brettw
lgtm https://codereview.chromium.org/1280983003/diff/20001/testing/test.gni File testing/test.gni (right): https://codereview.chromium.org/1280983003/diff/20001/testing/test.gni#newcode156 testing/test.gni:156: "cflags", Sure, whatever.
5 years, 4 months ago (2015-08-08 16:23:02 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1280983003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1280983003/20001
5 years, 4 months ago (2015-08-10 08:53:31 UTC) #10
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 4 months ago (2015-08-10 09:26:37 UTC) #11
commit-bot: I haz the power
5 years, 4 months ago (2015-08-10 09:27:15 UTC) #12
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/66ccebf75ce1139adeec700b036bf9332d2b177f
Cr-Commit-Position: refs/heads/master@{#342596}

Powered by Google App Engine
This is Rietveld 408576698