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