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 "key_system_config_selector.cc",
46 "key_system_config_selector.h",
47 "new_session_cdm_result_promise.cc",
48 "new_session_cdm_result_promise.h",
51 "video_frame_compositor.cc",
52 "video_frame_compositor.h",
53 "webaudiosourceprovider_impl.cc",
54 "webaudiosourceprovider_impl.h",
55 "webcontentdecryptionmodule_impl.cc",
56 "webcontentdecryptionmodule_impl.h",
57 "webcontentdecryptionmoduleaccess_impl.cc",
58 "webcontentdecryptionmoduleaccess_impl.h",
59 "webcontentdecryptionmodulesession_impl.cc",
60 "webcontentdecryptionmodulesession_impl.h",
61 "webencryptedmediaclient_impl.cc",
62 "webencryptedmediaclient_impl.h",
63 "webinbandtexttrack_impl.cc",
64 "webinbandtexttrack_impl.h",
65 "webmediaplayer_delegate.h",
66 "webmediaplayer_impl.cc",
67 "webmediaplayer_impl.h",
68 "webmediaplayer_params.cc",
69 "webmediaplayer_params.h",
70 "webmediaplayer_util.cc",
71 "webmediaplayer_util.h",
72 "webmediasource_impl.cc",
73 "webmediasource_impl.h",
74 "websourcebuffer_impl.cc",
75 "websourcebuffer_impl.h",
80 "encrypted_media_player_support.cc",
81 "encrypted_media_player_support.h",
82 "webmediaplayer_impl.cc",
83 "webmediaplayer_impl.h",
89 # TODO(GYP): Make linking this work on the mac.
90 test("media_blink_unittests") {
94 "//base/test:test_support",
99 "//media:shared_memory_support",
100 "//media/base:test_support",
104 "//third_party/WebKit/public:blink",
106 "//ui/gfx:test_support",
110 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
113 "buffered_data_source_host_impl_unittest.cc",
114 "buffered_data_source_unittest.cc",
115 "buffered_resource_loader_unittest.cc",
116 "cache_util_unittest.cc",
117 "key_system_config_selector_unittest.cc",
118 "mock_webframeclient.h",
119 "mock_weburlloader.cc",
120 "mock_weburlloader.h",
121 "run_all_unittests.cc",
122 "test_response_generator.cc",
123 "test_response_generator.h",
124 "video_frame_compositor_unittest.cc",
125 "webaudiosourceprovider_impl_unittest.cc",
129 deps += [ "//ui/gl" ]