Chromium Code Reviews| 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 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 163 "media_metadata.cc", | 163 "media_metadata.cc", |
| 164 "media_metadata.h", | 164 "media_metadata.h", |
| 165 "media_stream_request.cc", | 165 "media_stream_request.cc", |
| 166 "media_stream_request.h", | 166 "media_stream_request.h", |
| 167 "menu_item.cc", | 167 "menu_item.cc", |
| 168 "menu_item.h", | 168 "menu_item.h", |
| 169 "mhtml_generation_params.cc", | 169 "mhtml_generation_params.cc", |
| 170 "mhtml_generation_params.h", | 170 "mhtml_generation_params.h", |
| 171 "mojo_channel_switches.cc", | 171 "mojo_channel_switches.cc", |
| 172 "mojo_channel_switches.h", | 172 "mojo_channel_switches.h", |
| 173 "mutable_network_traffic_annotation_tag_struct_traits.h", | |
| 173 "notification_resources.cc", | 174 "notification_resources.cc", |
| 174 "notification_resources.h", | 175 "notification_resources.h", |
| 175 "origin_trial_policy.cc", | 176 "origin_trial_policy.cc", |
| 176 "origin_trial_policy.h", | 177 "origin_trial_policy.h", |
| 177 "origin_util.h", | 178 "origin_util.h", |
| 178 "page_importance_signals.h", | 179 "page_importance_signals.h", |
| 179 "page_state.cc", | 180 "page_state.cc", |
| 180 "page_state.h", | 181 "page_state.h", |
| 181 "page_type.h", | 182 "page_type.h", |
| 182 "page_zoom.h", | 183 "page_zoom.h", |
| (...skipping 18 matching lines...) Expand all Loading... | |
| 201 "renderer_preferences.cc", | 202 "renderer_preferences.cc", |
| 202 "renderer_preferences.h", | 203 "renderer_preferences.h", |
| 203 "request_context_frame_type.h", | 204 "request_context_frame_type.h", |
| 204 "request_context_type.h", | 205 "request_context_type.h", |
| 205 "resource_devtools_info.cc", | 206 "resource_devtools_info.cc", |
| 206 "resource_devtools_info.h", | 207 "resource_devtools_info.h", |
| 207 "resource_request.cc", | 208 "resource_request.cc", |
| 208 "resource_request.h", | 209 "resource_request.h", |
| 209 "resource_request_body.cc", | 210 "resource_request_body.cc", |
| 210 "resource_request_body.h", | 211 "resource_request_body.h", |
| 212 "resource_request_completion_status.cc", | |
| 213 "resource_request_completion_status.h", | |
| 211 "resource_response.cc", | 214 "resource_response.cc", |
| 212 "resource_response.h", | 215 "resource_response.h", |
| 213 "resource_response_info.cc", | 216 "resource_response_info.cc", |
| 214 "resource_response_info.h", | 217 "resource_response_info.h", |
| 215 "resource_type.cc", | 218 "resource_type.cc", |
| 216 "resource_type.h", | 219 "resource_type.h", |
| 217 "result_codes.h", | 220 "result_codes.h", |
| 218 "sandbox_init.h", | 221 "sandbox_init.h", |
| 219 "sandbox_linux.h", | 222 "sandbox_linux.h", |
| 220 "sandbox_type.h", | 223 "sandbox_type.h", |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 252 ] | 255 ] |
| 253 | 256 |
| 254 configs += [ | 257 configs += [ |
| 255 "//build/config:precompiled_headers", | 258 "//build/config:precompiled_headers", |
| 256 "//content:content_implementation", | 259 "//content:content_implementation", |
| 257 ] | 260 ] |
| 258 | 261 |
| 259 public_configs = [ "//v8:external_startup_data" ] | 262 public_configs = [ "//v8:external_startup_data" ] |
| 260 | 263 |
| 261 public_deps = [ | 264 public_deps = [ |
| 265 ":interfaces", | |
| 262 ":service_names", | 266 ":service_names", |
| 263 "//content/common", | 267 "//content/common", |
| 264 "//content/public/common:interfaces", | |
| 265 "//ipc", | 268 "//ipc", |
| 266 "//mojo/edk/system", | 269 "//mojo/edk/system", |
| 267 "//mojo/public/cpp/bindings", | 270 "//mojo/public/cpp/bindings", |
| 268 "//net", | 271 "//net", |
| 269 "//services/service_manager/embedder", | 272 "//services/service_manager/embedder", |
| 270 "//services/service_manager/public/cpp", | 273 "//services/service_manager/public/cpp", |
| 271 "//services/service_manager/public/interfaces", | 274 "//services/service_manager/public/interfaces", |
| 272 "//third_party/WebKit/public:blink_headers", | 275 "//third_party/WebKit/public:blink_headers", |
| 273 "//ui/accessibility", | 276 "//ui/accessibility", |
| 274 "//ui/surface", | 277 "//ui/surface", |
| (...skipping 22 matching lines...) Expand all Loading... | |
| 297 "//ui/gfx/ipc/geometry", | 300 "//ui/gfx/ipc/geometry", |
| 298 "//ui/gfx/ipc/skia", | 301 "//ui/gfx/ipc/skia", |
| 299 ] | 302 ] |
| 300 | 303 |
| 301 if (use_aura) { | 304 if (use_aura) { |
| 302 deps += [ "//ui/aura" ] | 305 deps += [ "//ui/aura" ] |
| 303 } | 306 } |
| 304 | 307 |
| 305 # //content/common needs to include public headers. | 308 # //content/common needs to include public headers. |
| 306 allow_circular_includes_from = [ | 309 allow_circular_includes_from = [ |
| 310 ":interfaces", | |
| 307 "//content/common", | 311 "//content/common", |
| 308 "//content/common:mojo_bindings", | 312 "//content/common:mojo_bindings", |
| 309 ] | 313 ] |
| 310 | 314 |
| 311 if (!enable_plugins) { | 315 if (!enable_plugins) { |
| 312 sources -= [ | 316 sources -= [ |
| 313 "pepper_plugin_info.cc", | 317 "pepper_plugin_info.cc", |
| 314 "pepper_plugin_info.h", | 318 "pepper_plugin_info.h", |
| 315 ] | 319 ] |
| 316 } | 320 } |
| (...skipping 16 matching lines...) Expand all Loading... | |
| 333 deps = [ | 337 deps = [ |
| 334 ":features", | 338 ":features", |
| 335 "//base", | 339 "//base", |
| 336 ] | 340 ] |
| 337 sources = [ | 341 sources = [ |
| 338 "feature_h264_with_openh264_ffmpeg.cc", | 342 "feature_h264_with_openh264_ffmpeg.cc", |
| 339 "feature_h264_with_openh264_ffmpeg.h", | 343 "feature_h264_with_openh264_ffmpeg.h", |
| 340 ] | 344 ] |
| 341 } | 345 } |
| 342 | 346 |
| 343 mojom("interfaces") { | 347 mojom("interfaces") { |
|
Nico
2017/08/16 20:54:39
Doesn't this now need a public_dep on ui/accessibi
Nico
2017/08/16 21:02:44
After some more digging, I think this flake is unr
| |
| 348 # Must depend on //content/public/common/ instead, for component build. | |
| 349 visibility = [ | |
| 350 ":common_sources", | |
| 351 "//content/common/*", | |
| 352 ] | |
| 353 | |
| 344 sources = [ | 354 sources = [ |
| 355 "mutable_network_traffic_annotation_tag.mojom", | |
| 356 "network_service.mojom", | |
| 345 "network_service_test.mojom", | 357 "network_service_test.mojom", |
| 358 "url_loader.mojom", | |
| 359 "url_loader_factory.mojom", | |
| 346 "window_container_type.mojom", | 360 "window_container_type.mojom", |
| 347 ] | 361 ] |
| 362 | |
| 363 public_deps = [ | |
| 364 "//mojo/common:common_custom_types", | |
| 365 "//url/mojo:url_mojom_gurl", | |
| 366 "//url/mojo:url_mojom_origin", | |
| 367 ] | |
| 368 | |
| 369 component_output_prefix = "content_public_common_mojo_bindings" | |
| 370 export_class_attribute = "CONTENT_EXPORT" | |
| 371 export_define = "CONTENT_IMPLEMENTATION=1" | |
| 372 export_header = "content/common/content_export.h" | |
| 348 } | 373 } |
| 349 | 374 |
| 350 mojom("service_names") { | 375 mojom("service_names") { |
| 351 sources = [ | 376 sources = [ |
| 352 "service_names.mojom", | 377 "service_names.mojom", |
| 353 ] | 378 ] |
| 354 } | 379 } |
| 355 | 380 |
| 356 mojom("resource_type_bindings") { | 381 mojom("resource_type_bindings") { |
| 357 sources = [ | 382 sources = [ |
| 358 "resource_type.mojom", | 383 "resource_type.mojom", |
| 359 ] | 384 ] |
| 360 } | 385 } |
| OLD | NEW |