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

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

Issue 2101243005: Add a snapshot of flutter/engine/src/build to our sdk (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: add README.dart Created 4 years, 5 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/toolchain/clang.gni ('k') | build/toolchain/fnl/BUILD.gn » ('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 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 # The CrOS build system supports many different kinds of targets across
10 # many different architectures. Bringing your own toolchain is also supported,
11 # so it's actually impossible to enumerate all toolchains for all targets
12 # as GN toolchain specifications.
13 # These arguments provide a mechanism for specifying your CC, CXX and AR at
14 # buildfile-generation time, allowing the CrOS build system to always use
15 # the right tools for the current target.
16 cros_target_cc = ""
17 cros_target_cxx = ""
18 cros_target_ar = ""
19 }
20
21 gcc_toolchain("target") {
22 assert(cros_target_cc != "", "Must provide target CC.")
23 assert(cros_target_cxx != "", "Must provide target CXX.")
24 assert(cros_target_ar != "", "Must provide target AR.")
25
26 cc = "${cros_target_cc}"
27 cxx = "${cros_target_cxx}"
28
29 ar = "${cros_target_ar}"
30 ld = cxx
31
32 toolchain_cpu = "${target_cpu}"
33 toolchain_os = "linux"
34 is_clang = is_clang
35 }
OLDNEW
« no previous file with comments | « build/toolchain/clang.gni ('k') | build/toolchain/fnl/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698