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

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

Issue 549453004: GN: Fix compile errors with os==chromeos mojo/public build (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@signed
Patch Set: Include new complete static library attribute on libmojo_sdk Created 6 years, 3 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 2014 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/clang.gni")
6 import("//build/toolchain/gcc_toolchain.gni")
7
8 declare_args() {
9 cros_target_cc = ""
brettw 2014/09/23 20:20:17 Documentation.
Chris Masone 2014/09/23 22:33:59 Done.
10 cros_target_cxx = ""
11 cros_target_ar = ""
12 }
13
14 gcc_toolchain("target") {
15 assert(cros_target_cc != "", "Must provide target CC.")
16 assert(cros_target_cxx != "", "Must provide target CXX.")
17 assert(cros_target_ar != "", "Must provide target AR.")
18
19 cc = "${cros_target_cc}"
20 cxx = "${cros_target_cxx}"
21
22 ar = "${cros_target_ar}"
23 ld = cxx
24
25 toolchain_cpu_arch = "${cpu_arch}"
26 toolchain_os = "linux"
27 is_clang = is_clang
28 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698