Граф коммитов

5 Коммитов

Автор SHA1 Сообщение Дата
Peter Collingbourne ac54aef545 build: Don't run update.py for the clang revision if clang_base_path has a non-default value.
This fixes a gn failure (svn info in //third_party/llvm) when building
with a self-built clang and llvm_force_head_revision=true.

Change-Id: If56bea54b58482cb3a4f864ee2bf4a8b66f0beef
Reviewed-on: https://chromium-review.googlesource.com/903081
Commit-Queue: Peter Collingbourne <pcc@chromium.org>
Reviewed-by: Nico Weber <thakis@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#534611}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 2a4dbb093a151bbaa648d929320da30c5e40fa77
2018-02-06 03:25:17 +00:00
sigbjornf 454966248d gn: define and use clang_base_path
Replace uses of "//third_party/llvm-build/Release+Asserts"
with the configurable option clang_base_path.

TBR=thakis
BUG=

Review-Url: https://codereview.chromium.org/2088373002
Cr-Original-Commit-Position: refs/heads/master@{#401551}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: c1369c7c73fc9bcf2d9edb29e9c5b5ed0c5f66d5
2016-06-23 06:33:45 +00:00
sdefresne ca840d396d [iOS/GN] Allow compilation with system clang.
The official Chrome on iOS build are build using the version of clang
shipped with Xcode (a.k.a. the system version of clang). This CL adds
a flag to allow building with this version of clang instead of the
hermetic shipped with Chromium source (i.e. ToT clang).

When building with system version of clang, some compiler warning have
to be flipped as they are unsupported and the plugins are disabled (as
they only work for a single version of clang).

Refactor the definition of the toolchain for iOS and correctly set the
default_toolchain when targetting iOS based on target_cpu (used to be
incorrectly set to "//build/toolchain/mac:ios_clang_arm").

BUG=620376

Review-Url: https://codereview.chromium.org/2079283002
Cr-Original-Commit-Position: refs/heads/master@{#401119}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: fe65591ff09b9180898e303ec4831d4e7dfb10e9
2016-06-21 22:00:38 +00:00
ncbray 8b78f0bf7e GN: prevent Clang plugins from being injected into NaCl toolchains.
BUG=https://code.google.com/p/chromium/issues/detail?id=401761

Review URL: https://codereview.chromium.org/782813002

Cr-Original-Commit-Position: refs/heads/master@{#307289}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: aa0a9e54e921229cd58420cc8652a0859a0d702c
2014-12-08 18:44:21 +00:00
brettw@chromium.org ae1a01fcb6 Hook up WebKit WTF to GN build.
This also moves the "use clang plugins" flag to a GNI file so it can be shared (WebKit needs to read this flag).

TBR=scottmg

Review URL: https://codereview.chromium.org/248323004

git-svn-id: http://src.chromium.org/svn/trunk/src/build@265940 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-04-24 16:44:04 +00:00