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/buildflag_header.gni") | 5 import("//build/buildflag_header.gni") |
6 import("//build/config/chromecast_build.gni") | 6 import("//build/config/chromecast_build.gni") |
7 import("//build/config/features.gni") | 7 import("//build/config/features.gni") |
8 import("//build/config/ui.gni") | 8 import("//build/config/ui.gni") |
9 import("//media/media_options.gni") | 9 import("//media/media_options.gni") |
10 import("//mojo/public/tools/bindings/mojom.gni") | 10 import("//mojo/public/tools/bindings/mojom.gni") |
(...skipping 29 matching lines...) Expand all Loading... |
40 ] | 40 ] |
41 | 41 |
42 # The header uses V8_USE_EXTERNAL_STARTUP_DATA. | 42 # The header uses V8_USE_EXTERNAL_STARTUP_DATA. |
43 public_configs = [ "//v8:external_startup_data" ] | 43 public_configs = [ "//v8:external_startup_data" ] |
44 | 44 |
45 deps = [ | 45 deps = [ |
46 "//ipc", | 46 "//ipc", |
47 ] | 47 ] |
48 } | 48 } |
49 | 49 |
| 50 source_set("content_descriptor_keys") { |
| 51 sources = [ |
| 52 "content_descriptor_keys.cc", |
| 53 "content_descriptor_keys.h", |
| 54 ] |
| 55 } |
| 56 |
50 # Forces static linking for targets using the static_switches constants, even | 57 # Forces static linking for targets using the static_switches constants, even |
51 # in the component build. This config makes it impossible to use the static | 58 # in the component build. This config makes it impossible to use the static |
52 # switches target and use the rest of content at the same time, because the | 59 # switches target and use the rest of content at the same time, because the |
53 # component export flags won't be consistent. | 60 # component export flags won't be consistent. |
54 config("static_switches_defines") { | 61 config("static_switches_defines") { |
55 defines = [ "COMPILE_CONTENT_STATICALLY" ] | 62 defines = [ "COMPILE_CONTENT_STATICALLY" ] |
56 } | 63 } |
57 | 64 |
58 # This target allows you to use the content_switches constants and statically | 65 # This target allows you to use the content_switches constants and statically |
59 # link to it, without depending on the rest of content. This is only for use | 66 # link to it, without depending on the rest of content. This is only for use |
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
250 "//content/public/common:interfaces", | 257 "//content/public/common:interfaces", |
251 "//mojo/public/cpp/bindings", | 258 "//mojo/public/cpp/bindings", |
252 "//services/service_manager/public/cpp", | 259 "//services/service_manager/public/cpp", |
253 "//services/service_manager/public/interfaces", | 260 "//services/service_manager/public/interfaces", |
254 "//third_party/WebKit/public:blink_headers", | 261 "//third_party/WebKit/public:blink_headers", |
255 "//ui/accessibility", | 262 "//ui/accessibility", |
256 "//ui/surface", | 263 "//ui/surface", |
257 "//url/ipc:url_ipc", | 264 "//url/ipc:url_ipc", |
258 ] | 265 ] |
259 deps = [ | 266 deps = [ |
| 267 ":content_descriptor_keys", |
| 268 |
260 # This looks needless as we have //content/common in public_deps, but it's | 269 # This looks needless as we have //content/common in public_deps, but it's |
261 # needed because of allow_circular_includes_from. | 270 # needed because of allow_circular_includes_from. |
262 "//components/mime_util", | 271 "//components/mime_util", |
263 "//content/common:mojo_bindings", | 272 "//content/common:mojo_bindings", |
264 "//ipc", | 273 "//ipc", |
265 "//media", | 274 "//media", |
266 "//mojo/common", | 275 "//mojo/common", |
267 "//net", | 276 "//net", |
268 "//ppapi/c", | 277 "//ppapi/c", |
269 "//ppapi/features", | 278 "//ppapi/features", |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
326 sources = [ | 335 sources = [ |
327 "window_container_type.mojom", | 336 "window_container_type.mojom", |
328 ] | 337 ] |
329 } | 338 } |
330 | 339 |
331 mojom("service_names") { | 340 mojom("service_names") { |
332 sources = [ | 341 sources = [ |
333 "service_names.mojom", | 342 "service_names.mojom", |
334 ] | 343 ] |
335 } | 344 } |
OLD | NEW |