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

Side by Side Diff: build/toolchain/fuchsia/BUILD.gn

Issue 2692273008: Hacky slashy (Closed)
Patch Set: wip Created 3 years, 10 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
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/toolchain/gcc_toolchain.gni")
6 import("//build/config/fuchsia/config.gni")
7
8 gcc_toolchain("x64") {
9 assert(current_cpu == "x64")
10 clang_cpu = "x86_64"
11
12 assert(host_os == "linux")
13 clang_os = "linux"
14
15 clang_name = "clang+llvm-$clang_cpu-$clang_os"
16 clang_path = fuchsia_sdk + "/$clang_name"
17 prefix = rebase_path("$clang_path/bin/", root_build_dir)
18
19 cc = "${prefix}clang"
20 cxx = "${prefix}clang++"
21 ld = cxx
22 ar = "${prefix}llvm-ar"
23
24 toolchain_args = {
25 current_cpu = "x64"
26 current_os = "fuchsia"
27 }
28 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698