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

Issue 2784063002: Config changes to support target_os="fuchsia" (Closed)

Created:
3 years, 8 months ago by scottmg
Modified:
3 years, 7 months ago
Reviewers:
brettw, Nico, miu
CC:
chromium-reviews, jamesr1
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Config changes to support target_os="fuchsia" Fuchsia support has been upstreamed into Clang, so the existing Linux-hosted Clang toolchain binaries in third_party with the correct --target are sufficient. Fuchsia is POSIXy so a lot of things will just work, but some places will require different implementations, so this CL adds support for is_fuchsia as well as a basic implementation of the toolchain config. The SDK (headers, sysroot, etc.) is currently available at go/fuchsia-sdk until a standard location for it is decided upon. The near term goal behind this CL is to bring up base/ and net/ on an fyi bot running Fuchsia. BUG=706592 Review-Url: https://codereview.chromium.org/2784063002 Cr-Commit-Position: refs/heads/master@{#471360} Committed: https://chromium.googlesource.com/chromium/src/+/2f97ee120e2d83a87e36e50432b58e790db160ff

Patch Set 1 #

Patch Set 2 : self review #

Total comments: 1

Patch Set 3 : . #

Patch Set 4 : rebase #

Patch Set 5 : rebase #

Patch Set 6 : rebase after s390 #

Total comments: 6

Patch Set 7 : review fixes #

Total comments: 4

Patch Set 8 : . #

Total comments: 3

Patch Set 9 : no std c++14/c11 #

Patch Set 10 : ahem #

Total comments: 2

Patch Set 11 : simplify #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+149 lines, -34 lines) Patch
M BUILD.gn View 1 2 3 4 5 9 chunks +19 lines, -14 lines 0 comments Download
M PRESUBMIT.py View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M build/build_config.h View 1 2 3 3 chunks +8 lines, -8 lines 0 comments Download
M build/config/BUILDCONFIG.gn View 1 2 3 4 5 9 chunks +22 lines, -1 line 2 comments Download
M build/config/allocator.gni View 2 3 1 chunk +1 line, -1 line 0 comments Download
M build/config/compiler/BUILD.gn View 1 2 3 4 5 6 7 8 9 2 chunks +3 lines, -1 line 0 comments Download
M build/config/compiler/compiler.gni View 1 2 3 1 chunk +8 lines, -6 lines 0 comments Download
A build/config/fuchsia/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 1 chunk +30 lines, -0 lines 0 comments Download
A build/config/fuchsia/OWNERS View 1 chunk +1 line, -0 lines 0 comments Download
A build/config/fuchsia/config.gni View 1 chunk +10 lines, -0 lines 0 comments Download
M build/config/sysroot.gni View 1 2 3 4 5 1 chunk +11 lines, -0 lines 0 comments Download
A build/toolchain/fuchsia/BUILD.gn View 1 chunk +16 lines, -0 lines 0 comments Download
A build/toolchain/fuchsia/OWNERS View 1 chunk +1 line, -0 lines 0 comments Download
M extensions/features/features.gni View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M remoting/remoting_enable.gni View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/.gitignore View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M third_party/libxml/BUILD.gn View 1 2 3 4 5 5 chunks +15 lines, -1 line 0 comments Download

Messages

Total messages: 72 (47 generated)
scottmg
Brett, I'm guessing you likely have Feelings about this. Could you review? https://codereview.chromium.org/2784063002/diff/40001/build/build_config.h File build/build_config.h ...
3 years, 8 months ago (2017-03-29 22:53:17 UTC) #9
scottmg
(rebased after AIX changes landed)
3 years, 7 months ago (2017-05-01 20:50:07 UTC) #14
scottmg
(rebased after s390 (what the?))
3 years, 7 months ago (2017-05-10 18:50:30 UTC) #27
Nico
Looks overall good to me (not that it matters much), except for the deprecation warning ...
3 years, 7 months ago (2017-05-11 15:03:16 UTC) #31
scottmg
Thanks! https://codereview.chromium.org/2784063002/diff/180001/build/config/compiler/BUILD.gn File build/config/compiler/BUILD.gn (right): https://codereview.chromium.org/2784063002/diff/180001/build/config/compiler/BUILD.gn#newcode346 build/config/compiler/BUILD.gn:346: # referenced. On 2017/05/11 15:03:16, Nico wrote: > ...
3 years, 7 months ago (2017-05-11 16:36:10 UTC) #32
Nico
Thanks! Sorry, found something else: https://codereview.chromium.org/2784063002/diff/180001/build/config/fuchsia/BUILD.gn File build/config/fuchsia/BUILD.gn (right): https://codereview.chromium.org/2784063002/diff/180001/build/config/fuchsia/BUILD.gn#newcode16 build/config/fuchsia/BUILD.gn:16: # deprecated interfaces. On ...
3 years, 7 months ago (2017-05-11 16:42:05 UTC) #35
scottmg
https://codereview.chromium.org/2784063002/diff/200001/build/config/fuchsia/BUILD.gn File build/config/fuchsia/BUILD.gn (right): https://codereview.chromium.org/2784063002/diff/200001/build/config/fuchsia/BUILD.gn#newcode1 build/config/fuchsia/BUILD.gn:1: # Copyright 2017 The Fuchsia Authors. All rights reserved. ...
3 years, 7 months ago (2017-05-11 17:16:17 UTC) #36
Nico
https://codereview.chromium.org/2784063002/diff/220001/build/config/compiler/BUILD.gn File build/config/compiler/BUILD.gn (left): https://codereview.chromium.org/2784063002/diff/220001/build/config/compiler/BUILD.gn#oldcode342 build/config/compiler/BUILD.gn:342: ldflags += [ "-Wl,--as-needed" ] Removing this probably wasn't ...
3 years, 7 months ago (2017-05-11 17:43:38 UTC) #37
scottmg
https://codereview.chromium.org/2784063002/diff/220001/build/config/fuchsia/BUILD.gn File build/config/fuchsia/BUILD.gn (right): https://codereview.chromium.org/2784063002/diff/220001/build/config/fuchsia/BUILD.gn#newcode13 build/config/fuchsia/BUILD.gn:13: cflags_cc = [ "-std=c++14" ] On 2017/05/11 17:43:37, Nico ...
3 years, 7 months ago (2017-05-11 17:52:53 UTC) #38
Nico
patch set 10 lgtm, but one more question https://codereview.chromium.org/2784063002/diff/280001/build/config/fuchsia/BUILD.gn File build/config/fuchsia/BUILD.gn (right): https://codereview.chromium.org/2784063002/diff/280001/build/config/fuchsia/BUILD.gn#newcode27 build/config/fuchsia/BUILD.gn:27: cflags ...
3 years, 7 months ago (2017-05-11 18:04:14 UTC) #45
scottmg
Soon everything will be deleted. Thanks! https://codereview.chromium.org/2784063002/diff/280001/build/config/fuchsia/BUILD.gn File build/config/fuchsia/BUILD.gn (right): https://codereview.chromium.org/2784063002/diff/280001/build/config/fuchsia/BUILD.gn#newcode27 build/config/fuchsia/BUILD.gn:27: cflags = [ ...
3 years, 7 months ago (2017-05-11 18:16:36 UTC) #46
Nico
lgtm++, I'm afraid parts of the patch are in fact needed :-) On 2017/05/11 18:16:36, ...
3 years, 7 months ago (2017-05-11 18:22:53 UTC) #47
scottmg
On 2017/05/11 18:22:53, Nico wrote: > lgtm++, I'm afraid parts of the patch are in ...
3 years, 7 months ago (2017-05-11 18:24:24 UTC) #48
miu
https://codereview.chromium.org/2784063002/diff/300001/build/config/BUILDCONFIG.gn File build/config/BUILDCONFIG.gn (right): https://codereview.chromium.org/2784063002/diff/300001/build/config/BUILDCONFIG.gn#newcode399 build/config/BUILDCONFIG.gn:399: sources_assignment_filter = [] Given recent discussion in the "Fuchsia ...
3 years, 7 months ago (2017-05-11 21:18:13 UTC) #52
miu
On 2017/05/11 21:18:13, miu wrote: > https://codereview.chromium.org/2784063002/diff/300001/build/config/BUILDCONFIG.gn > File build/config/BUILDCONFIG.gn (right): > > https://codereview.chromium.org/2784063002/diff/300001/build/config/BUILDCONFIG.gn#newcode399 > ...
3 years, 7 months ago (2017-05-11 21:18:54 UTC) #53
Nico
The very-long-time-plan for sources_assignment_filter is that it should go away, replaced by explicit is_foo checks. ...
3 years, 7 months ago (2017-05-11 21:22:19 UTC) #54
scottmg
https://codereview.chromium.org/2784063002/diff/300001/build/config/BUILDCONFIG.gn File build/config/BUILDCONFIG.gn (right): https://codereview.chromium.org/2784063002/diff/300001/build/config/BUILDCONFIG.gn#newcode399 build/config/BUILDCONFIG.gn:399: sources_assignment_filter = [] On 2017/05/11 21:18:11, miu wrote: > ...
3 years, 7 months ago (2017-05-11 21:24:53 UTC) #55
jamesr1
FWIW I strongly support trying to move away from sources_assignment_filter in as many places as ...
3 years, 7 months ago (2017-05-11 22:00:32 UTC) #57
jamesr1
On 2017/05/11 at 22:00:32, jamesr1 wrote: > https://codereview.chromium.org/2784063002/diff/180001/build/config/compiler/BUILD.gn > File build/config/compiler/BUILD.gn (right): > > https://codereview.chromium.org/2784063002/diff/180001/build/config/compiler/BUILD.gn#newcode344 ...
3 years, 7 months ago (2017-05-11 22:02:13 UTC) #59
jamesr1
On 2017/05/11 at 17:52:53, scottmg wrote: > > On that note, which c++ standard library ...
3 years, 7 months ago (2017-05-11 22:04:20 UTC) #60
jamesr1
3 years, 7 months ago (2017-05-11 22:04:51 UTC) #62
Nico
On Thu, May 11, 2017 at 6:04 PM, <jamesr@google.com> wrote: > On 2017/05/11 at 17:52:53, ...
3 years, 7 months ago (2017-05-11 22:06:42 UTC) #64
brettw
BUILDCONFIG.gn LGTM
3 years, 7 months ago (2017-05-12 17:28:57 UTC) #67
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2784063002/300001
3 years, 7 months ago (2017-05-12 17:30:15 UTC) #69
commit-bot: I haz the power
3 years, 7 months ago (2017-05-12 17:50:58 UTC) #72
Message was sent while issue was closed.
Committed patchset #11 (id:300001) as
https://chromium.googlesource.com/chromium/src/+/2f97ee120e2d83a87e36e50432b5...

Powered by Google App Engine
This is Rietveld 408576698