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

Side by Side Diff: chrome/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 | « cc/cc_tests.gyp ('k') | chrome/android/chrome_apk.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/chrome_build.gni") 5 import("//build/config/chrome_build.gni")
6 import("//build/config/compiler/compiler.gni") 6 import("//build/config/compiler/compiler.gni")
7 import("//build/config/features.gni") 7 import("//build/config/features.gni")
8 import("//build/config/locales.gni") 8 import("//build/config/locales.gni")
9 import("//build/config/sanitizers/sanitizers.gni") 9 import("//build/config/sanitizers/sanitizers.gni")
10 import("//build/config/ui.gni") 10 import("//build/config/ui.gni")
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 "app/chrome_main_delegate.cc", 171 "app/chrome_main_delegate.cc",
172 "app/chrome_main_delegate.h", 172 "app/chrome_main_delegate.h",
173 ] 173 ]
174 174
175 deps += [ 175 deps += [
176 # On Linux, link the dependencies (libraries) that make up actual 176 # On Linux, link the dependencies (libraries) that make up actual
177 # Chromium functionality directly into the executable. 177 # Chromium functionality directly into the executable.
178 ":browser_dependencies", 178 ":browser_dependencies",
179 ":child_dependencies", 179 ":child_dependencies",
180 ":manpage", 180 ":manpage",
181 "//base/allocator",
182 181
183 # Needed to use the master_preferences functions 182 # Needed to use the master_preferences functions
184 "//chrome/installer/util:with_no_strings", 183 "//chrome/installer/util:with_no_strings",
185 "//content/public/app:both", 184 "//content/public/app:both",
186 ] 185 ]
187 if (enable_plugins && enable_pdf) { 186 if (enable_plugins && enable_pdf) {
188 deps += [ "//pdf" ] 187 deps += [ "//pdf" ]
189 } 188 }
190 189
191 public_deps = [ 190 public_deps = [
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
286 "app/chrome_main_delegate.cc", 285 "app/chrome_main_delegate.cc",
287 "app/chrome_main_delegate.h", 286 "app/chrome_main_delegate.h",
288 "app/chrome_main_mac.h", 287 "app/chrome_main_mac.h",
289 "app/chrome_main_mac.mm", 288 "app/chrome_main_mac.mm",
290 "app/delay_load_hook_win.cc", 289 "app/delay_load_hook_win.cc",
291 "app/delay_load_hook_win.h", 290 "app/delay_load_hook_win.h",
292 ] 291 ]
293 292
294 deps = [ 293 deps = [
295 ":browser_dependencies", 294 ":browser_dependencies",
296 "//base/allocator",
297 "//build/config/sanitizers:deps", 295 "//build/config/sanitizers:deps",
298 ] 296 ]
299 if (is_win) { 297 if (is_win) {
300 output_name = "chrome" 298 output_name = "chrome"
301 299
302 deps += [ 300 deps += [
303 ":chrome_dll_manifest", 301 ":chrome_dll_manifest",
304 ":chrome_dll_version", 302 ":chrome_dll_version",
305 "//base/trace_event/etw_manifest:chrome_events_win", 303 "//base/trace_event/etw_manifest:chrome_events_win",
306 "//chrome/app/theme:chrome_unscaled_resources", 304 "//chrome/app/theme:chrome_unscaled_resources",
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
387 "app/chrome_main_delegate.h", 385 "app/chrome_main_delegate.h",
388 ] 386 ]
389 387
390 configs += [ "//build/config/compiler:wexit_time_destructors" ] 388 configs += [ "//build/config/compiler:wexit_time_destructors" ]
391 defines = [ "CHROME_MULTIPLE_DLL_CHILD" ] 389 defines = [ "CHROME_MULTIPLE_DLL_CHILD" ]
392 390
393 deps = [ 391 deps = [
394 ":child_dependencies", 392 ":child_dependencies",
395 ":chrome_child_manifest", 393 ":chrome_child_manifest",
396 ":chrome_dll_version", 394 ":chrome_dll_version",
397 "//base/allocator",
398 "//build/config/sanitizers:deps", 395 "//build/config/sanitizers:deps",
399 "//components/browser_watcher:browser_watcher_client", 396 "//components/browser_watcher:browser_watcher_client",
400 "//components/crash/content/app", 397 "//components/crash/content/app",
401 "//content/public/app:child", 398 "//content/public/app:child",
402 ] 399 ]
403 400
404 if (is_win) { 401 if (is_win) {
405 if (symbol_level == 2) { 402 if (symbol_level == 2) {
406 # Incremental linking doesn't work on this target in debug mode with 403 # Incremental linking doesn't work on this target in debug mode with
407 # full symbols, but does work in other cases, including minimal 404 # full symbols, but does work in other cases, including minimal
(...skipping 657 matching lines...) Expand 10 before | Expand all | Expand 10 after
1065 "//chrome/app/theme/$branding_path_component/product_logo_48.png", 1062 "//chrome/app/theme/$branding_path_component/product_logo_48.png",
1066 "//chrome/tools/build/linux/chrome-wrapper", 1063 "//chrome/tools/build/linux/chrome-wrapper",
1067 "//third_party/xdg-utils/scripts/xdg-mime", 1064 "//third_party/xdg-utils/scripts/xdg-mime",
1068 "//third_party/xdg-utils/scripts/xdg-settings", 1065 "//third_party/xdg-utils/scripts/xdg-settings",
1069 ] 1066 ]
1070 outputs = [ 1067 outputs = [
1071 "$root_out_dir/{{source_file_part}}", 1068 "$root_out_dir/{{source_file_part}}",
1072 ] 1069 ]
1073 } 1070 }
1074 } 1071 }
OLDNEW
« no previous file with comments | « cc/cc_tests.gyp ('k') | chrome/android/chrome_apk.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698