| 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("//media/media_options.gni") |
| 5 import("//testing/test.gni") | 6 import("//testing/test.gni") |
| 6 | 7 |
| 7 component("blink") { | 8 component("blink") { |
| 8 output_name = "media_blink" | 9 output_name = "media_blink" |
| 9 | 10 |
| 10 deps = [ | 11 deps = [ |
| 11 "//base", | 12 "//base", |
| 12 "//cc", | 13 "//cc", |
| 13 "//cc/blink", | 14 "//cc/blink", |
| 14 "//gpu/blink", | 15 "//gpu/blink", |
| (...skipping 18 matching lines...) Expand all Loading... |
| 33 "buffered_data_source_host_impl.h", | 34 "buffered_data_source_host_impl.h", |
| 34 "buffered_resource_loader.cc", | 35 "buffered_resource_loader.cc", |
| 35 "buffered_resource_loader.h", | 36 "buffered_resource_loader.h", |
| 36 "cache_util.cc", | 37 "cache_util.cc", |
| 37 "cache_util.h", | 38 "cache_util.h", |
| 38 "cdm_result_promise.h", | 39 "cdm_result_promise.h", |
| 39 "cdm_result_promise_helper.cc", | 40 "cdm_result_promise_helper.cc", |
| 40 "cdm_result_promise_helper.h", | 41 "cdm_result_promise_helper.h", |
| 41 "cdm_session_adapter.cc", | 42 "cdm_session_adapter.cc", |
| 42 "cdm_session_adapter.h", | 43 "cdm_session_adapter.h", |
| 43 "encrypted_media_player_support.cc", | |
| 44 "encrypted_media_player_support.h", | |
| 45 "key_system_config_selector.cc", | 44 "key_system_config_selector.cc", |
| 46 "key_system_config_selector.h", | 45 "key_system_config_selector.h", |
| 47 "new_session_cdm_result_promise.cc", | 46 "new_session_cdm_result_promise.cc", |
| 48 "new_session_cdm_result_promise.h", | 47 "new_session_cdm_result_promise.h", |
| 49 "texttrack_impl.cc", | 48 "texttrack_impl.cc", |
| 50 "texttrack_impl.h", | 49 "texttrack_impl.h", |
| 51 "video_frame_compositor.cc", | 50 "video_frame_compositor.cc", |
| 52 "video_frame_compositor.h", | 51 "video_frame_compositor.h", |
| 53 "webaudiosourceprovider_impl.cc", | 52 "webaudiosourceprovider_impl.cc", |
| 54 "webaudiosourceprovider_impl.h", | 53 "webaudiosourceprovider_impl.h", |
| 55 "webcontentdecryptionmodule_impl.cc", | 54 "webcontentdecryptionmodule_impl.cc", |
| 56 "webcontentdecryptionmodule_impl.h", | 55 "webcontentdecryptionmodule_impl.h", |
| 57 "webcontentdecryptionmoduleaccess_impl.cc", | 56 "webcontentdecryptionmoduleaccess_impl.cc", |
| 58 "webcontentdecryptionmoduleaccess_impl.h", | 57 "webcontentdecryptionmoduleaccess_impl.h", |
| 59 "webcontentdecryptionmodulesession_impl.cc", | 58 "webcontentdecryptionmodulesession_impl.cc", |
| 60 "webcontentdecryptionmodulesession_impl.h", | 59 "webcontentdecryptionmodulesession_impl.h", |
| 61 "webencryptedmediaclient_impl.cc", | 60 "webencryptedmediaclient_impl.cc", |
| 62 "webencryptedmediaclient_impl.h", | 61 "webencryptedmediaclient_impl.h", |
| 63 "webinbandtexttrack_impl.cc", | 62 "webinbandtexttrack_impl.cc", |
| 64 "webinbandtexttrack_impl.h", | 63 "webinbandtexttrack_impl.h", |
| 65 "webmediaplayer_delegate.h", | 64 "webmediaplayer_delegate.h", |
| 66 "webmediaplayer_impl.cc", | |
| 67 "webmediaplayer_impl.h", | |
| 68 "webmediaplayer_params.cc", | 65 "webmediaplayer_params.cc", |
| 69 "webmediaplayer_params.h", | 66 "webmediaplayer_params.h", |
| 70 "webmediaplayer_util.cc", | 67 "webmediaplayer_util.cc", |
| 71 "webmediaplayer_util.h", | 68 "webmediaplayer_util.h", |
| 72 "webmediasource_impl.cc", | 69 "webmediasource_impl.cc", |
| 73 "webmediasource_impl.h", | 70 "webmediasource_impl.h", |
| 74 "websourcebuffer_impl.cc", | 71 "websourcebuffer_impl.cc", |
| 75 "websourcebuffer_impl.h", | 72 "websourcebuffer_impl.h", |
| 76 ] | 73 ] |
| 77 | 74 |
| 78 if (is_android) { | 75 if (media_use_ffmpeg || !is_android) { |
| 79 sources -= [ | 76 sources += [ |
| 80 "encrypted_media_player_support.cc", | 77 "encrypted_media_player_support.cc", |
| 81 "encrypted_media_player_support.h", | 78 "encrypted_media_player_support.h", |
| 82 "webmediaplayer_impl.cc", | 79 "webmediaplayer_impl.cc", |
| 83 "webmediaplayer_impl.h", | 80 "webmediaplayer_impl.h", |
| 84 ] | 81 ] |
| 85 } | 82 } |
| 86 } | 83 } |
| 87 | 84 |
| 88 test("media_blink_unittests") { | 85 test("media_blink_unittests") { |
| 89 deps = [ | 86 deps = [ |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 131 } | 128 } |
| 132 | 129 |
| 133 # TODO(GYP): Delete this after we've converted everything to GN. | 130 # TODO(GYP): Delete this after we've converted everything to GN. |
| 134 # The _run targets exist only for compatibility w/ GYP. | 131 # The _run targets exist only for compatibility w/ GYP. |
| 135 group("media_blink_unittests_run") { | 132 group("media_blink_unittests_run") { |
| 136 testonly = true | 133 testonly = true |
| 137 deps = [ | 134 deps = [ |
| 138 ":media_blink_unittests", | 135 ":media_blink_unittests", |
| 139 ] | 136 ] |
| 140 } | 137 } |
| OLD | NEW |