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

Side by Side Diff: chromeos/BUILD.gn

Issue 1647453002: allocator cleanup: remove dependencies on allocator from all targets (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: pure rebase Created 4 years, 10 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 | « chrome/tools/service_discovery_sniffer/BUILD.gn ('k') | chromeos/chromeos.gyp » ('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 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/allocator.gni")
6 import("//build/config/ui.gni") 5 import("//build/config/ui.gni")
7 import("//testing/test.gni") 6 import("//testing/test.gni")
8 import("//third_party/protobuf/proto_library.gni") 7 import("//third_party/protobuf/proto_library.gni")
9 8
10 assert(is_chromeos, "Non-ChromeOS builds must not depend on //chromeos") 9 assert(is_chromeos, "Non-ChromeOS builds must not depend on //chromeos")
11 10
12 declare_args() { 11 declare_args() {
13 # Use binder. Binder related code is compiled only when true. 12 # Use binder. Binder related code is compiled only when true.
14 use_binder = false 13 use_binder = false
15 } 14 }
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 "//dbus:test_support", 154 "//dbus:test_support",
156 "//google_apis", 155 "//google_apis",
157 "//net", 156 "//net",
158 "//net:test_support", 157 "//net:test_support",
159 "//testing/gmock", 158 "//testing/gmock",
160 "//testing/gtest", 159 "//testing/gtest",
161 "//third_party/icu", 160 "//third_party/icu",
162 "//url", 161 "//url",
163 ] 162 ]
164 sources = gypi_values.chromeos_test_sources 163 sources = gypi_values.chromeos_test_sources
165 if (use_allocator != "none") {
166 deps += [ "//base/allocator" ]
167 }
168 if (use_binder) { 164 if (use_binder) {
169 if (target_cpu == "arm" || target_cpu == "x86") { 165 if (target_cpu == "arm" || target_cpu == "x86") {
170 defines += [ "BINDER_IPC_32BIT" ] 166 defines += [ "BINDER_IPC_32BIT" ]
171 } 167 }
172 sources += gypi_values.chromeos_binder_test_sources 168 sources += gypi_values.chromeos_binder_test_sources
173 } 169 }
174 } 170 }
175 171
176 proto_library("power_manager_proto") { 172 proto_library("power_manager_proto") {
177 sources = [ 173 sources = [
(...skipping 16 matching lines...) Expand all
194 proto_out_dir = "chromeos/dbus/cryptohome" 190 proto_out_dir = "chromeos/dbus/cryptohome"
195 } 191 }
196 192
197 proto_library("cryptohome_signkey_proto") { 193 proto_library("cryptohome_signkey_proto") {
198 sources = [ 194 sources = [
199 "//third_party/cros_system_api/dbus/cryptohome/signed_secret.proto", 195 "//third_party/cros_system_api/dbus/cryptohome/signed_secret.proto",
200 ] 196 ]
201 197
202 proto_out_dir = "chromeos/cryptohome" 198 proto_out_dir = "chromeos/cryptohome"
203 } 199 }
OLDNEW
« no previous file with comments | « chrome/tools/service_discovery_sniffer/BUILD.gn ('k') | chromeos/chromeos.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698