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

Unified Diff: build/toolchain/cros/BUILD.gn

Issue 1581753002: Remove Chrome OS-related GN build configuration (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Delete build/toolchain/cros Created 4 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/secondary/tools/grit/grit_rule.gni ('k') | third_party/breakpad/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/toolchain/cros/BUILD.gn
diff --git a/build/toolchain/cros/BUILD.gn b/build/toolchain/cros/BUILD.gn
deleted file mode 100644
index 9174161ed9657572c5860b5c8a3d58087d67c268..0000000000000000000000000000000000000000
--- a/build/toolchain/cros/BUILD.gn
+++ /dev/null
@@ -1,37 +0,0 @@
-# Copyright 2014 The Chromium Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-import("//build/toolchain/clang.gni")
-import("//build/toolchain/gcc_toolchain.gni")
-
-declare_args() {
- # The CrOS build system supports many different kinds of targets across
- # many different architectures. Bringing your own toolchain is also supported,
- # so it's actually impossible to enumerate all toolchains for all targets
- # as GN toolchain specifications.
- # These arguments provide a mechanism for specifying your CC, CXX and AR at
- # buildfile-generation time, allowing the CrOS build system to always use
- # the right tools for the current target.
- cros_target_cc = ""
- cros_target_cxx = ""
- cros_target_ar = ""
-}
-
-gcc_toolchain("target") {
- assert(cros_target_cc != "", "Must provide target CC.")
- assert(cros_target_cxx != "", "Must provide target CXX.")
- assert(cros_target_ar != "", "Must provide target AR.")
-
- cc = "${cros_target_cc}"
- cxx = "${cros_target_cxx}"
-
- ar = "${cros_target_ar}"
- ld = cxx
-
- toolchain_cpu = "${target_cpu}"
- toolchain_os = "linux"
- is_clang = is_clang
- use_ccache = false
- use_goma = false
-}
« no previous file with comments | « build/secondary/tools/grit/grit_rule.gni ('k') | third_party/breakpad/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698