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

Issue 522020: clang support (Closed)

Created:
10 years, 11 months ago by Evan Martin
Modified:
9 years, 7 months ago
Reviewers:
hans, Nico
CC:
brettw+cc_chromium.org, pam+watch_chromium.org, John Grabowski, Paweł Hajdan Jr., darin-cc_chromium.org, chromium-reviews, dpranke+watch_chromium.org, ncarter (slow), fbarchard, Alpha Left Google, idana, ben+cc_chromium.org, Erik does not do reviews, brettw-cc_chromium.org, jam, Aaron Boodman, awong, tim (not reviewing), scherkus (not reviewing), jam+cc_chromium.org, cbentzel+watch_chromium.org, hans, native-client-reviews_googlegroups.com
Visibility:
Public.

Description

Support for building Chrome using Clang. To build, set the clang=1 gyp_define. This patch is the culmination of many months of effort and many patches. It contains the minimal changes to Chrome that are Clang-specific. With this, I can build the "chrome" target. Once this patch is in, we can incrementally fix bits of Chrome and various tests and remove the Clang-specific workarounds. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=59882

Patch Set 1 #

Patch Set 2 : more hacks #

Patch Set 3 : makefile hack #

Patch Set 4 : more hacks #

Patch Set 5 : rebased, fixed #

Patch Set 6 : rebased #

Patch Set 7 : now works up to extensions system #

Patch Set 8 : rebase #

Patch Set 9 : ok #

Patch Set 10 : ok #

Patch Set 11 : rebase #

Patch Set 12 : current #

Patch Set 13 : wip #

Patch Set 14 : builds! #

Patch Set 15 : not bad #

Patch Set 16 : lgtm #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+70 lines, -7 lines) Patch
M base/linked_list.h View 4 5 6 7 8 9 10 11 12 13 14 2 chunks +7 lines, -1 line 1 comment Download
M build/common.gypi View 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +22 lines, -0 lines 0 comments Download
M chrome/browser/zygote_main_linux.cc View 14 1 chunk +3 lines, -2 lines 2 comments Download
M chrome/nacl/nacl_main_platform_delegate_linux.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/renderer/renderer_main_platform_delegate_linux.cc View 1 chunk +2 lines, -1 line 0 comments Download
A llvm.sh View 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +10 lines, -0 lines 0 comments Download
M sandbox/sandbox.gyp View 7 8 9 10 11 12 13 14 2 chunks +2 lines, -2 lines 0 comments Download
M skia/skia.gyp View 6 7 8 9 10 11 12 13 14 1 chunk +8 lines, -0 lines 0 comments Download
M testing/gtest.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +14 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Evan Martin
I'd like to land this patch now (minus the llvm.sh in it). What do you ...
10 years, 3 months ago (2010-09-17 23:40:50 UTC) #1
Nico
On 2010/09/17 23:40:50, Evan Martin wrote: > I'd like to land this patch now (minus ...
10 years, 3 months ago (2010-09-17 23:52:12 UTC) #2
Nico
<reply-doesnt-send-comments-ffffuuu /> http://codereview.chromium.org/522020/diff/97001/98003 File chrome/browser/zygote_main_linux.cc (right): http://codereview.chromium.org/522020/diff/97001/98003#newcode56 chrome/browser/zygote_main_linux.cc:56: // we aren't using SELinux or clang. ...
10 years, 3 months ago (2010-09-17 23:52:40 UTC) #3
Evan Martin
http://codereview.chromium.org/522020/diff/97001/98003 File chrome/browser/zygote_main_linux.cc (right): http://codereview.chromium.org/522020/diff/97001/98003#newcode56 chrome/browser/zygote_main_linux.cc:56: // we aren't using SELinux or clang. On 2010/09/17 ...
10 years, 3 months ago (2010-09-17 23:53:58 UTC) #4
hans
10 years, 3 months ago (2010-09-20 08:11:48 UTC) #5
Very nice to see this stuff going in!

LGTM

http://codereview.chromium.org/522020/diff/97001/98001
File base/linked_list.h (right):

http://codereview.chromium.org/522020/diff/97001/98001#newcode132
base/linked_list.h:132: previous_ = prev; next_ = next;
Nit: two statements on a single row like this is quite rare in Chromium, I
think?

Powered by Google App Engine
This is Rietveld 408576698