OLD | NEW |
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/features.gni") | 5 import("//build/config/features.gni") |
6 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
7 import("//content/browser/browser.gni") | 7 import("//content/browser/browser.gni") |
8 import("//media/media_options.gni") | 8 import("//media/media_options.gni") |
9 import("//tools/ipc_fuzzer/ipc_fuzzer.gni") | 9 import("//tools/ipc_fuzzer/ipc_fuzzer.gni") |
10 | 10 |
11 source_set("browser") { | 11 source_set("browser") { |
12 # Only the public target should depend on this. All other targets (even | 12 # Only the public target should depend on this. All other targets (even |
13 # internal content ones) should depend on the public one. | 13 # internal content ones) should depend on the public one. |
14 visibility = [ | 14 visibility = [ |
15 ":for_content_tests", # See top of //content/BUILD.gn for why. | 15 ":for_content_tests", # See top of //content/BUILD.gn for why. |
16 "//content/public/browser:browser_sources", | 16 "//content/public/browser:browser_sources", |
17 ] | 17 ] |
18 if (is_android) { | 18 if (is_android) { |
19 # See comment in content/app/BUILD.gn above content_app_deps. | 19 # See comment in content/app/BUILD.gn above content_app_deps. |
20 visibility += [ "//content/app:*" ] | 20 visibility += [ "//content/app:*" ] |
21 } | 21 } |
22 | 22 |
23 configs += [ | 23 configs += [ |
24 "//build/config:precompiled_headers", | 24 "//build/config:precompiled_headers", |
25 "//content:content_implementation", | 25 "//content:content_implementation", |
26 "//content/public/common:mojo_shell_client", | |
27 "//third_party/WebKit/public:debug_devtools", | 26 "//third_party/WebKit/public:debug_devtools", |
28 "//v8:external_startup_data", | 27 "//v8:external_startup_data", |
29 ] | 28 ] |
30 defines = [] | 29 defines = [] |
31 libs = [] | 30 libs = [] |
32 ldflags = [] | 31 ldflags = [] |
33 | 32 |
34 deps = [ | 33 deps = [ |
35 "//base", | 34 "//base", |
36 "//base:base_static", | 35 "//base:base_static", |
(...skipping 477 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
514 if (!is_component_build) { | 513 if (!is_component_build) { |
515 public_deps = [ | 514 public_deps = [ |
516 ":browser", | 515 ":browser", |
517 ] | 516 ] |
518 } else { | 517 } else { |
519 public_deps = [ | 518 public_deps = [ |
520 "//third_party/leveldatabase", | 519 "//third_party/leveldatabase", |
521 ] | 520 ] |
522 } | 521 } |
523 } | 522 } |
OLD | NEW |