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

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

Issue 2116183002: Land chromium-side work to clean up handling of v8_target_cpu in the GN build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix missing import 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/gcc_toolchain.gni ('k') | chrome/test/base/js2gtest.gni » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/sysroot.gni") 5 import("//build/config/sysroot.gni")
6 import("//build/toolchain/gcc_toolchain.gni") 6 import("//build/toolchain/gcc_toolchain.gni")
7 7
8 clang_toolchain("clang_arm") { 8 clang_toolchain("clang_arm") {
9 toolchain_cpu = "arm" 9 toolchain_cpu = "arm"
10 toolchain_os = "linux" 10 toolchain_os = "linux"
(...skipping 20 matching lines...) Expand all
31 toolchain_cpu = "arm" 31 toolchain_cpu = "arm"
32 toolchain_os = "linux" 32 toolchain_os = "linux"
33 is_clang = false 33 is_clang = false
34 } 34 }
35 35
36 clang_toolchain("clang_x86") { 36 clang_toolchain("clang_x86") {
37 toolchain_cpu = "x86" 37 toolchain_cpu = "x86"
38 toolchain_os = "linux" 38 toolchain_os = "linux"
39 } 39 }
40 40
41 clang_toolchain("clang_x86_v8_arm") {
42 toolchain_cpu = "x86"
43 v8_toolchain_cpu = "arm"
44 toolchain_os = "linux"
45 }
46
41 gcc_toolchain("x86") { 47 gcc_toolchain("x86") {
42 cc = "gcc" 48 cc = "gcc"
43 cxx = "g++" 49 cxx = "g++"
44 50
45 readelf = "readelf" 51 readelf = "readelf"
46 nm = "nm" 52 nm = "nm"
47 ar = "ar" 53 ar = "ar"
48 ld = cxx 54 ld = cxx
49 55
50 toolchain_cpu = "x86" 56 toolchain_cpu = "x86"
51 toolchain_os = "linux" 57 toolchain_os = "linux"
52 is_clang = false 58 is_clang = false
53 } 59 }
54 60
55 clang_toolchain("clang_x64") { 61 clang_toolchain("clang_x64") {
56 toolchain_cpu = "x64" 62 toolchain_cpu = "x64"
57 toolchain_os = "linux" 63 toolchain_os = "linux"
58 } 64 }
59 65
66 clang_toolchain("clang_x64_v8_arm64") {
67 toolchain_cpu = "x64"
68 v8_toolchain_cpu = "arm64"
69 toolchain_os = "linux"
70 }
71
60 gcc_toolchain("x64") { 72 gcc_toolchain("x64") {
61 cc = "gcc" 73 cc = "gcc"
62 cxx = "g++" 74 cxx = "g++"
63 75
64 readelf = "readelf" 76 readelf = "readelf"
65 nm = "nm" 77 nm = "nm"
66 ar = "ar" 78 ar = "ar"
67 ld = cxx 79 ld = cxx
68 80
69 toolchain_cpu = "x64" 81 toolchain_cpu = "x64"
(...skipping 13 matching lines...) Expand all
83 ld = cxx 95 ld = cxx
84 readelf = "mipsel-linux-gnu-readelf" 96 readelf = "mipsel-linux-gnu-readelf"
85 nm = "mipsel-linux-gnu-nm" 97 nm = "mipsel-linux-gnu-nm"
86 98
87 toolchain_cpu = "mipsel" 99 toolchain_cpu = "mipsel"
88 toolchain_os = "linux" 100 toolchain_os = "linux"
89 is_clang = false 101 is_clang = false
90 cc_wrapper = "" 102 cc_wrapper = ""
91 use_goma = false 103 use_goma = false
92 } 104 }
OLDNEW
« no previous file with comments | « build/toolchain/gcc_toolchain.gni ('k') | chrome/test/base/js2gtest.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698