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

Issue 147923010: Work on Clang for pure GN build. (Closed)

Created:
6 years, 10 months ago by brettw
Modified:
6 years, 10 months ago
Reviewers:
Nico
CC:
chromium-reviews
Visibility:
Public.

Description

Work on Clang for pure GN build. This hooks up Clang in the pure GN build (not the hybrid GYP mode). Clang gave some warnings about compiler flags which made me realize that we were giving linker flags to the compiler in some cases. So I enhanced our pkg-config wrapper to to add libraries to the cflags (missing else), return ldflags separately, and also strip out -pthread which was getting included over and over. BUG= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=248477

Patch Set 1 #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -17 lines) Patch
M build/config/linux/pkg-config.py View 3 chunks +12 lines, -4 lines 2 comments Download
M build/config/linux/pkg_config.gni View 1 chunk +1 line, -0 lines 0 comments Download
M build/toolchain/linux/BUILD.gn View 5 chunks +33 lines, -13 lines 3 comments Download

Messages

Total messages: 10 (0 generated)
brettw
A bunch of other stuff like goma is still not hooked up.
6 years, 10 months ago (2014-01-29 08:13:33 UTC) #1
Nico
lgtm https://codereview.chromium.org/147923010/diff/1/build/toolchain/linux/BUILD.gn File build/toolchain/linux/BUILD.gn (right): https://codereview.chromium.org/147923010/diff/1/build/toolchain/linux/BUILD.gn#newcode50 build/toolchain/linux/BUILD.gn:50: gcc_toolchain("arm") { clang can target arm too fwiw ...
6 years, 10 months ago (2014-01-29 18:45:48 UTC) #2
brettw
https://codereview.chromium.org/147923010/diff/1/build/toolchain/linux/BUILD.gn File build/toolchain/linux/BUILD.gn (right): https://codereview.chromium.org/147923010/diff/1/build/toolchain/linux/BUILD.gn#newcode70 build/toolchain/linux/BUILD.gn:70: cxx = "$prefix/clang++" On 2014/01/29 18:45:48, Nico wrote: > ...
6 years, 10 months ago (2014-01-30 00:24:03 UTC) #3
brettw
The CQ bit was checked by brettw@chromium.org
6 years, 10 months ago (2014-02-03 09:19:13 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/brettw@chromium.org/147923010/1
6 years, 10 months ago (2014-02-03 09:19:20 UTC) #5
commit-bot: I haz the power
Change committed as 248477
6 years, 10 months ago (2014-02-03 12:11:40 UTC) #6
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-02-03 12:11:41 UTC) #7
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-02-03 12:11:45 UTC) #8
Nico
https://codereview.chromium.org/147923010/diff/1/build/config/linux/pkg-config.py File build/config/linux/pkg-config.py (right): https://codereview.chromium.org/147923010/diff/1/build/config/linux/pkg-config.py#newcode33 build/config/linux/pkg-config.py:33: print "[[],[],[],[]]" I guess this should now read "[[],[],[],[],[]]"?
6 years, 10 months ago (2014-02-19 05:09:10 UTC) #9
Nico
6 years, 10 months ago (2014-02-19 05:18:23 UTC) #10
Message was sent while issue was closed.
https://codereview.chromium.org/147923010/diff/1/build/config/linux/pkg-confi...
File build/config/linux/pkg-config.py (right):

https://codereview.chromium.org/147923010/diff/1/build/config/linux/pkg-confi...
build/config/linux/pkg-config.py:33: print "[[],[],[],[]]"
On 2014/02/19 05:09:10, Nico wrote:
> I guess this should now read "[[],[],[],[],[]]"?

=> https://codereview.chromium.org/171993002/

Powered by Google App Engine
This is Rietveld 408576698