| 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("//media/media_options.gni") | 7 import("//media/media_options.gni") |
| 8 import("//ppapi/features/features.gni") | 8 import("//ppapi/features/features.gni") |
| 9 import("//printing/features/features.gni") | 9 import("//printing/features/features.gni") |
| 10 import("//third_party/WebKit/public/public_features.gni") | 10 import("//third_party/WebKit/public/public_features.gni") |
| 11 import("//tools/ipc_fuzzer/ipc_fuzzer.gni") | 11 import("//tools/ipc_fuzzer/ipc_fuzzer.gni") |
| 12 | 12 |
| 13 source_set("browser") { | 13 source_set("browser") { |
| 14 # Only the public target should depend on this. All other targets (even | 14 # Only the public target should depend on this. All other targets (even |
| 15 # internal content ones) should depend on the public one. | 15 # internal content ones) should depend on the public one. |
| 16 visibility = [ | 16 visibility = [ |
| 17 ":for_content_tests", # See top of //content/BUILD.gn for why. | 17 ":for_content_tests", # See top of //content/BUILD.gn for why. |
| 18 "//content/app:*", |
| 18 "//content/public/browser:browser_sources", | 19 "//content/public/browser:browser_sources", |
| 19 ] | 20 ] |
| 20 if (is_android) { | |
| 21 # See comment in content/app/BUILD.gn above content_app_deps. | |
| 22 visibility += [ "//content/app:*" ] | |
| 23 } | |
| 24 | 21 |
| 25 configs += [ | 22 configs += [ |
| 26 "//build/config:precompiled_headers", | 23 "//build/config:precompiled_headers", |
| 27 "//content:content_implementation", | 24 "//content:content_implementation", |
| 28 "//v8:external_startup_data", | 25 "//v8:external_startup_data", |
| 29 ] | 26 ] |
| 30 defines = [] | 27 defines = [] |
| 31 libs = [] | 28 libs = [] |
| 32 ldflags = [] | 29 ldflags = [] |
| 33 | 30 |
| (...skipping 1976 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2010 if (!is_component_build) { | 2007 if (!is_component_build) { |
| 2011 public_deps = [ | 2008 public_deps = [ |
| 2012 ":browser", | 2009 ":browser", |
| 2013 ] | 2010 ] |
| 2014 } else { | 2011 } else { |
| 2015 public_deps = [ | 2012 public_deps = [ |
| 2016 "//third_party/leveldatabase", | 2013 "//third_party/leveldatabase", |
| 2017 ] | 2014 ] |
| 2018 } | 2015 } |
| 2019 } | 2016 } |
| OLD | NEW |