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

Issue 2762014: Mac: clang build (Closed)

Created:
10 years, 6 months ago by Nico
Modified:
9 years, 7 months ago
CC:
chromium-reviews, fbarchard, ben+cc_chromium.org, John Grabowski, Alpha Left Google, pam+watch_chromium.org, awong, brettw-cc_chromium.org, scherkus (not reviewing), jam, darin-cc_chromium.org, James Hawkins, jshin+watch_chromium.org, dhollowa, cbentzel+watch_chromium.org, apatrick_chromium
Visibility:
Public.

Description

Mac: clang build Fixes the last few warnings / errors necessary to build chrome/mac with clang. See http://code.google.com/p/chromium/wiki/Clang BUG=none TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=60131 Dependencies: skia newer than http://code.google.com/p/skia/source/detail?r=583 http://codereview.chromium.org/522020 ( http://llvm.org/bugs/show_bug.cgi?id=7445 for release builds) ( http://codereview.chromium.org/2859012 ) http://codereview.chromium.org/2857015 for unit_tests http://llvm.org/bugs/show_bug.cgi?id=7461 http://llvm.org/bugs/show_bug.cgi?id=7465 (for nacl) -or- http://llvm.org/bugs/show_bug.cgi?id=7487 Done: http://lists.cs.uiuc.edu/pipermail/cfe-dev/2010-June/009374.html http://lists.cs.uiuc.edu/pipermail/cfe-dev/2010-June/009375.html http://codereview.chromium.org/2769014 http://codereview.chromium.org/2730015 http://codereview.chromium.org/2836002 http://llvm.org/bugs/show_bug.cgi?id=7390 http://trac.webkit.org/changeset/61360 http://llvm.org/bugs/show_bug.cgi?id=7431 http://codereview.chromium.org/2801014 http://codereview.chromium.org/2805026 http://codereview.chromium.org/2876002 http://codereview.chromium.org/2840017 http://codereview.appspot.com/1706045 http://lists.cs.uiuc.edu/pipermail/cfe-dev/2010-June/009570.html v8 newer than http://code.google.com/p/v8/source/detail?r=4888 http://codereview.chromium.org/3089004 http://codereview.chromium.org/3012045 https://bugs.webkit.org/show_bug.cgi?id=43491 http://llvm.org/bugs/show_bug.cgi?id=7353 http://llvm.org/bugs/show_bug.cgi?id=7358 http://llvm.org/bugs/show_bug.cgi?id=7355 http://llvm.org/bugs/show_bug.cgi?id=7386 ( http://llvm.org/bugs/show_bug.cgi?id=7389 ) …and many more.

Patch Set 1 #

Patch Set 2 : more #

Patch Set 3 : more #

Patch Set 4 : more #

Patch Set 5 : rebase #

Patch Set 6 : fix clang crash #

Patch Set 7 : more #

Patch Set 8 : foo #

Patch Set 9 : ipc #

Patch Set 10 : '' #

Patch Set 11 : parses successfully! (without ffmpeg and nacl) #

Patch Set 12 : '' #

Patch Set 13 : newer clang #

Patch Set 14 : '' #

Patch Set 15 : remove obsolete webkit patch; rebase #

Patch Set 16 : fallout from -Wextra #

Patch Set 17 : rebase #

Patch Set 18 : some asm stuff #

Patch Set 19 : rebase #

Patch Set 20 : rebase #

Patch Set 21 : rebase, probably badly #

Patch Set 22 : better rebase #

Patch Set 23 : '' #

Patch Set 24 : remove unused functions etc #

Patch Set 25 : '' #

Patch Set 26 : builds again (with gurl, pepper, webkit patches) #

Patch Set 27 : rebase #

Patch Set 28 : done! #

Patch Set 29 : '' #

Total comments: 3

Patch Set 30 : comments #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -13 lines) Patch
M build/common.gypi View 7 10 11 16 17 18 19 20 21 22 23 24 25 26 27 28 29 1 chunk +7 lines, -0 lines 2 comments Download
M chrome/browser/autofill/autofill_text_field_mac.mm View 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 1 chunk +9 lines, -3 lines 0 comments Download
M chrome/browser/cocoa/authorization_util.mm View 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 1 chunk +2 lines, -1 line 1 comment Download
M chrome/browser/cocoa/bookmark_bar_controller.mm View 18 19 20 21 22 23 24 25 26 27 28 29 1 chunk +6 lines, -1 line 0 comments Download
M gpu/command_buffer/client/fenced_allocator.h View 1 chunk +3 lines, -1 line 0 comments Download
M gpu/command_buffer/client/gles2_implementation.cc View 3 chunks +6 lines, -5 lines 0 comments Download
M ipc/ipc_channel_posix.cc View 9 10 11 12 13 14 15 16 1 chunk +1 line, -2 lines 2 comments Download

Messages

Total messages: 8 (0 generated)
Nico
Turns out clang/linux builds with way more warnings disabled…I guess some of these flags can ...
10 years, 3 months ago (2010-09-21 23:17:20 UTC) #1
Nico
Done.
10 years, 3 months ago (2010-09-21 23:29:59 UTC) #2
Nico
With this, target "chrome" builds successfully with clang. And the resulting Chromium.app even seems to ...
10 years, 3 months ago (2010-09-21 23:37:58 UTC) #3
viettrungluu
LGTM with nits fixed. http://codereview.chromium.org/2762014/diff/66002/84001 File build/common.gypi (right): http://codereview.chromium.org/2762014/diff/66002/84001#newcode1240 build/common.gypi:1240: # This is required soleley ...
10 years, 3 months ago (2010-09-21 23:49:08 UTC) #4
Evan Martin
Please update the description with what the actual change contains before you submit :) http://codereview.chromium.org/2762014/diff/85001/70008 ...
10 years, 3 months ago (2010-09-22 00:03:46 UTC) #5
Nico
http://codereview.chromium.org/2762014/diff/85001/70008 File ipc/ipc_channel_posix.cc (right): http://codereview.chromium.org/2762014/diff/85001/70008#newcode138 ipc/ipc_channel_posix.cc:138: const size_t kMaxPipeNameLength = sizeof(((sockaddr_un*)0)->sun_path); On 2010/09/22 00:03:47, Evan ...
10 years, 3 months ago (2010-09-22 00:06:25 UTC) #6
Mark Mentovai
LG http://codereview.chromium.org/2762014/diff/85001/70002 File build/common.gypi (right): http://codereview.chromium.org/2762014/diff/85001/70002#newcode1237 build/common.gypi:1237: ['clang==1', { Do we need this for anything ...
10 years, 3 months ago (2010-09-22 16:38:35 UTC) #7
Nico
10 years, 3 months ago (2010-09-22 16:41:07 UTC) #8
http://codereview.chromium.org/2762014/diff/85001/70002
File build/common.gypi (right):

http://codereview.chromium.org/2762014/diff/85001/70002#newcode1237
build/common.gypi:1237: ['clang==1', {
On 2010/09/22 16:38:36, Mark Mentovai wrote:
> Do we need this for anything else in the Mac build, or is it just this one
-Wno?

There's more: gtest.gyp and skia.gyp check this and do minor tweaks.

Powered by Google App Engine
This is Rietveld 408576698