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

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

Issue 2841443005: [Bindings] Create and use V8 context snapshots (Closed)
Patch Set: Work for most comments Created 3 years, 6 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
1 # Copyright 2014 The Chromium Authors. All rights reserved. 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 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/compiler/compiler.gni") 5 import("//build/config/compiler/compiler.gni")
6 import("//build/config/sysroot.gni") 6 import("//build/config/sysroot.gni")
7 import("//build/toolchain/gcc_toolchain.gni") 7 import("//build/toolchain/gcc_toolchain.gni")
8 import("//build/toolchain/cros_toolchain.gni") 8 import("//build/toolchain/cros_toolchain.gni")
9 9
10 # This is the normal toolchain for most targets. 10 # This is the normal toolchain for most targets.
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 extra_cppflags = cros_host_extra_cppflags 91 extra_cppflags = cros_host_extra_cppflags
92 extra_cxxflags = cros_host_extra_cxxflags 92 extra_cxxflags = cros_host_extra_cxxflags
93 extra_ldflags = cros_host_extra_ldflags 93 extra_ldflags = cros_host_extra_ldflags
94 94
95 toolchain_args = { 95 toolchain_args = {
96 cc_wrapper = "" 96 cc_wrapper = ""
97 is_clang = cros_host_is_clang 97 is_clang = cros_host_is_clang
98 current_cpu = host_cpu 98 current_cpu = host_cpu
99 current_os = "linux" 99 current_os = "linux"
100 use_sysroot = false 100 use_sysroot = false
101
102 use_cras = false
103 use_x11 = false
104 ozone_platform_gbm = false
105 use_ozone = false
106 use_system_harfbuzz = false
101 } 107 }
102 } 108 }
103 109
104 gcc_toolchain("v8_snapshot") { 110 gcc_toolchain("v8_snapshot") {
105 # These are args for the template. 111 # These are args for the template.
106 ar = cros_v8_snapshot_ar 112 ar = cros_v8_snapshot_ar
107 cc = cros_v8_snapshot_cc 113 cc = cros_v8_snapshot_cc
108 cxx = cros_v8_snapshot_cxx 114 cxx = cros_v8_snapshot_cxx
109 ld = cxx 115 ld = cxx
110 if (cros_v8_snapshot_ld != "") { 116 if (cros_v8_snapshot_ld != "") {
(...skipping 16 matching lines...) Expand all
127 if (target_cpu == "x86" || target_cpu == "arm" || target_cpu == "mipsel") { 133 if (target_cpu == "x86" || target_cpu == "arm" || target_cpu == "mipsel") {
128 current_cpu = "x86" 134 current_cpu = "x86"
129 } else { 135 } else {
130 current_cpu = "x64" 136 current_cpu = "x64"
131 } 137 }
132 v8_current_cpu = v8_target_cpu 138 v8_current_cpu = v8_target_cpu
133 current_os = "linux" 139 current_os = "linux"
134 use_sysroot = false 140 use_sysroot = false
135 } 141 }
136 } 142 }
OLDNEW
« no previous file with comments | « build/config/features.gni ('k') | chrome/BUILD.gn » ('j') | chrome/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698