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/chromecast_build.gni") | 5 import("//build/config/chromecast_build.gni") |
6 import("//build/config/features.gni") | 6 import("//build/config/features.gni") |
7 import("//build/config/ui.gni") | 7 import("//build/config/ui.gni") |
8 import("//build/split_static_library.gni") | 8 import("//build/split_static_library.gni") |
9 import("//media/media_options.gni") | 9 import("//media/media_options.gni") |
10 import("//ppapi/features/features.gni") | 10 import("//ppapi/features/features.gni") |
11 import("//printing/features/features.gni") | 11 import("//printing/features/features.gni") |
12 import("//third_party/webrtc/webrtc.gni") | 12 import("//third_party/webrtc/webrtc.gni") |
13 import("//tools/ipc_fuzzer/ipc_fuzzer.gni") | 13 import("//tools/ipc_fuzzer/ipc_fuzzer.gni") |
14 | 14 |
15 if (is_component_build) { | 15 if (is_component_build) { |
16 link_target_type = "source_set" | 16 link_target_type = "source_set" |
17 } else { | 17 } else { |
18 link_target_type = "split_static_library" | 18 link_target_type = "split_static_library" |
19 } | 19 } |
20 | 20 |
21 target(link_target_type, "renderer") { | 21 target(link_target_type, "renderer") { |
22 # Only the public target should depend on this. All other targets (even | 22 # Only the public target should depend on this. All other targets (even |
23 # internal content ones) should depend on the public one. | 23 # internal content ones) should depend on the public one. |
24 visibility = [ | 24 visibility = [ |
25 ":for_content_tests", | 25 ":for_content_tests", |
26 "//content/app:*", | 26 "//content/app:*", |
27 "//content/public/renderer:renderer_sources", | 27 "//content/public/renderer:renderer_sources", |
28 "//content/shell/test_runner", | |
dcheng
2017/03/01 23:57:25
Note: I'm pretty sure this is wrong, but this is s
| |
28 ] | 29 ] |
29 | 30 |
30 sources = [ | 31 sources = [ |
31 "accessibility/blink_ax_enum_conversion.cc", | 32 "accessibility/blink_ax_enum_conversion.cc", |
32 "accessibility/blink_ax_enum_conversion.h", | 33 "accessibility/blink_ax_enum_conversion.h", |
33 "accessibility/blink_ax_tree_source.cc", | 34 "accessibility/blink_ax_tree_source.cc", |
34 "accessibility/blink_ax_tree_source.h", | 35 "accessibility/blink_ax_tree_source.h", |
35 "accessibility/render_accessibility_impl.cc", | 36 "accessibility/render_accessibility_impl.cc", |
36 "accessibility/render_accessibility_impl.h", | 37 "accessibility/render_accessibility_impl.h", |
37 "android/address_detector.cc", | 38 "android/address_detector.cc", |
(...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
371 "stats_collection_controller.cc", | 372 "stats_collection_controller.cc", |
372 "stats_collection_controller.h", | 373 "stats_collection_controller.h", |
373 "stats_collection_observer.cc", | 374 "stats_collection_observer.cc", |
374 "stats_collection_observer.h", | 375 "stats_collection_observer.h", |
375 "text_input_client_observer.cc", | 376 "text_input_client_observer.cc", |
376 "text_input_client_observer.h", | 377 "text_input_client_observer.h", |
377 "theme_helper_mac.h", | 378 "theme_helper_mac.h", |
378 "theme_helper_mac.mm", | 379 "theme_helper_mac.mm", |
379 "top_level_blame_context.cc", | 380 "top_level_blame_context.cc", |
380 "top_level_blame_context.h", | 381 "top_level_blame_context.h", |
382 "unique_name_helper.cc", | |
383 "unique_name_helper.h", | |
381 "web_frame_utils.cc", | 384 "web_frame_utils.cc", |
382 "web_frame_utils.h", | 385 "web_frame_utils.h", |
383 "web_ui_extension.cc", | 386 "web_ui_extension.cc", |
384 "web_ui_extension.h", | 387 "web_ui_extension.h", |
385 "web_ui_extension_data.cc", | 388 "web_ui_extension_data.cc", |
386 "web_ui_extension_data.h", | 389 "web_ui_extension_data.h", |
387 "webclipboard_impl.cc", | 390 "webclipboard_impl.cc", |
388 "webclipboard_impl.h", | 391 "webclipboard_impl.h", |
389 "webgraphicscontext3d_provider_impl.cc", | 392 "webgraphicscontext3d_provider_impl.cc", |
390 "webgraphicscontext3d_provider_impl.h", | 393 "webgraphicscontext3d_provider_impl.h", |
(...skipping 552 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
943 # For the defines in mojo_media_config. | 946 # For the defines in mojo_media_config. |
944 public_configs = [ "//media/mojo/services:mojo_media_config" ] | 947 public_configs = [ "//media/mojo/services:mojo_media_config" ] |
945 } | 948 } |
946 | 949 |
947 if (!is_component_build) { | 950 if (!is_component_build) { |
948 public_deps = [ | 951 public_deps = [ |
949 ":renderer", | 952 ":renderer", |
950 ] | 953 ] |
951 } | 954 } |
952 } | 955 } |
OLD | NEW |