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 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
249 "//mojo/edk/system", | 256 "//mojo/edk/system", |
250 "//mojo/public/cpp/bindings", | 257 "//mojo/public/cpp/bindings", |
251 "//services/service_manager/public/cpp", | 258 "//services/service_manager/public/cpp", |
252 "//services/service_manager/public/interfaces", | 259 "//services/service_manager/public/interfaces", |
253 "//third_party/WebKit/public:blink_headers", | 260 "//third_party/WebKit/public:blink_headers", |
254 "//ui/accessibility", | 261 "//ui/accessibility", |
255 "//ui/surface", | 262 "//ui/surface", |
256 "//url/ipc:url_ipc", | 263 "//url/ipc:url_ipc", |
257 ] | 264 ] |
258 deps = [ | 265 deps = [ |
| 266 ":content_descriptor_keys", |
| 267 |
259 # This looks needless as we have //content/common in public_deps, but it's | 268 # This looks needless as we have //content/common in public_deps, but it's |
260 # needed because of allow_circular_includes_from. | 269 # needed because of allow_circular_includes_from. |
261 "//components/mime_util", | 270 "//components/mime_util", |
262 "//content/common:mojo_bindings", | 271 "//content/common:mojo_bindings", |
263 "//ipc", | 272 "//ipc", |
264 "//media", | 273 "//media", |
265 "//mojo/common", | 274 "//mojo/common", |
266 "//net", | 275 "//net", |
267 "//ppapi/c", | 276 "//ppapi/c", |
268 "//ppapi/features", | 277 "//ppapi/features", |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
325 sources = [ | 334 sources = [ |
326 "window_container_type.mojom", | 335 "window_container_type.mojom", |
327 ] | 336 ] |
328 } | 337 } |
329 | 338 |
330 mojom("service_names") { | 339 mojom("service_names") { |
331 sources = [ | 340 sources = [ |
332 "service_names.mojom", | 341 "service_names.mojom", |
333 ] | 342 ] |
334 } | 343 } |
OLD | NEW |