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("//content/common/common.gni") | 6 import("//content/common/common.gni") |
7 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni") | 7 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni") |
8 | 8 |
9 # See //content/BUILD.gn for how this works. | 9 # See //content/BUILD.gn for how this works. |
10 group("common") { | 10 group("common") { |
(...skipping 20 matching lines...) Expand all Loading... |
31 visibility = [ "//content/*" ] | 31 visibility = [ "//content/*" ] |
32 | 32 |
33 sources = rebase_path(content_common_gypi_values.public_common_sources, | 33 sources = rebase_path(content_common_gypi_values.public_common_sources, |
34 ".", | 34 ".", |
35 "//content") | 35 "//content") |
36 | 36 |
37 configs += [ "//content:content_implementation" ] | 37 configs += [ "//content:content_implementation" ] |
38 | 38 |
39 public_deps = [ | 39 public_deps = [ |
40 "//content/common", | 40 "//content/common", |
41 "//third_party/mojo/src/mojo/public/cpp/bindings", | 41 "//mojo/application/public/cpp", |
| 42 "//mojo/application/public/interfaces", |
| 43 "//mojo/shell", |
42 ] | 44 ] |
43 deps = [ | 45 deps = [ |
| 46 "//mojo/common", |
44 "//net", | 47 "//net", |
45 "//skia", | 48 "//skia", |
46 "//third_party/WebKit/public:blink_headers", | 49 "//third_party/WebKit/public:blink_headers", |
47 "//third_party/icu", | 50 "//third_party/icu", |
| 51 "//third_party/mojo/src/mojo/public/cpp/bindings", |
48 "//ui/base", | 52 "//ui/base", |
49 "//ui/gfx", | 53 "//ui/gfx", |
50 ] | 54 ] |
51 | 55 |
52 if (!enable_plugins) { | 56 if (!enable_plugins) { |
53 sources -= [ | 57 sources -= [ |
54 "pepper_plugin_info.cc", | 58 "pepper_plugin_info.cc", |
55 "pepper_plugin_info.h", | 59 "pepper_plugin_info.h", |
56 ] | 60 ] |
57 } | 61 } |
58 } | 62 } |
59 | 63 |
60 mojom("mojo_bindings") { | 64 mojom("mojo_bindings") { |
61 sources = [ | 65 sources = [ |
62 "background_sync.mojom", | 66 "background_sync.mojom", |
63 "mojo_geoposition.mojom", | 67 "mojo_geoposition.mojom", |
64 "permission_status.mojom", | 68 "permission_status.mojom", |
| 69 "process_control.mojom", |
| 70 ] |
| 71 |
| 72 import_dirs = [ "//mojo/services" ] |
| 73 |
| 74 public_deps = [ |
| 75 "//mojo/application/public/interfaces", |
65 ] | 76 ] |
66 } | 77 } |
OLD | NEW |