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

Issue 1417673004: Make unit_tests compile in Mac GN (Closed)

Created:
5 years, 2 months ago by brettw
Modified:
5 years, 2 months ago
Reviewers:
Bons
CC:
chromium-apps-reviews_chromium.org, chromium-reviews, darin-cc_chromium.org, extensions-reviews_chromium.org, jam, Matt Giuca, tapted, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@mac
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make unit_tests compile in Mac GN Adds mac app_shim targets. Removed a bunch of links from the root BUILD.gn to random targets. These are all pulled in organically now. Adds crashpad build. Switches components/crash to using it. Enables content_browsertests, content_perftests, and content_gl_benchmark which now compile. Add newline to end of keyboard_content_util.cc. libexif is now a loadable module like in GYP (unit_tests wouldn't load without this). A few conditions I added checks for mac_views_browser. These are based on how I think it should work, the mac views build doesn't work in GN yet. BUG=512600 Committed: https://crrev.com/5ff98192081303f53baa0a07601f3f679572774f Cr-Commit-Position: refs/heads/master@{#355500}

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : #

Patch Set 4 : merge #

Total comments: 4

Patch Set 5 : #

Patch Set 6 : . #

Patch Set 7 : #

Patch Set 8 : #

Patch Set 9 : #

Patch Set 10 : . #

Patch Set 11 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+795 lines, -335 lines) Patch
M BUILD.gn View 1 2 3 4 5 1 chunk +1 line, -35 lines 0 comments Download
A build/secondary/third_party/crashpad/crashpad/client/BUILD.gn View 1 2 1 chunk +45 lines, -0 lines 0 comments Download
A build/secondary/third_party/crashpad/crashpad/compat/BUILD.gn View 1 2 1 chunk +58 lines, -0 lines 0 comments Download
A build/secondary/third_party/crashpad/crashpad/third_party/apple_cctools/BUILD.gn View 1 1 chunk +15 lines, -0 lines 0 comments Download
A + build/secondary/third_party/crashpad/crashpad/third_party/getopt/BUILD.gn View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
A build/secondary/third_party/crashpad/crashpad/util/BUILD.gn View 1 2 1 chunk +216 lines, -0 lines 0 comments Download
A chrome/app_shim/BUILD.gn View 1 chunk +17 lines, -0 lines 0 comments Download
M chrome/app_shim/app_shim.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/BUILD.gn View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
A chrome/browser/apps/app_shim/BUILD.gn View 1 chunk +27 lines, -0 lines 0 comments Download
M chrome/browser/apps/app_shim/browser_app_shim.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/BUILD.gn View 1 2 3 4 3 chunks +24 lines, -5 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 1 chunk +3 lines, -1 line 0 comments Download
M chrome/common/BUILD.gn View 1 2 3 4 5 2 chunks +4 lines, -3 lines 0 comments Download
M chrome/common/extensions/chrome_manifest_url_handlers.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/BUILD.gn View 1 2 2 chunks +15 lines, -1 line 0 comments Download
M chrome/utility/BUILD.gn View 1 1 chunk +9 lines, -0 lines 0 comments Download
M components/crash.gypi View 1 2 3 4 5 6 2 chunks +4 lines, -0 lines 0 comments Download
M components/crash/content/app/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 3 chunks +68 lines, -8 lines 0 comments Download
M components/handoff/BUILD.gn View 1 2 1 chunk +9 lines, -0 lines 0 comments Download
M content/shell/BUILD.gn View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M content/test/BUILD.gn View 1 2 3 4 5 2 chunks +266 lines, -272 lines 0 comments Download
M third_party/libexif/BUILD.gn View 1 2 1 chunk +1 line, -1 line 0 comments Download
M ui/keyboard/content/keyboard_content_util.cc View 1 chunk +1 line, -1 line 0 comments Download
M ui/views/controls/webview/BUILD.gn View 1 2 3 4 5 6 7 2 chunks +1 line, -1 line 0 comments Download

Messages

Total messages: 51 (27 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1417673004/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1417673004/1
5 years, 2 months ago (2015-10-21 03:55:35 UTC) #2
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 2 months ago (2015-10-21 04:37:59 UTC) #5
brettw
5 years, 2 months ago (2015-10-21 09:28:50 UTC) #8
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1417673004/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1417673004/60001
5 years, 2 months ago (2015-10-21 09:29:06 UTC) #10
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_gn_rel on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_gn_rel/builds/19460)
5 years, 2 months ago (2015-10-21 09:43:03 UTC) #12
brettw
Looks like I might have to do a breakpad version also.
5 years, 2 months ago (2015-10-21 12:02:15 UTC) #13
Bons
lgtm https://codereview.chromium.org/1417673004/diff/60001/BUILD.gn File BUILD.gn (right): https://codereview.chromium.org/1417673004/diff/60001/BUILD.gn#newcode505 BUILD.gn:505: "//chrome/test:unit_tests", # TODO(GYP) The CL description says make ...
5 years, 2 months ago (2015-10-21 13:54:09 UTC) #14
brettw
https://codereview.chromium.org/1417673004/diff/60001/BUILD.gn File BUILD.gn (right): https://codereview.chromium.org/1417673004/diff/60001/BUILD.gn#newcode505 BUILD.gn:505: "//chrome/test:unit_tests", # TODO(GYP) On 2015/10/21 13:54:09, Bons wrote: > ...
5 years, 2 months ago (2015-10-22 02:22:23 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1417673004/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1417673004/80001
5 years, 2 months ago (2015-10-22 02:27:37 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg_ng/builds/113317) mac_chromium_gn_rel on tryserver.chromium.mac (JOB_FAILED, ...
5 years, 2 months ago (2015-10-22 02:29:22 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1417673004/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1417673004/100001
5 years, 2 months ago (2015-10-22 02:45:41 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_compile_dbg_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_compile_dbg_ng/builds/3960) mac_chromium_gn_rel on tryserver.chromium.mac (JOB_FAILED, ...
5 years, 2 months ago (2015-10-22 02:58:21 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1417673004/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1417673004/120001
5 years, 2 months ago (2015-10-22 03:37:44 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_gn_rel on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_gn_rel/builds/19955)
5 years, 2 months ago (2015-10-22 04:07:33 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1417673004/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1417673004/140001
5 years, 2 months ago (2015-10-22 04:18:05 UTC) #34
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_gn_rel on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_gn_rel/builds/19962)
5 years, 2 months ago (2015-10-22 04:26:30 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1417673004/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1417673004/160001
5 years, 2 months ago (2015-10-22 04:35:38 UTC) #39
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_dbg on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_chromium_gn_compile_dbg/builds/130820) linux_chromium_compile_dbg_ng on tryserver.chromium.linux (JOB_FAILED, ...
5 years, 2 months ago (2015-10-22 04:38:46 UTC) #41
brettw
.
5 years, 2 months ago (2015-10-22 04:49:14 UTC) #42
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1417673004/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1417673004/180001
5 years, 2 months ago (2015-10-22 04:50:13 UTC) #45
brettw
.
5 years, 2 months ago (2015-10-22 05:41:33 UTC) #46
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1417673004/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1417673004/200001
5 years, 2 months ago (2015-10-22 05:42:12 UTC) #49
commit-bot: I haz the power
Committed patchset #11 (id:200001)
5 years, 2 months ago (2015-10-22 06:36:23 UTC) #50
commit-bot: I haz the power
5 years, 2 months ago (2015-10-22 06:37:19 UTC) #51
Message was sent while issue was closed.
Patchset 11 (id:??) landed as
https://crrev.com/5ff98192081303f53baa0a07601f3f679572774f
Cr-Commit-Position: refs/heads/master@{#355500}

Powered by Google App Engine
This is Rietveld 408576698