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

Issue 1247593008: Fix running gn gen for //ui/* targets on iOS. (Closed)

Created:
5 years, 5 months ago by sdefresne
Modified:
5 years, 4 months ago
Reviewers:
danakj, Dirk Pranke, sadrul
CC:
chromium-reviews, danakj+watch_chromium.org, jbauman+watch_chromium.org, jdduke+watch_chromium.org, kalyank, piman+watch_chromium.org, sievers+watch_chromium.org, tdresser+watch_chromium.org, Ian Vollick
Base URL:
https://chromium.googlesource.com/chromium/src.git@rlz
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix running gn gen for //ui/* targets on iOS. This CL only fixes the errors encountered when running "gn gen" with target_os set to ios. It does not yet ensure that the targets compile nor that the unit tests pass. iOS does not build //third_party/WebKit, so remove those dependencies from the BUILD.gn files that are transitively used. Fix some "sources" exclusion rules that removed that that were only added when "is_ios" was false, thus causing an error while running "gn gen". BUG=459705 Committed: https://crrev.com/6630e6f74714bf7d82f3c1cc207604307cd32a53 Cr-Commit-Position: refs/heads/master@{#340432}

Patch Set 1 #

Total comments: 7

Patch Set 2 : Address comments by danakj #

Total comments: 4

Patch Set 3 : Address comments by sadrul #

Total comments: 1

Patch Set 4 : Enable view_prop_unittest.cc when use_aura is true #

Patch Set 5 : Revert back to only building view_prop_unittest.cc on Windows #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -20 lines) Patch
M ui/base/BUILD.gn View 1 2 4 2 chunks +2 lines, -3 lines 0 comments Download
M ui/compositor/BUILD.gn View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M ui/events/BUILD.gn View 1 2 3 chunks +11 lines, -9 lines 0 comments Download
M ui/gfx/BUILD.gn View 1 2 3 chunks +5 lines, -6 lines 0 comments Download
M ui/web_dialogs/BUILD.gn View 1 chunk +4 lines, -1 line 0 comments Download

Messages

Total messages: 22 (4 generated)
sdefresne
PTAL
5 years, 5 months ago (2015-07-22 16:54:01 UTC) #2
Dirk Pranke
lgtm
5 years, 5 months ago (2015-07-22 16:56:33 UTC) #4
danakj
https://codereview.chromium.org/1247593008/diff/1/ui/compositor/BUILD.gn File ui/compositor/BUILD.gn (left): https://codereview.chromium.org/1247593008/diff/1/ui/compositor/BUILD.gn#oldcode137 ui/compositor/BUILD.gn:137: "//third_party/WebKit/public:blink_minimal", This looks historical. Do we actually need this ...
5 years, 5 months ago (2015-07-22 18:25:28 UTC) #5
danakj
https://codereview.chromium.org/1247593008/diff/1/ui/gfx/BUILD.gn File ui/gfx/BUILD.gn (right): https://codereview.chromium.org/1247593008/diff/1/ui/gfx/BUILD.gn#newcode518 ui/gfx/BUILD.gn:518: if (!is_android && !is_ios) { This looks the same ...
5 years, 5 months ago (2015-07-22 18:26:23 UTC) #6
Dirk Pranke
https://codereview.chromium.org/1247593008/diff/1/ui/compositor/BUILD.gn File ui/compositor/BUILD.gn (left): https://codereview.chromium.org/1247593008/diff/1/ui/compositor/BUILD.gn#oldcode137 ui/compositor/BUILD.gn:137: "//third_party/WebKit/public:blink_minimal", On 2015/07/22 18:25:27, danakj wrote: > This looks ...
5 years, 5 months ago (2015-07-22 18:49:36 UTC) #7
danakj
https://codereview.chromium.org/1247593008/diff/1/ui/compositor/BUILD.gn File ui/compositor/BUILD.gn (left): https://codereview.chromium.org/1247593008/diff/1/ui/compositor/BUILD.gn#oldcode137 ui/compositor/BUILD.gn:137: "//third_party/WebKit/public:blink_minimal", On 2015/07/22 18:49:36, Dirk Pranke wrote: > On ...
5 years, 5 months ago (2015-07-22 19:03:14 UTC) #8
Dirk Pranke
On 2015/07/22 19:03:14, danakj wrote: > On 2015/07/22 18:49:36, Dirk Pranke wrote: > > On ...
5 years, 5 months ago (2015-07-22 19:07:01 UTC) #9
sdefresne
PTAL https://codereview.chromium.org/1247593008/diff/1/ui/compositor/BUILD.gn File ui/compositor/BUILD.gn (left): https://codereview.chromium.org/1247593008/diff/1/ui/compositor/BUILD.gn#oldcode137 ui/compositor/BUILD.gn:137: "//third_party/WebKit/public:blink_minimal", On 2015/07/22 at 19:03:14, danakj wrote: > ...
5 years, 5 months ago (2015-07-23 07:38:03 UTC) #10
Dirk Pranke
lgtm.
5 years, 5 months ago (2015-07-23 15:10:05 UTC) #11
sadrul
Can you clarify in the CL title that 'Fix //ui/* targets on iOS.' means fixing ...
5 years, 5 months ago (2015-07-23 15:29:10 UTC) #12
danakj
ui/compositor ui/gfx LGTM
5 years, 5 months ago (2015-07-23 19:07:30 UTC) #13
sdefresne
sadrul: PTAL https://codereview.chromium.org/1247593008/diff/20001/ui/base/BUILD.gn File ui/base/BUILD.gn (right): https://codereview.chromium.org/1247593008/diff/20001/ui/base/BUILD.gn#newcode778 ui/base/BUILD.gn:778: } On 2015/07/23 at 15:29:10, sadrul wrote: ...
5 years, 5 months ago (2015-07-25 18:04:31 UTC) #14
sadrul
lgtm https://codereview.chromium.org/1247593008/diff/40001/ui/base/BUILD.gn File ui/base/BUILD.gn (right): https://codereview.chromium.org/1247593008/diff/40001/ui/base/BUILD.gn#newcode776 ui/base/BUILD.gn:776: if (is_win) { This should be use_aura (since ...
5 years, 5 months ago (2015-07-25 20:33:09 UTC) #15
sdefresne
On 2015/07/25 at 20:33:09, sadrul wrote: > lgtm > > https://codereview.chromium.org/1247593008/diff/40001/ui/base/BUILD.gn > File ui/base/BUILD.gn (right): ...
5 years, 5 months ago (2015-07-26 08:41:25 UTC) #16
sadrul
On 2015/07/26 08:41:25, sdefresne wrote: > On 2015/07/25 at 20:33:09, sadrul wrote: > > lgtm ...
5 years, 5 months ago (2015-07-26 14:08:28 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1247593008/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1247593008/80001
5 years, 4 months ago (2015-07-27 07:07:48 UTC) #20
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 4 months ago (2015-07-27 07:12:00 UTC) #21
commit-bot: I haz the power
5 years, 4 months ago (2015-07-27 07:12:39 UTC) #22
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/6630e6f74714bf7d82f3c1cc207604307cd32a53
Cr-Commit-Position: refs/heads/master@{#340432}

Powered by Google App Engine
This is Rietveld 408576698