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 | 9 |
10 source_set("browser") { | 10 source_set("browser") { |
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/browser:browser_sources" ] | 13 visibility = [ "//content/public/browser:browser_sources" ] |
14 | 14 |
15 configs += [ "//build/config:precompiled_headers" ] | 15 configs += [ |
| 16 "//build/config:precompiled_headers", |
| 17 "//content/public/common:mojo_shell_client", |
| 18 ] |
16 defines = [] | 19 defines = [] |
17 libs = [] | 20 libs = [] |
18 ldflags = [] | 21 ldflags = [] |
19 | 22 |
20 # Shared deps. See also non-iOS deps below. | 23 # Shared deps. See also non-iOS deps below. |
21 deps = [ | 24 deps = [ |
22 "//base", | 25 "//base", |
23 "//base:base_static", | 26 "//base:base_static", |
24 "//components/mime_util", | 27 "//components/mime_util", |
25 "//components/url_formatter", | 28 "//components/url_formatter", |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 sources -= rebase_path( | 100 sources -= rebase_path( |
98 [ | 101 [ |
99 "$root_gen_dir/blink/grit/devtools_resources.h", | 102 "$root_gen_dir/blink/grit/devtools_resources.h", |
100 "$root_gen_dir/blink/grit/devtools_resources_map.cc", | 103 "$root_gen_dir/blink/grit/devtools_resources_map.cc", |
101 "$root_gen_dir/blink/grit/devtools_resources_map.h", | 104 "$root_gen_dir/blink/grit/devtools_resources_map.h", |
102 "$root_gen_dir/content/browser/tracing/grit/tracing_resources.h", | 105 "$root_gen_dir/content/browser/tracing/grit/tracing_resources.h", |
103 "$root_gen_dir/ui/resources/grit/webui_resources_map.cc", | 106 "$root_gen_dir/ui/resources/grit/webui_resources_map.cc", |
104 ], | 107 ], |
105 ".") | 108 ".") |
106 | 109 |
107 defines += [ "MOJO_SHELL_CLIENT" ] | |
108 | |
109 # Non-iOS deps. | 110 # Non-iOS deps. |
110 deps += [ | 111 deps += [ |
111 "//cc", | 112 "//cc", |
112 "//cc/surfaces", | 113 "//cc/surfaces", |
113 "//components/scheduler:common", | 114 "//components/scheduler:common", |
114 "//content/app/resources", | 115 "//content/app/resources", |
115 "//content/app/strings", | 116 "//content/app/strings", |
116 "//content/browser/devtools:gen_devtools_protocol_handler", | 117 "//content/browser/devtools:gen_devtools_protocol_handler", |
117 "//content/browser/devtools:resources", | 118 "//content/browser/devtools:resources", |
118 "//content/common:mojo_bindings", | 119 "//content/common:mojo_bindings", |
(...skipping 406 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
525 | 526 |
526 if (enable_webvr && is_android) { | 527 if (enable_webvr && is_android) { |
527 sources += [ | 528 sources += [ |
528 "vr/android/cardboard/cardboard_vr_device.cc", | 529 "vr/android/cardboard/cardboard_vr_device.cc", |
529 "vr/android/cardboard/cardboard_vr_device.h", | 530 "vr/android/cardboard/cardboard_vr_device.h", |
530 "vr/android/cardboard/cardboard_vr_device_provider.cc", | 531 "vr/android/cardboard/cardboard_vr_device_provider.cc", |
531 "vr/android/cardboard/cardboard_vr_device_provider.h", | 532 "vr/android/cardboard/cardboard_vr_device_provider.h", |
532 ] | 533 ] |
533 } | 534 } |
534 } | 535 } |
OLD | NEW |