| 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("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
| 7 import("//content/renderer/renderer.gni") | 7 import("//content/renderer/renderer.gni") |
| 8 import("//media/media_options.gni") | 8 import("//media/media_options.gni") |
| 9 | 9 |
| 10 source_set("renderer") { | 10 source_set("renderer") { |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 "//components/startup_metric_utils/common", | 34 "//components/startup_metric_utils/common", |
| 35 "//components/url_formatter", | 35 "//components/url_formatter", |
| 36 "//components/webusb", | 36 "//components/webusb", |
| 37 "//content:resources", | 37 "//content:resources", |
| 38 "//content/common:mojo_bindings", | 38 "//content/common:mojo_bindings", |
| 39 "//content/public/child:child_sources", | 39 "//content/public/child:child_sources", |
| 40 "//content/public/common:common_sources", | 40 "//content/public/common:common_sources", |
| 41 "//content/public/common:mojo_bindings", | 41 "//content/public/common:mojo_bindings", |
| 42 "//crypto:platform", | 42 "//crypto:platform", |
| 43 "//device/battery:mojo_bindings", | 43 "//device/battery:mojo_bindings", |
| 44 "//device/devices_app/usb/public/interfaces", |
| 44 "//device/vibration:mojo_bindings", | 45 "//device/vibration:mojo_bindings", |
| 45 "//gin", | 46 "//gin", |
| 46 "//gpu", | 47 "//gpu", |
| 47 "//gpu/command_buffer/client:gles2_interface", | 48 "//gpu/command_buffer/client:gles2_interface", |
| 48 "//jingle:jingle_glue", | 49 "//jingle:jingle_glue", |
| 49 "//media", | 50 "//media", |
| 50 "//media/blink", | 51 "//media/blink", |
| 51 "//mojo/application/public/interfaces", | 52 "//mojo/application/public/interfaces", |
| 52 "//mojo/common:url_type_converters", | 53 "//mojo/common:url_type_converters", |
| 53 "//mojo/converters/geometry", | 54 "//mojo/converters/geometry", |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 "webscrollbarbehavior_impl_gtkoraura.cc", | 86 "webscrollbarbehavior_impl_gtkoraura.cc", |
| 86 "webscrollbarbehavior_impl_gtkoraura.h", | 87 "webscrollbarbehavior_impl_gtkoraura.h", |
| 87 ] | 88 ] |
| 88 sources += [ | 89 sources += [ |
| 89 "external_popup_menu.cc", | 90 "external_popup_menu.cc", |
| 90 "external_popup_menu.h", | 91 "external_popup_menu.h", |
| 91 ] | 92 ] |
| 92 } | 93 } |
| 93 | 94 |
| 94 if (is_android) { | 95 if (is_android) { |
| 95 sources -= [ | 96 sources -= [ "media/audio_decoder.cc" ] |
| 96 "media/audio_decoder.cc", | |
| 97 "usb/type_converters.cc", | |
| 98 "usb/type_converters.h", | |
| 99 "usb/web_usb_client_impl.cc", | |
| 100 "usb/web_usb_client_impl.h", | |
| 101 "usb/web_usb_device_impl.cc", | |
| 102 "usb/web_usb_device_impl.h", | |
| 103 ] | |
| 104 sources += [ | 97 sources += [ |
| 105 "external_popup_menu.cc", | 98 "external_popup_menu.cc", |
| 106 "external_popup_menu.h", | 99 "external_popup_menu.h", |
| 107 ] | 100 ] |
| 108 | 101 |
| 109 # Add back the Linux file which Android shares. | 102 # Add back the Linux file which Android shares. |
| 110 set_sources_assignment_filter([]) | 103 set_sources_assignment_filter([]) |
| 111 sources += [ "render_view_linux.cc" ] | 104 sources += [ "render_view_linux.cc" ] |
| 112 | 105 |
| 113 deps += [ | 106 deps += [ |
| 114 "//third_party/android_tools:cpu_features", | 107 "//third_party/android_tools:cpu_features", |
| 115 "//third_party/libphonenumber", | 108 "//third_party/libphonenumber", |
| 116 ] | 109 ] |
| 117 | |
| 118 deps -= [ "//components/webusb" ] | |
| 119 } else { | 110 } else { |
| 120 sources -= [ | 111 sources -= [ |
| 121 "java/gin_java_bridge_dispatcher.cc", | 112 "java/gin_java_bridge_dispatcher.cc", |
| 122 "java/gin_java_bridge_dispatcher.h", | 113 "java/gin_java_bridge_dispatcher.h", |
| 123 "java/gin_java_bridge_object.cc", | 114 "java/gin_java_bridge_object.cc", |
| 124 "java/gin_java_bridge_object.h", | 115 "java/gin_java_bridge_object.h", |
| 125 "java/gin_java_bridge_value_converter.cc", | 116 "java/gin_java_bridge_value_converter.cc", |
| 126 "java/gin_java_bridge_value_converter.h", | 117 "java/gin_java_bridge_value_converter.h", |
| 127 "java/gin_java_function_invocation_helper.cc", | 118 "java/gin_java_function_invocation_helper.cc", |
| 128 "java/gin_java_function_invocation_helper.h", | 119 "java/gin_java_function_invocation_helper.h", |
| 129 ] | 120 ] |
| 130 | |
| 131 deps += [ | |
| 132 "//device/devices_app/public/cpp", | |
| 133 "//device/devices_app/usb/public/interfaces", | |
| 134 ] | |
| 135 } | 121 } |
| 136 | 122 |
| 137 # TODO(jrg): remove the OS=="android" section? | 123 # TODO(jrg): remove the OS=="android" section? |
| 138 # http://crbug.com/113172 | 124 # http://crbug.com/113172 |
| 139 # Understand better how media_stream_ is tied into Chromium. | 125 # Understand better how media_stream_ is tied into Chromium. |
| 140 if (!enable_webrtc && is_android) { | 126 if (!enable_webrtc && is_android) { |
| 141 sources -= [ | 127 sources -= [ |
| 142 "media/media_stream_audio_level_calculator.cc", | 128 "media/media_stream_audio_level_calculator.cc", |
| 143 "media/media_stream_audio_level_calculator.h", | 129 "media/media_stream_audio_level_calculator.h", |
| 144 "media/media_stream_center.h", | 130 "media/media_stream_center.h", |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 226 "vr/vr_dispatcher.h", | 212 "vr/vr_dispatcher.h", |
| 227 "vr/vr_type_converters.cc", | 213 "vr/vr_type_converters.cc", |
| 228 "vr/vr_type_converters.h", | 214 "vr/vr_type_converters.h", |
| 229 ] | 215 ] |
| 230 } | 216 } |
| 231 | 217 |
| 232 if (use_seccomp_bpf) { | 218 if (use_seccomp_bpf) { |
| 233 defines += [ "USE_SECCOMP_BPF" ] | 219 defines += [ "USE_SECCOMP_BPF" ] |
| 234 } | 220 } |
| 235 } | 221 } |
| OLD | NEW |