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

Issue 1087873003: Fix errors found in Mac gn component builds (Closed)

Created:
5 years, 8 months ago by Jiang Jiang
Modified:
5 years, 8 months ago
CC:
chromium-reviews, tim+watch_chromium.org, zea+watch_chromium.org, maxbogue+watch_chromium.org, pvalenzuela+watch_chromium.org, plaree+watch_chromium.org, piman+watch_chromium.org, maniscalco+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix errors found in Mac gn component builds Mac gn component build fail because of missing frameworks and missing some other dependencies, and occasionally file list out of sync with the gyp counterpart: http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_gn_dbg/builds/321/steps/compile/logs/stdio For instance, the frameworks linked in the components that sync depends on is not automatically linked into sync, thus revealing the issue. Committed: https://crrev.com/ae8297db22a6ca96652d42bd0cdc3deff17aba4a Cr-Commit-Position: refs/heads/master@{#325479}

Patch Set 1 #

Patch Set 2 : Fix libsurface.dylib #

Patch Set 3 : Fix media tests builds #

Patch Set 4 : Try a different way #

Patch Set 5 : More correct media fixes #

Patch Set 6 : Fix media/cast/sender #

Total comments: 10

Patch Set 7 : Fix accelerated_widget_mac #

Patch Set 8 : Fix libviews #

Patch Set 9 : Fix libcontent #

Total comments: 5

Patch Set 10 : Fix sudden_motion_sensor #

Patch Set 11 : Rebase #

Patch Set 12 : Try to fix sandbox_mac_unittests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+127 lines, -7 lines) Patch
M content/browser/BUILD.gn View 1 2 3 4 5 6 7 8 2 chunks +12 lines, -2 lines 0 comments Download
M content/common/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 2 chunks +10 lines, -1 line 0 comments Download
M gpu/command_buffer/service/BUILD.gn View 1 chunk +8 lines, -0 lines 0 comments Download
M gpu/command_buffer_service.gypi View 1 chunk +9 lines, -0 lines 0 comments Download
M media/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 1 chunk +4 lines, -0 lines 0 comments Download
M media/base/BUILD.gn View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download
M media/base/mac/BUILD.gn View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M media/cast/BUILD.gn View 1 2 3 4 5 1 chunk +13 lines, -0 lines 0 comments Download
M media/cast/cast.gyp View 1 2 3 4 5 1 chunk +12 lines, -0 lines 0 comments Download
M sandbox/mac/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download
M sync/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 1 chunk +7 lines, -0 lines 0 comments Download
M sync/sync.gyp View 1 chunk +8 lines, -0 lines 0 comments Download
A + third_party/sudden_motion_sensor/BUILD.gn View 1 2 3 4 5 6 7 8 9 1 chunk +4 lines, -3 lines 0 comments Download
M ui/accelerated_widget_mac/BUILD.gn View 1 2 3 4 5 6 1 chunk +7 lines, -1 line 0 comments Download
M ui/accelerated_widget_mac/accelerated_widget_mac.gyp View 1 2 3 4 5 6 1 chunk +3 lines, -0 lines 0 comments Download
M ui/surface/BUILD.gn View 1 1 chunk +8 lines, -0 lines 0 comments Download
M ui/surface/surface.gyp View 1 1 chunk +2 lines, -0 lines 0 comments Download
M ui/views/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +4 lines, -0 lines 0 comments Download
M ui/views/views.gyp View 1 2 3 4 5 6 7 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 43 (11 generated)
Jiang Jiang
5 years, 8 months ago (2015-04-15 06:14:26 UTC) #2
Jiang Jiang
libblink_platform.dylib linking issue should be fixed by https://codereview.chromium.org/1056373003/
5 years, 8 months ago (2015-04-15 06:16:19 UTC) #3
Dirk Pranke
I would reword your CL description to be a little clearer. You got the failure ...
5 years, 8 months ago (2015-04-15 15:48:02 UTC) #5
Jiang Jiang
https://codereview.chromium.org/1087873003/diff/100001/gpu/command_buffer/service/BUILD.gn File gpu/command_buffer/service/BUILD.gn (right): https://codereview.chromium.org/1087873003/diff/100001/gpu/command_buffer/service/BUILD.gn#newcode172 gpu/command_buffer/service/BUILD.gn:172: "OpenGL.framework", On 2015/04/15 15:48:01, Dirk Pranke wrote: > it ...
5 years, 8 months ago (2015-04-15 16:17:20 UTC) #6
Jiang Jiang
With this, https://codereview.chromium.org/1056373003/ and https://codereview.chromium.org/1060943003/, gn component "all" builds for me on Mac locally.
5 years, 8 months ago (2015-04-15 16:20:47 UTC) #7
Dirk Pranke
https://codereview.chromium.org/1087873003/diff/100001/gpu/command_buffer/service/BUILD.gn File gpu/command_buffer/service/BUILD.gn (right): https://codereview.chromium.org/1087873003/diff/100001/gpu/command_buffer/service/BUILD.gn#newcode172 gpu/command_buffer/service/BUILD.gn:172: "OpenGL.framework", My point was that it seemed like there ...
5 years, 8 months ago (2015-04-15 16:21:07 UTC) #8
Jiang Jiang
https://codereview.chromium.org/1087873003/diff/100001/gpu/command_buffer_service.gypi File gpu/command_buffer_service.gypi (right): https://codereview.chromium.org/1087873003/diff/100001/gpu/command_buffer_service.gypi#newcode150 gpu/command_buffer_service.gypi:150: '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework', On 2015/04/15 16:21:07, Dirk Pranke wrote: > I'm ...
5 years, 8 months ago (2015-04-15 16:29:26 UTC) #9
Dirk Pranke
lgtm. https://codereview.chromium.org/1087873003/diff/100001/gpu/command_buffer_service.gypi File gpu/command_buffer_service.gypi (right): https://codereview.chromium.org/1087873003/diff/100001/gpu/command_buffer_service.gypi#newcode150 gpu/command_buffer_service.gypi:150: '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework', Oh! I see, I was totally confused ...
5 years, 8 months ago (2015-04-15 16:34:09 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1087873003/160001
5 years, 8 months ago (2015-04-15 16:53:04 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/56549)
5 years, 8 months ago (2015-04-15 17:04:01 UTC) #14
Jiang Jiang
Need OWNERS stamping. Brett, can you please take a look?
5 years, 8 months ago (2015-04-15 17:39:51 UTC) #16
brettw
I would like to understand the GYP changes more since I would not expect these ...
5 years, 8 months ago (2015-04-15 19:01:06 UTC) #17
Jiang Jiang
On 2015/04/15 19:01:06, brettw wrote: > I would like to understand the GYP changes more ...
5 years, 8 months ago (2015-04-15 20:16:37 UTC) #18
Jiang Jiang
Avi, can you please take a look at the content/ and ui/ changes?
5 years, 8 months ago (2015-04-15 20:17:15 UTC) #20
Jiang Jiang
https://codereview.chromium.org/1087873003/diff/160001/third_party/sudden_motion_sensor/BUILD.gn File third_party/sudden_motion_sensor/BUILD.gn (right): https://codereview.chromium.org/1087873003/diff/160001/third_party/sudden_motion_sensor/BUILD.gn#newcode5 third_party/sudden_motion_sensor/BUILD.gn:5: static_library("sudden_motion_sensor") { On 2015/04/15 19:01:06, brettw wrote: > This ...
5 years, 8 months ago (2015-04-15 20:21:26 UTC) #21
Avi (use Gerrit)
lgtm stampity stamp
5 years, 8 months ago (2015-04-15 20:22:01 UTC) #22
Jiang Jiang
+toyoshim for gyp changes in media/. +piman for gyp changes in gnu/.
5 years, 8 months ago (2015-04-15 20:23:15 UTC) #24
Dirk Pranke
On 2015/04/15 20:21:26, Jiang Jiang wrote: > https://codereview.chromium.org/1087873003/diff/160001/third_party/sudden_motion_sensor/BUILD.gn > File third_party/sudden_motion_sensor/BUILD.gn (right): > > https://codereview.chromium.org/1087873003/diff/160001/third_party/sudden_motion_sensor/BUILD.gn#newcode5 ...
5 years, 8 months ago (2015-04-15 20:35:41 UTC) #25
Jiang Jiang
On 2015/04/15 20:35:41, Dirk Pranke wrote: > Always use source_sets instead of static_libraries where you ...
5 years, 8 months ago (2015-04-15 20:54:41 UTC) #26
piman
lgtm
5 years, 8 months ago (2015-04-15 20:57:45 UTC) #27
Dirk Pranke
On 2015/04/15 20:54:41, Jiang Jiang wrote: > Thanks, if you have read the other issue ...
5 years, 8 months ago (2015-04-15 21:07:07 UTC) #28
Takashi Toyoshima
lgtm for CoreMIDI in media/ thank you for catching this up.
5 years, 8 months ago (2015-04-16 05:23:47 UTC) #29
Jiang Jiang
+pavely for //sync/sync.gyp changes.
5 years, 8 months ago (2015-04-16 06:58:12 UTC) #31
Takashi Toyoshima
+dalecurtis for other media changes except for MIDI because I'm a tentative OWNER of media's ...
5 years, 8 months ago (2015-04-16 07:35:52 UTC) #33
pavely
sync/* lgtm
5 years, 8 months ago (2015-04-16 16:45:06 UTC) #34
DaleCurtis
media/ lgtm
5 years, 8 months ago (2015-04-16 16:46:30 UTC) #35
brettw
lgtm https://codereview.chromium.org/1087873003/diff/160001/third_party/sudden_motion_sensor/BUILD.gn File third_party/sudden_motion_sensor/BUILD.gn (right): https://codereview.chromium.org/1087873003/diff/160001/third_party/sudden_motion_sensor/BUILD.gn#newcode5 third_party/sudden_motion_sensor/BUILD.gn:5: static_library("sudden_motion_sensor") { Yes, use source_set unless there's a ...
5 years, 8 months ago (2015-04-16 17:04:18 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1087873003/180001
5 years, 8 months ago (2015-04-16 17:32:06 UTC) #39
commit-bot: I haz the power
Committed patchset #10 (id:180001)
5 years, 8 months ago (2015-04-16 18:24:57 UTC) #40
commit-bot: I haz the power
Patchset 10 (id:??) landed as https://crrev.com/ae8297db22a6ca96652d42bd0cdc3deff17aba4a Cr-Commit-Position: refs/heads/master@{#325479}
5 years, 8 months ago (2015-04-16 18:25:47 UTC) #41
maniscalco
A revert of this CL (patchset #10 id:180001) has been created in https://codereview.chromium.org/1089773003/ by maniscalco@chromium.org. ...
5 years, 8 months ago (2015-04-16 18:54:05 UTC) #42
maniscalco
5 years, 8 months ago (2015-04-16 18:58:39 UTC) #43
Message was sent while issue was closed.
On 2015/04/16 18:54:05, maniscalco wrote:
> A revert of this CL (patchset #10 id:180001) has been created in
> https://codereview.chromium.org/1089773003/ by mailto:maniscalco@chromium.org.
> 
> The reason for reverting is: Suspected of breaking Mac GN, see
> https://codereview.chromium.org/1087873003.

Err, see https://code.google.com/p/chromium/issues/detail?id=477710

Powered by Google App Engine
This is Rietveld 408576698