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

Side by Side Diff: build/config/c++/BUILD.gn

Issue 2931983003: Move libc++ configs and flags out of //build/config/sanitizers (Closed)
Patch Set: Update installer files Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « build/config/BUILD.gn ('k') | build/config/c++/c++.gni » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright 2017 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 import("//build/config/c++/c++.gni")
6
7 config("c++flags") {
8 if (use_custom_libcxx) {
9 prefix = "//buildtools/third_party"
10 include = "trunk/include"
11 cflags_cc = [
12 "-nostdinc++",
13 "-isystem" + rebase_path("$prefix/libc++/$include", root_build_dir),
14 "-isystem" + rebase_path("$prefix/libc++abi/$include", root_build_dir),
15 ]
16 }
17 }
OLDNEW
« no previous file with comments | « build/config/BUILD.gn ('k') | build/config/c++/c++.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698