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

Issue 117863003: Work on GN toolchain definitions and build (Closed)

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

Description

This adds preliminary support for Android toolchains. The logic is copied from the current GYP build. Refactors the toolchain definitions by adding an include file to help defining GCC toolchains. This eliminates most of the duplication on Linux and Android. Adds make_global_settings for most Linux and Mac builds that should match the GYP build (this will require some more passes to get every place to be an exact match). Fixes Android build issues in WebKit. Fixes the definition of is_android. Renames the Linux toolchains to use the GN name of the CPU architecture so one can refer to them without conditionals. Remove conditionals from BUILDCONFIG.gn Adds the gyp_header variable to the help (it wasn't getting inserted into the list of available variables). R=thakis@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=242674

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Total comments: 13

Patch Set 8 : Fix non-Clang Mac #

Patch Set 9 : review comments #

Patch Set 10 : merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+403 lines, -181 lines) Patch
M build/config/BUILDCONFIG.gn View 1 2 3 4 5 6 7 8 3 chunks +8 lines, -16 lines 0 comments Download
A build/toolchain/android/BUILD.gn View 1 2 3 4 5 6 7 8 1 chunk +101 lines, -0 lines 0 comments Download
A build/toolchain/android/default_goma_for_android.py View 1 2 3 4 5 6 1 chunk +17 lines, -0 lines 0 comments Download
A build/toolchain/clang.gni View 1 2 3 4 5 6 7 8 1 chunk +35 lines, -0 lines 0 comments Download
A build/toolchain/gcc_toolchain.gni View 1 2 3 4 1 chunk +68 lines, -0 lines 0 comments Download
A build/toolchain/get_default_posix_goma_dir.py View 1 2 3 4 5 6 7 8 1 chunk +11 lines, -0 lines 0 comments Download
A build/toolchain/goma.gni View 1 2 3 4 5 6 7 8 1 chunk +54 lines, -0 lines 0 comments Download
M build/toolchain/linux/BUILD.gn View 1 2 3 4 5 6 1 chunk +57 lines, -163 lines 0 comments Download
A build/toolchain/linux/find_android_compilers.py View 1 2 3 4 5 6 7 8 1 chunk +31 lines, -0 lines 0 comments Download
M build/toolchain/mac/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +19 lines, -2 lines 0 comments Download
M tools/gn/secondary/third_party/WebKit/Source/wtf/BUILD.gn View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M tools/gn/variables.cc View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
brettw
6 years, 12 months ago (2013-12-26 21:37:33 UTC) #1
Nico
A bot: ERROR at //build/toolchain/mac/BUILD.gn:24:6: Undefined identifier ld = cxx  ^-- Generating gyp files ...
6 years, 12 months ago (2013-12-26 21:57:25 UTC) #2
brettw
On 2013/12/26 21:57:25, Nico wrote: > A bot: > ERROR at //build/toolchain/mac/BUILD.gn:24:6: Undefined identifier > ...
6 years, 12 months ago (2013-12-26 22:13:01 UTC) #3
Nico
Mostly lgtm (decide yourself which comments you'd like to address) I wonder if it's maybe ...
6 years, 12 months ago (2013-12-26 22:14:33 UTC) #4
brettw
On 2013/12/26 22:14:33, Nico wrote: > Mostly lgtm (decide yourself which comments you'd like to ...
6 years, 12 months ago (2013-12-26 23:01:29 UTC) #5
brettw
6 years, 12 months ago (2013-12-28 06:49:39 UTC) #6
Message was sent while issue was closed.
Committed patchset #10 manually as r242674 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698