| 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/common/common.gni") | 7 import("//content/common/common.gni") |
| 8 import("//media/media_options.gni") | 8 import("//media/media_options.gni") |
| 9 import("//mojo/public/tools/bindings/mojom.gni") | 9 import("//mojo/public/tools/bindings/mojom.gni") |
| 10 import("//tools/ipc_fuzzer/ipc_fuzzer.gni") |
| 10 if (is_mac) { | 11 if (is_mac) { |
| 11 import("//build/config/mac/mac_sdk.gni") | 12 import("//build/config/mac/mac_sdk.gni") |
| 12 } | 13 } |
| 13 | 14 |
| 14 source_set("common") { | 15 source_set("common") { |
| 15 # Targets external to content should always link to the public API. | 16 # Targets external to content should always link to the public API. |
| 16 # In addition, targets outside of the content component (shell and tests) | 17 # In addition, targets outside of the content component (shell and tests) |
| 17 # must not link to this because it will duplicate the code in the component | 18 # must not link to this because it will duplicate the code in the component |
| 18 # build. | 19 # build. |
| 19 visibility = [ "//content/*" ] | 20 visibility = [ "//content/*" ] |
| (...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 193 "sandbox_linux/sandbox_bpf_base_policy_linux.h", | 194 "sandbox_linux/sandbox_bpf_base_policy_linux.h", |
| 194 ] | 195 ] |
| 195 } | 196 } |
| 196 if (is_android) { | 197 if (is_android) { |
| 197 sources -= [ | 198 sources -= [ |
| 198 "sandbox_linux/android/sandbox_bpf_base_policy_android.cc", | 199 "sandbox_linux/android/sandbox_bpf_base_policy_android.cc", |
| 199 "sandbox_linux/android/sandbox_bpf_base_policy_android.h", | 200 "sandbox_linux/android/sandbox_bpf_base_policy_android.h", |
| 200 ] | 201 ] |
| 201 } | 202 } |
| 202 } | 203 } |
| 204 |
| 205 if (enable_ipc_fuzzer) { |
| 206 configs += [ "//tools/ipc_fuzzer:ipc_fuzzer_config" ] |
| 207 sources += [ |
| 208 "external_ipc_dumper.cc", |
| 209 "external_ipc_dumper.h", |
| 210 ] |
| 211 } |
| 203 } | 212 } |
| 204 | 213 |
| 205 # See comment at the top of //content/BUILD.gn for how this works. | 214 # See comment at the top of //content/BUILD.gn for how this works. |
| 206 group("for_content_tests") { | 215 group("for_content_tests") { |
| 207 visibility = [ "//content/test/*" ] | 216 visibility = [ "//content/test/*" ] |
| 208 if (!is_component_build) { | 217 if (!is_component_build) { |
| 209 public_deps = [ | 218 public_deps = [ |
| 210 ":common", | 219 ":common", |
| 211 ] | 220 ] |
| 212 } | 221 } |
| (...skipping 22 matching lines...) Expand all Loading... |
| 235 public_deps = [ | 244 public_deps = [ |
| 236 "//components/leveldb/public/interfaces", | 245 "//components/leveldb/public/interfaces", |
| 237 "//components/mus/public/interfaces", | 246 "//components/mus/public/interfaces", |
| 238 "//services/shell/public/interfaces", | 247 "//services/shell/public/interfaces", |
| 239 "//skia/public/interfaces", | 248 "//skia/public/interfaces", |
| 240 "//third_party/WebKit/public:mojo_bindings", | 249 "//third_party/WebKit/public:mojo_bindings", |
| 241 "//ui/gfx/geometry/mojo", | 250 "//ui/gfx/geometry/mojo", |
| 242 "//url/mojo:url_mojom_origin", | 251 "//url/mojo:url_mojom_origin", |
| 243 ] | 252 ] |
| 244 } | 253 } |
| OLD | NEW |