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
3 # found in the LICENSE file.
5 import("//testing/test.gni")
8 output_name = "media_blink"
16 "//media:shared_memory_support",
19 "//third_party/WebKit/public:blink",
25 defines = [ "MEDIA_IMPLEMENTATION" ]
30 "buffered_data_source.cc",
31 "buffered_data_source.h",
32 "buffered_data_source_host_impl.cc",
33 "buffered_data_source_host_impl.h",
34 "buffered_resource_loader.cc",
35 "buffered_resource_loader.h",
38 "cdm_result_promise.h",
39 "cdm_result_promise_helper.cc",
40 "cdm_result_promise_helper.h",
41 "cdm_session_adapter.cc",
42 "cdm_session_adapter.h",
43 "encrypted_media_player_support.cc",
44 "encrypted_media_player_support.h",
45 "new_session_cdm_result_promise.cc",
46 "new_session_cdm_result_promise.h",
49 "video_frame_compositor.cc",
50 "video_frame_compositor.h",
51 "webaudiosourceprovider_impl.cc",
52 "webaudiosourceprovider_impl.h",
53 "webcontentdecryptionmodule_impl.cc",
54 "webcontentdecryptionmodule_impl.h",
55 "webcontentdecryptionmoduleaccess_impl.cc",
56 "webcontentdecryptionmoduleaccess_impl.h",
57 "webcontentdecryptionmodulesession_impl.cc",
58 "webcontentdecryptionmodulesession_impl.h",
59 "webencryptedmediaclient_impl.cc",
60 "webencryptedmediaclient_impl.h",
61 "webinbandtexttrack_impl.cc",
62 "webinbandtexttrack_impl.h",
63 "webmediaplayer_delegate.h",
64 "webmediaplayer_impl.cc",
65 "webmediaplayer_impl.h",
66 "webmediaplayer_params.cc",
67 "webmediaplayer_params.h",
68 "webmediaplayer_util.cc",
69 "webmediaplayer_util.h",
70 "webmediasource_impl.cc",
71 "webmediasource_impl.h",
72 "websourcebuffer_impl.cc",
73 "websourcebuffer_impl.h",
78 "encrypted_media_player_support.cc",
79 "encrypted_media_player_support.h",
80 "webmediaplayer_impl.cc",
81 "webmediaplayer_impl.h",
86 if (!is_mac && (!is_win || link_chrome_on_windows)) {
87 # TODO(GYP): Make linking this work on the mac.
88 test("media_blink_unittests") {
92 "//base/test:test_support",
96 "//media:shared_memory_support",
97 "//media/base:test_support",
101 "//third_party/WebKit/public:blink",
103 "//ui/gfx:test_support",
108 "buffered_data_source_host_impl_unittest.cc",
109 "buffered_data_source_unittest.cc",
110 "buffered_resource_loader_unittest.cc",
111 "cache_util_unittest.cc",
112 "mock_webframeclient.h",
113 "mock_weburlloader.cc",
114 "mock_weburlloader.h",
115 "run_all_unittests.cc",
116 "test_response_generator.cc",
117 "test_response_generator.h",
118 "video_frame_compositor_unittest.cc",
119 "webaudiosourceprovider_impl_unittest.cc",