| 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 | 8 |
| 9 source_set("renderer") { | 9 source_set("renderer") { |
| 10 # Only targets in the content tree can depend directly on this target. | 10 # Only targets in the content tree can depend directly on this target. |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 sources += [ | 67 sources += [ |
| 68 "external_popup_menu.cc", | 68 "external_popup_menu.cc", |
| 69 "external_popup_menu.h", | 69 "external_popup_menu.h", |
| 70 ] | 70 ] |
| 71 } | 71 } |
| 72 | 72 |
| 73 if (is_android) { | 73 if (is_android) { |
| 74 sources -= [ | 74 sources -= [ |
| 75 "accessibility/renderer_accessibility_focus_only.cc", | 75 "accessibility/renderer_accessibility_focus_only.cc", |
| 76 "media/audio_decoder.cc", | 76 "media/audio_decoder.cc", |
| 77 "media/filter_helpers.cc", | |
| 78 "media/webmediaplayer_impl.cc", | 77 "media/webmediaplayer_impl.cc", |
| 79 ] | 78 ] |
| 80 sources += [ | 79 sources += [ |
| 81 "external_popup_menu.cc", | 80 "external_popup_menu.cc", |
| 82 "external_popup_menu.h", | 81 "external_popup_menu.h", |
| 83 ] | 82 ] |
| 84 | 83 |
| 85 # Add back the Linux file which Android shares. | 84 # Add back the Linux file which Android shares. |
| 86 set_sources_assignment_filter([]) | 85 set_sources_assignment_filter([]) |
| 87 sources += [ | 86 sources += [ |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 162 "media/webrtc/video_destination_handler.h", | 161 "media/webrtc/video_destination_handler.h", |
| 163 ] | 162 ] |
| 164 } | 163 } |
| 165 } | 164 } |
| 166 | 165 |
| 167 if (enable_plugins && enable_webrtc) { | 166 if (enable_plugins && enable_webrtc) { |
| 168 sources += rebase_path( | 167 sources += rebase_path( |
| 169 content_renderer_gypi_values.private_renderer_plugin_webrtc_sources, | 168 content_renderer_gypi_values.private_renderer_plugin_webrtc_sources, |
| 170 ".", "//content") | 169 ".", "//content") |
| 171 } | 170 } |
| 172 | |
| 173 if (!enable_pepper_cdms) { | |
| 174 sources -= [ | |
| 175 "renderer/media/crypto/ppapi_decryptor.cc", | |
| 176 "renderer/media/crypto/ppapi_decryptor.h", | |
| 177 ] | |
| 178 } | |
| 179 } | 171 } |
| OLD | NEW |