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

Issue 2317693002: icecc support for cros host build

Created:
4 years, 3 months ago by dshwang
Modified:
4 years, 3 months ago
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

icecc support for cros host build GN supports icecc via |cc_wrapper| on all platforms except for cros. [1] This CL makes |cc_wrapper| work on cros also [2] icecc needs folloing additioinal GN flags use_debug_fission=false linux_use_bundled_binutils=false clang_use_chrome_plugins=false cc_wrapper="icecc" In addition, it addes an assertion "cc_wrapper is not supported on target build." [1] https://crrev.com/e279af1c9c511972000049b2c4d261161b48075d [2] http://www.chromium.org/chromium-os/how-tos-and-troubleshooting/building-chromium-browser BUG=645435

Patch Set 1 #

Total comments: 1

Patch Set 2 : apply only host #

Patch Set 3 : add assertion #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -2 lines) Patch
M build/toolchain/cros/BUILD.gn View 1 2 2 chunks +11 lines, -2 lines 0 comments Download

Messages

Total messages: 23 (17 generated)
dshwang
brettw@chromium.org: Please review the changes. It's kind of follow-up of https://codereview.chromium.org/1660053005
4 years, 3 months ago (2016-09-06 14:45:32 UTC) #4
dshwang
https://codereview.chromium.org/2317693002/diff/1/build/toolchain/cros/BUILD.gn File build/toolchain/cros/BUILD.gn (right): https://codereview.chromium.org/2317693002/diff/1/build/toolchain/cros/BUILD.gn#newcode19 build/toolchain/cros/BUILD.gn:19: cxx = compiler_prefix + cros_target_cxx exclude target build, because ...
4 years, 3 months ago (2016-09-06 15:00:12 UTC) #7
brettw
On 2016/09/06 15:00:12, dshwang wrote: > https://codereview.chromium.org/2317693002/diff/1/build/toolchain/cros/BUILD.gn > File build/toolchain/cros/BUILD.gn (right): > > https://codereview.chromium.org/2317693002/diff/1/build/toolchain/cros/BUILD.gn#newcode19 > ...
4 years, 3 months ago (2016-09-06 17:37:09 UTC) #10
dshwang
On 2016/09/06 17:37:09, brettw (ping on IM after 24h) wrote: > On 2016/09/06 15:00:12, dshwang ...
4 years, 3 months ago (2016-09-06 18:27:20 UTC) #11
dshwang
On 2016/09/06 17:37:09, brettw (ping on IM after 24h) wrote: > I'm thinking we should ...
4 years, 3 months ago (2016-09-09 12:22:05 UTC) #19
brettw
4 years, 3 months ago (2016-09-14 17:44:14 UTC) #23
On 2016/09/09 12:22:05, dshwang wrote:
> On 2016/09/06 17:37:09, brettw (ping on IM after 24h) wrote:
> > I'm thinking we should add an assert about icecc usage working, and add an
> > assertion that this flag isn't set on ChromeOS (referencing the bug) until
the
> > bug is fixed. Then we enable it everywhere.
> 
> I filed crbug https://bugs.chromium.org/p/chromium/issues/detail?id=645435
> and add an assertion in patch set 3.
> 
> Preserve host build support, because it just works and assertion let user know
> target is not supported.

Can you use the GN "assert" function instead, which will mark the run as failed?
Otherwise this will just spam the console and nothing will happen.

Powered by Google App Engine
This is Rietveld 408576698