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

Issue 885283006: gn: Allow users to set 'check_includes' in action_foreach(). (Closed)

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

Description

gn: Allow users to set 'check_includes' in action_foreach(). Otherwise if someone tries to set it now it will get something like: $ gn gen --args='os="android" cpu_arch="arm"' out_gn_android/Debug ERROR at //build/config/android/rules.gni:49:22: Assignment had no effect. check_includes = false ^---- You set the variable "check_includes" here and it was unused before it went out of scope. See //content/test/BUILD.gn:237:5: whence it was called. generate_jni("jni") { ^-------------------- BUG=367595, 376000 TEST=see above R=brettw@chromium.org Committed: https://crrev.com/a9bfa5b41ab2fc41a7fa40cc070df4919ccd1ae7 Cr-Commit-Position: refs/heads/master@{#314794}

Patch Set 1 #

Total comments: 3

Patch Set 2 : TargetGenerator #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -11 lines) Patch
M tools/gn/action_target_generator.cc View 1 1 chunk +3 lines, -0 lines 0 comments Download
M tools/gn/binary_target_generator.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M tools/gn/binary_target_generator.cc View 1 1 chunk +0 lines, -10 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 1 chunk +10 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (2 generated)
tfarina
Brett, could you review this to me? See CL https://codereview.chromium.org/871813004/. Chris, Dirk, if you want ...
5 years, 10 months ago (2015-01-30 21:04:52 UTC) #1
cjhopman
https://codereview.chromium.org/885283006/diff/1/tools/gn/action_target_generator.h File tools/gn/action_target_generator.h (right): https://codereview.chromium.org/885283006/diff/1/tools/gn/action_target_generator.h#newcode28 tools/gn/action_target_generator.h:28: bool FillCheckIncludes(); If we are checking includes for every ...
5 years, 10 months ago (2015-01-30 23:04:46 UTC) #3
brettw
I lean slightly toward doing this for action_foreach. It will only check source files of ...
5 years, 10 months ago (2015-01-30 23:08:55 UTC) #4
tfarina
https://codereview.chromium.org/885283006/diff/1/tools/gn/action_target_generator.cc File tools/gn/action_target_generator.cc (right): https://codereview.chromium.org/885283006/diff/1/tools/gn/action_target_generator.cc#newcode111 tools/gn/action_target_generator.cc:111: bool ActionTargetGenerator::FillCheckIncludes() { On 2015/01/30 23:08:55, brettw wrote: > ...
5 years, 10 months ago (2015-01-30 23:18:29 UTC) #5
tfarina
Brett, ping!
5 years, 10 months ago (2015-02-02 15:29:17 UTC) #6
brettw
lgtm
5 years, 10 months ago (2015-02-02 23:36:52 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/885283006/20001
5 years, 10 months ago (2015-02-05 13:06:21 UTC) #9
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 10 months ago (2015-02-05 13:54:29 UTC) #10
commit-bot: I haz the power
5 years, 10 months ago (2015-02-05 13:56:13 UTC) #11
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/a9bfa5b41ab2fc41a7fa40cc070df4919ccd1ae7
Cr-Commit-Position: refs/heads/master@{#314794}

Powered by Google App Engine
This is Rietveld 408576698