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("//mojo/public/tools/bindings/mojom.gni") | 7 import("//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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
58 # without content, or you will get multiply defined symbols. | 58 # without content, or you will get multiply defined symbols. |
59 source_set("static_switches") { | 59 source_set("static_switches") { |
60 public = [ | 60 public = [ |
61 "content_switches.h", | 61 "content_switches.h", |
62 ] | 62 ] |
63 sources = [ | 63 sources = [ |
64 "//content/common/content_export.h", | 64 "//content/common/content_export.h", |
65 "content_switches.cc", | 65 "content_switches.cc", |
66 ] | 66 ] |
67 | 67 |
68 public_configs = [ ":static_switches_defines" ] | 68 public_configs = [ |
69 ":mojo_shell_client", | |
Fady Samuel
2015/12/02 16:20:33
Don't put this in public because consumers of this
Peng
2015/12/02 16:33:32
Done.
| |
70 ":static_switches_defines", | |
71 ] | |
69 } | 72 } |
70 | 73 |
71 source_set("common_sources") { | 74 source_set("common_sources") { |
72 visibility = [ "//content/*" ] | 75 visibility = [ "//content/*" ] |
73 | 76 |
74 sources = rebase_path(content_common_gypi_values.public_common_sources, | 77 sources = rebase_path(content_common_gypi_values.public_common_sources, |
75 ".", | 78 ".", |
76 "//content") | 79 "//content") |
77 | 80 |
78 configs += [ | 81 configs += [ |
79 "//build/config:precompiled_headers", | 82 "//build/config:precompiled_headers", |
80 "//content:content_implementation", | 83 "//content:content_implementation", |
81 ] | 84 ] |
82 | 85 |
83 public_configs = [ "//v8:external_startup_data" ] | 86 public_configs = [ |
87 "//v8:external_startup_data", | |
88 ":mojo_shell_client", | |
89 ] | |
84 | 90 |
85 public_deps = [ | 91 public_deps = [ |
86 "//content/common", | 92 "//content/common", |
87 "//mojo/public/cpp/bindings", | 93 "//mojo/public/cpp/bindings", |
88 ] | 94 ] |
89 deps = [ | 95 deps = [ |
90 "//net", | 96 "//net", |
91 "//skia", | 97 "//skia", |
92 "//third_party/WebKit/public:blink_headers", | 98 "//third_party/WebKit/public:blink_headers", |
93 "//third_party/icu", | 99 "//third_party/icu", |
(...skipping 17 matching lines...) Expand all Loading... | |
111 } | 117 } |
112 | 118 |
113 mojom("mojo_bindings") { | 119 mojom("mojo_bindings") { |
114 sources = [ | 120 sources = [ |
115 "background_sync.mojom", | 121 "background_sync.mojom", |
116 "mojo_geoposition.mojom", | 122 "mojo_geoposition.mojom", |
117 "permission_status.mojom", | 123 "permission_status.mojom", |
118 "service_worker_event_status.mojom", | 124 "service_worker_event_status.mojom", |
119 ] | 125 ] |
120 } | 126 } |
OLD | NEW |