| 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("//mojo/public/tools/bindings/mojom.gni") | 8 import("//mojo/public/tools/bindings/mojom.gni") |
| 9 if (is_mac) { | 9 if (is_mac) { |
| 10 import("//build/config/mac/mac_sdk.gni") | 10 import("//build/config/mac/mac_sdk.gni") |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 126 | 126 |
| 127 source_set("common") { | 127 source_set("common") { |
| 128 # Only the public target should depend on this. All other targets (even | 128 # Only the public target should depend on this. All other targets (even |
| 129 # internal content ones) should depend on the public one. | 129 # internal content ones) should depend on the public one. |
| 130 visibility = [ "//content/public/common:common_sources" ] | 130 visibility = [ "//content/public/common:common_sources" ] |
| 131 | 131 |
| 132 sources = rebase_path(content_common_gypi_values.private_common_sources, | 132 sources = rebase_path(content_common_gypi_values.private_common_sources, |
| 133 ".", | 133 ".", |
| 134 "//content") | 134 "//content") |
| 135 | 135 |
| 136 # These files are only built in a GN build because they bring in |
| 137 # dependencies that don't build with GYP. |
| 138 sources += [ |
| 139 "mojo/mojo_shell_connection_impl.cc", |
| 140 "mojo/mojo_shell_connection_impl.h", |
| 141 ] |
| 142 |
| 136 configs += [ | 143 configs += [ |
| 137 "//content:content_implementation", | 144 "//content:content_implementation", |
| 138 "//build/config:precompiled_headers", | 145 "//build/config:precompiled_headers", |
| 139 "//build/config/compiler:no_size_t_to_int_warning", | 146 "//build/config/compiler:no_size_t_to_int_warning", |
| 140 ] | 147 ] |
| 141 | 148 |
| 142 public_deps = [ | 149 public_deps = [ |
| 143 "//gpu/command_buffer/common", | 150 "//gpu/command_buffer/common", |
| 144 "//third_party/WebKit/public:blink_headers", | 151 "//third_party/WebKit/public:blink_headers", |
| 145 ] | 152 ] |
| 146 deps = [ | 153 deps = [ |
| 147 "//base", | 154 "//base", |
| 148 "//build/util:webkit_version", | 155 "//build/util:webkit_version", |
| 156 "//components/mus/public/interfaces", |
| 149 "//components/tracing", | 157 "//components/tracing", |
| 150 "//components/tracing:startup_tracing", | 158 "//components/tracing:startup_tracing", |
| 151 "//gpu/command_buffer/client:gles2_interface", | 159 "//gpu/command_buffer/client:gles2_interface", |
| 152 "//gpu/command_buffer/common:gles2_utils", | 160 "//gpu/command_buffer/common:gles2_utils", |
| 161 "//mojo/application/public/cpp", |
| 162 "//mojo/converters/network", |
| 163 "//mojo/runner/child:lib", |
| 153 "//net", | 164 "//net", |
| 154 "//skia", | 165 "//skia", |
| 155 "//third_party/icu", | 166 "//third_party/icu", |
| 156 "//ui/accessibility", | 167 "//ui/accessibility", |
| 157 "//ui/base", | 168 "//ui/base", |
| 158 "//ui/base/ime", | 169 "//ui/base/ime", |
| 159 "//ui/events/ipc:events_ipc", | 170 "//ui/events/ipc:events_ipc", |
| 160 "//ui/gfx", | 171 "//ui/gfx", |
| 161 "//ui/gfx/geometry", | 172 "//ui/gfx/geometry", |
| 162 "//ui/gfx/ipc", | 173 "//ui/gfx/ipc", |
| (...skipping 27 matching lines...) Expand all Loading... |
| 190 "//mojo/environment:chromium", | 201 "//mojo/environment:chromium", |
| 191 "//sandbox", | 202 "//sandbox", |
| 192 "//storage/common", | 203 "//storage/common", |
| 193 "//third_party/WebKit/public:blink", | 204 "//third_party/WebKit/public:blink", |
| 194 "//third_party/mojo/src/mojo/edk/system", | 205 "//third_party/mojo/src/mojo/edk/system", |
| 195 "//ui/gl", | 206 "//ui/gl", |
| 196 ":mojo_bindings", | 207 ":mojo_bindings", |
| 197 ] | 208 ] |
| 198 } | 209 } |
| 199 | 210 |
| 200 defines = [] | 211 defines = [ "MOJO_SHELL_CLIENT" ] |
| 201 include_dirs = [] | 212 include_dirs = [] |
| 202 libs = [] | 213 libs = [] |
| 203 ldflags = [] | 214 ldflags = [] |
| 204 | 215 |
| 205 if (is_android && use_seccomp_bpf) { | 216 if (is_android && use_seccomp_bpf) { |
| 206 set_sources_assignment_filter([]) | 217 set_sources_assignment_filter([]) |
| 207 sources += [ | 218 sources += [ |
| 208 "sandbox_linux/sandbox_bpf_base_policy_linux.cc", | 219 "sandbox_linux/sandbox_bpf_base_policy_linux.cc", |
| 209 "sandbox_linux/sandbox_bpf_base_policy_linux.h", | 220 "sandbox_linux/sandbox_bpf_base_policy_linux.h", |
| 210 ] | 221 ] |
| (...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 526 | 537 |
| 527 import_dirs = [ "//mojo/services" ] | 538 import_dirs = [ "//mojo/services" ] |
| 528 | 539 |
| 529 deps = [ | 540 deps = [ |
| 530 "//content/public/common:mojo_bindings", | 541 "//content/public/common:mojo_bindings", |
| 531 "//mojo/application/public/interfaces", | 542 "//mojo/application/public/interfaces", |
| 532 "//skia/public/interfaces", | 543 "//skia/public/interfaces", |
| 533 "//ui/mojo/geometry:interfaces", | 544 "//ui/mojo/geometry:interfaces", |
| 534 ] | 545 ] |
| 535 } | 546 } |
| OLD | NEW |