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

Issue 1250913002: patch from chinmaygarde@ to make progress on mac, ios. (Closed)

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

Description

patch from chinmaygarde@ to make progress on mac, ios. I've taken https://github.com/chinmaygarde/sky_engine/commit/ad591c629a295936206dcfde37f63c8c82bc2838 and merged it onto Chromium ToT, with a few lint and other cleanups, and one fix to make sure that Mac still compiled (which may have broken iOS, haven't tested yet). R=brettw@chromium.org, sdfresne@chromium.org BUG=459705 CQ_EXTRA_TRYBOTS=tryserver.chromium.mac:mac_chromium_gn_rel,mac_chromium_gn_dbg Committed: https://crrev.com/2a29462a04dabad3fc20dc922227c46b36459912 Cr-Commit-Position: refs/heads/master@{#342297}

Patch Set 1 #

Total comments: 1

Patch Set 2 : merge to #340218 #

Patch Set 3 : tweaks needed to get base_unittests to compile #

Total comments: 59

Patch Set 4 : update w/ review feedback #

Patch Set 5 : a bit more cleanup #

Patch Set 6 : merge to #341416 #

Total comments: 40

Patch Set 7 : merge forward, update w/ all review feedback except for the sysroot stuff #

Patch Set 8 : use //build/config/ios:sdk for versioning instead of switch_sysroot #

Patch Set 9 : more cleanup #

Total comments: 12

Patch Set 10 : status #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+910 lines, -37 lines) Patch
M BUILD.gn View 1 2 3 4 5 6 7 8 3 chunks +7 lines, -4 lines 0 comments Download
M base/BUILD.gn View 1 2 3 4 5 6 7 8 9 6 chunks +9 lines, -4 lines 1 comment Download
M base/memory/BUILD.gn View 1 2 3 4 5 6 1 chunk +4 lines, -1 line 0 comments Download
M base/process/BUILD.gn View 1 2 1 chunk +4 lines, -1 line 0 comments Download
M base/test/BUILD.gn View 1 2 3 4 5 6 7 8 4 chunks +14 lines, -11 lines 0 comments Download
M build/config/BUILD.gn View 1 2 3 4 5 6 1 chunk +3 lines, -1 line 0 comments Download
M build/config/BUILDCONFIG.gn View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M build/config/compiler/BUILD.gn View 1 2 3 4 5 6 1 chunk +4 lines, -1 line 0 comments Download
M build/config/features.gni View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M build/config/ios/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
A build/config/ios/find_signing_identity.py View 1 2 3 1 chunk +35 lines, -0 lines 0 comments Download
A build/config/ios/ios_app.py View 1 2 3 4 5 6 1 chunk +99 lines, -0 lines 0 comments Download
M build/config/ios/ios_sdk.gni View 1 2 3 3 chunks +30 lines, -7 lines 0 comments Download
A build/config/ios/ios_sim.py View 1 2 3 4 5 6 1 chunk +106 lines, -0 lines 0 comments Download
A build/config/ios/lldb_start_commands.txt View 2 1 chunk +4 lines, -0 lines 0 comments Download
A build/config/ios/rules.gni View 1 2 3 4 5 6 7 8 9 1 chunk +169 lines, -0 lines 0 comments Download
M build/config/mac/BUILD.gn View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
A build/config/mac/mac_app.py View 1 2 3 1 chunk +99 lines, -0 lines 0 comments Download
A build/config/mac/rules.gni View 1 2 3 4 5 6 1 chunk +212 lines, -0 lines 0 comments Download
M build/secondary/testing/gtest/BUILD.gn View 1 2 1 chunk +12 lines, -1 line 0 comments Download
M build/secondary/third_party/nss/BUILD.gn View 1 2 3 4 5 6 1 chunk +0 lines, -1 line 0 comments Download
M build/toolchain/mac/BUILD.gn View 1 2 3 4 5 6 7 8 4 chunks +18 lines, -2 lines 0 comments Download
M testing/test.gni View 1 2 3 4 5 6 1 chunk +75 lines, -0 lines 0 comments Download

Messages

Total messages: 46 (13 generated)
Dirk Pranke
fyi, this needs to be synced up with your changes
5 years, 5 months ago (2015-07-22 17:10:03 UTC) #2
eseidel
https://codereview.chromium.org/1250913002/diff/1/build/config/mac/BUILD.gn File build/config/mac/BUILD.gn (right): https://codereview.chromium.org/1250913002/diff/1/build/config/mac/BUILD.gn#newcode15 build/config/mac/BUILD.gn:15: #"-stdlib=libc++", This is likely needed to use c++11.
5 years, 5 months ago (2015-07-23 23:15:01 UTC) #4
Dirk Pranke
Okay, with the latest patch I have I've got something that can build base_unittests into ...
5 years, 5 months ago (2015-07-24 02:12:41 UTC) #5
Dirk Pranke
On 2015/07/24 02:12:41, Dirk Pranke wrote: > This patch is not yet ready for review ...
5 years, 5 months ago (2015-07-24 02:13:17 UTC) #6
sdefresne
https://codereview.chromium.org/1250913002/diff/40001/build/config/ios/BUILD.gn File build/config/ios/BUILD.gn (right): https://codereview.chromium.org/1250913002/diff/40001/build/config/ios/BUILD.gn#newcode13 build/config/ios/BUILD.gn:13: # TODO(dpranke): Figure out why chinmay had this set. ...
5 years, 5 months ago (2015-07-24 08:47:32 UTC) #7
sdefresne
https://codereview.chromium.org/1250913002/diff/40001/base/BUILD.gn File base/BUILD.gn (right): https://codereview.chromium.org/1250913002/diff/40001/base/BUILD.gn#newcode1467 base/BUILD.gn:1467: "strings/sys_string_conversions_mac_unittest.mm", It looks like this file is not build ...
5 years, 5 months ago (2015-07-25 19:15:31 UTC) #8
sdefresne
BTW, you can use BUG=459705
5 years, 5 months ago (2015-07-25 19:27:33 UTC) #9
Dirk Pranke
Thanks for all the feedback! The patch wasn't really meant for review yet, but the ...
5 years, 4 months ago (2015-07-27 16:09:40 UTC) #10
Dirk Pranke
https://codereview.chromium.org/1250913002/diff/40001/base/BUILD.gn File base/BUILD.gn (right): https://codereview.chromium.org/1250913002/diff/40001/base/BUILD.gn#newcode1467 base/BUILD.gn:1467: "strings/sys_string_conversions_mac_unittest.mm", On 2015/07/25 19:15:29, sdefresne wrote: > It looks ...
5 years, 4 months ago (2015-07-31 21:27:41 UTC) #11
Dirk Pranke
Okay, I think this is ready to land and iterate. Please take another look?
5 years, 4 months ago (2015-07-31 21:41:25 UTC) #14
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1250913002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1250913002/100001
5 years, 4 months ago (2015-07-31 21:42:08 UTC) #15
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 4 months ago (2015-07-31 22:06:32 UTC) #17
sdefresne
lgtm with comments and nits https://codereview.chromium.org/1250913002/diff/40001/base/BUILD.gn File base/BUILD.gn (right): https://codereview.chromium.org/1250913002/diff/40001/base/BUILD.gn#newcode1467 base/BUILD.gn:1467: "strings/sys_string_conversions_mac_unittest.mm", On 2015/07/31 at ...
5 years, 4 months ago (2015-08-04 07:42:02 UTC) #18
brettw
I'm super excited to make this progress! https://codereview.chromium.org/1250913002/diff/100001/base/BUILD.gn File base/BUILD.gn (right): https://codereview.chromium.org/1250913002/diff/100001/base/BUILD.gn#newcode820 base/BUILD.gn:820: sources += ...
5 years, 4 months ago (2015-08-04 18:07:29 UTC) #19
Dirk Pranke
https://codereview.chromium.org/1250913002/diff/100001/base/BUILD.gn File base/BUILD.gn (right): https://codereview.chromium.org/1250913002/diff/100001/base/BUILD.gn#newcode820 base/BUILD.gn:820: sources += [ "files/file_path_watcher_mac.cc" ] On 2015/08/04 18:07:28, brettw ...
5 years, 4 months ago (2015-08-04 18:27:16 UTC) #20
brettw
https://codereview.chromium.org/1250913002/diff/100001/build/toolchain/mac/BUILD.gn File build/toolchain/mac/BUILD.gn (right): https://codereview.chromium.org/1250913002/diff/100001/build/toolchain/mac/BUILD.gn#newcode61 build/toolchain/mac/BUILD.gn:61: version_flags = "-mios-simulator-version-min=$ios_deployment_target" On 2015/08/04 18:27:15, Dirk Pranke wrote: ...
5 years, 4 months ago (2015-08-04 19:20:23 UTC) #21
Dirk Pranke
https://codereview.chromium.org/1250913002/diff/100001/build/toolchain/mac/BUILD.gn File build/toolchain/mac/BUILD.gn (right): https://codereview.chromium.org/1250913002/diff/100001/build/toolchain/mac/BUILD.gn#newcode61 build/toolchain/mac/BUILD.gn:61: version_flags = "-mios-simulator-version-min=$ios_deployment_target" On 2015/08/04 19:20:23, brettw wrote: > ...
5 years, 4 months ago (2015-08-04 19:28:06 UTC) #22
Dirk Pranke
Okay, I think I've addressed all of the review feedback, though I probably missed some ...
5 years, 4 months ago (2015-08-05 22:28:22 UTC) #24
Dirk Pranke
https://codereview.chromium.org/1250913002/diff/160001/BUILD.gn File BUILD.gn (left): https://codereview.chromium.org/1250913002/diff/160001/BUILD.gn#oldcode68 BUILD.gn:68: "//sync:sync_unit_tests", sync (and net) don't currently compile for me, ...
5 years, 4 months ago (2015-08-05 22:28:48 UTC) #25
brettw
https://codereview.chromium.org/1250913002/diff/160001/build/config/ios/rules.gni File build/config/ios/rules.gni (right): https://codereview.chromium.org/1250913002/diff/160001/build/config/ios/rules.gni#newcode80 build/config/ios/rules.gni:80: app_name = invoker.app_name This still isn't optional (should default ...
5 years, 4 months ago (2015-08-06 18:07:27 UTC) #26
Dirk Pranke
https://codereview.chromium.org/1250913002/diff/160001/build/config/ios/rules.gni File build/config/ios/rules.gni (right): https://codereview.chromium.org/1250913002/diff/160001/build/config/ios/rules.gni#newcode80 build/config/ios/rules.gni:80: app_name = invoker.app_name On 2015/08/06 18:07:27, brettw wrote: > ...
5 years, 4 months ago (2015-08-06 18:29:46 UTC) #27
brettw
https://codereview.chromium.org/1250913002/diff/160001/build/config/mac/rules.gni File build/config/mac/rules.gni (right): https://codereview.chromium.org/1250913002/diff/160001/build/config/mac/rules.gni#newcode81 build/config/mac/rules.gni:81: template("resource_copy_mac") { Yes, we can do this in a ...
5 years, 4 months ago (2015-08-06 19:35:11 UTC) #28
Dirk Pranke
https://codereview.chromium.org/1250913002/diff/160001/build/config/ios/rules.gni File build/config/ios/rules.gni (right): https://codereview.chromium.org/1250913002/diff/160001/build/config/ios/rules.gni#newcode80 build/config/ios/rules.gni:80: app_name = invoker.app_name On 2015/08/06 18:29:46, Dirk Pranke wrote: ...
5 years, 4 months ago (2015-08-06 20:32:11 UTC) #29
brettw
LGTM for now, we can address the rest in a followup https://codereview.chromium.org/1250913002/diff/160001/build/config/ios/rules.gni File build/config/ios/rules.gni (right): ...
5 years, 4 months ago (2015-08-06 22:38:15 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1250913002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1250913002/180001
5 years, 4 months ago (2015-08-06 23:02:57 UTC) #33
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_gn_dbg on tryserver.chromium.mac (JOB_TIMED_OUT, no build URL)
5 years, 4 months ago (2015-08-07 01:05:50 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1250913002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1250913002/180001
5 years, 4 months ago (2015-08-07 01:12:49 UTC) #37
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_gn_dbg on tryserver.chromium.mac (JOB_TIMED_OUT, no build URL)
5 years, 4 months ago (2015-08-07 03:15:07 UTC) #39
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1250913002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1250913002/180001
5 years, 4 months ago (2015-08-07 03:40:14 UTC) #41
commit-bot: I haz the power
Committed patchset #10 (id:180001)
5 years, 4 months ago (2015-08-07 05:23:09 UTC) #42
commit-bot: I haz the power
Patchset 10 (id:??) landed as https://crrev.com/2a29462a04dabad3fc20dc922227c46b36459912 Cr-Commit-Position: refs/heads/master@{#342297}
5 years, 4 months ago (2015-08-07 05:23:47 UTC) #43
Nico
https://codereview.chromium.org/1250913002/diff/180001/base/BUILD.gn File base/BUILD.gn (right): https://codereview.chromium.org/1250913002/diff/180001/base/BUILD.gn#newcode18 base/BUILD.gn:18: } This does not lgtm. I explicitly not lgtm'd ...
5 years, 4 months ago (2015-08-11 20:41:01 UTC) #45
Dirk Pranke
5 years, 4 months ago (2015-08-11 20:46:29 UTC) #46
Message was sent while issue was closed.
On 2015/08/11 20:41:01, Nico (hiding) wrote:
> https://codereview.chromium.org/1250913002/diff/180001/base/BUILD.gn
> File base/BUILD.gn (right):
> 
> https://codereview.chromium.org/1250913002/diff/180001/base/BUILD.gn#newcode18
> base/BUILD.gn:18: }
> This does not lgtm. I explicitly not lgtm'd this on
> https://codereview.chromium.org/1180583002/ . You were cc'd on that review.
Why
> was this added here?

I think this probably was a bad merge. I will see if I can correct the merge and
post a fix.

Powered by Google App Engine
This is Rietveld 408576698