| 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/crypto.gni") | 5 import("//build/config/crypto.gni") |
| 6 import("//build/config/features.gni") | 6 import("//build/config/features.gni") |
| 7 import("//build/config/ui.gni") | 7 import("//build/config/ui.gni") |
| 8 import("//content/child/child.gni") | 8 import("//content/child/child.gni") |
| 9 | 9 |
| 10 source_set("child") { | 10 source_set("child") { |
| 11 # Only the public target should depend on this. All other targets (even | 11 # Only the public target should depend on this. All other targets (even |
| 12 # internal content ones) should depend on the public one. | 12 # internal content ones) should depend on the public one. |
| 13 visibility = [ "//content/public/child:child_sources" ] | 13 visibility = [ "//content/public/child:child_sources" ] |
| 14 | 14 |
| 15 sources = rebase_path(content_child_gypi_values.private_child_sources, | 15 sources = rebase_path(content_child_gypi_values.private_child_sources, |
| 16 ".", | 16 ".", |
| 17 "//content") | 17 "//content") |
| 18 | 18 |
| 19 configs += [ "//build/config:precompiled_headers" ] | 19 configs += [ "//build/config:precompiled_headers" ] |
| 20 | 20 |
| 21 public_deps = [ | 21 public_deps = [] |
| 22 "//third_party/mojo/src/mojo/edk/system", | 22 |
| 23 ] | 23 if (use_chrome_edk) { |
| 24 public_deps += [ "//mojo/edk/system" ] |
| 25 } else { |
| 26 public_deps += [ "//third_party/mojo/src/mojo/edk/system" ] |
| 27 } |
| 24 | 28 |
| 25 deps = [ | 29 deps = [ |
| 26 "//base", | 30 "//base", |
| 27 "//components/mime_util", | 31 "//components/mime_util", |
| 28 "//components/tracing", | 32 "//components/tracing", |
| 29 "//components/tracing:startup_tracing", | 33 "//components/tracing:startup_tracing", |
| 30 "//components/webcrypto", | 34 "//components/webcrypto", |
| 31 "//content/common:mojo_bindings", | 35 "//content/common:mojo_bindings", |
| 32 "//mojo/application/public/interfaces", | 36 "//mojo/application/public/interfaces", |
| 33 "//mojo/common", | 37 "//mojo/common", |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 | 133 |
| 130 if (use_aura && is_mac) { | 134 if (use_aura && is_mac) { |
| 131 # This file is already excluded on non-Mac. | 135 # This file is already excluded on non-Mac. |
| 132 sources -= [ "npapi/webplugin_delegate_impl_mac.mm" ] | 136 sources -= [ "npapi/webplugin_delegate_impl_mac.mm" ] |
| 133 } | 137 } |
| 134 | 138 |
| 135 if (is_win || !use_aura) { | 139 if (is_win || !use_aura) { |
| 136 sources -= [ "npapi/webplugin_delegate_impl_aura.cc" ] | 140 sources -= [ "npapi/webplugin_delegate_impl_aura.cc" ] |
| 137 } | 141 } |
| 138 } | 142 } |
| OLD | NEW |