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) { |
| 19 # See comment in content/app/BUILD.gn above content_app_deps. |
| 20 visibility += [ "//content/app:*" ] |
| 21 } |
18 | 22 |
19 configs += [ | 23 configs += [ |
20 "//build/config:precompiled_headers", | 24 "//build/config:precompiled_headers", |
21 "//content:content_implementation", | 25 "//content:content_implementation", |
22 "//content/public/common:mojo_shell_client", | 26 "//content/public/common:mojo_shell_client", |
23 "//third_party/WebKit/public:debug_devtools", | 27 "//third_party/WebKit/public:debug_devtools", |
24 "//v8:external_startup_data", | 28 "//v8:external_startup_data", |
25 ] | 29 ] |
26 defines = [] | 30 defines = [] |
27 libs = [] | 31 libs = [] |
(...skipping 495 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
523 if (!is_component_build) { | 527 if (!is_component_build) { |
524 public_deps = [ | 528 public_deps = [ |
525 ":browser", | 529 ":browser", |
526 ] | 530 ] |
527 } else { | 531 } else { |
528 public_deps = [ | 532 public_deps = [ |
529 "//third_party/leveldatabase", | 533 "//third_party/leveldatabase", |
530 ] | 534 ] |
531 } | 535 } |
532 } | 536 } |
OLD | NEW |