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 output_name = "media_blink"
12 "//media:shared_memory_support",
14 "//third_party/WebKit/public:blink",
20 defines = [ "MEDIA_IMPLEMENTATION" ]
25 "buffered_data_source.cc",
26 "buffered_data_source.h",
27 "buffered_data_source_host_impl.cc",
28 "buffered_data_source_host_impl.h",
29 "buffered_resource_loader.cc",
30 "buffered_resource_loader.h",
33 "cdm_result_promise.h",
34 "cdm_result_promise_helper.cc",
35 "cdm_result_promise_helper.h",
36 "cdm_session_adapter.cc",
37 "cdm_session_adapter.h",
38 "encrypted_media_player_support.cc",
39 "encrypted_media_player_support.h",
40 "new_session_cdm_result_promise.cc",
41 "new_session_cdm_result_promise.h",
44 "video_frame_compositor.cc",
45 "video_frame_compositor.h",
46 "webaudiosourceprovider_impl.cc",
47 "webaudiosourceprovider_impl.h",
48 "webcontentdecryptionmodule_impl.cc",
49 "webcontentdecryptionmodule_impl.h",
50 "webcontentdecryptionmodulesession_impl.cc",
51 "webcontentdecryptionmodulesession_impl.h",
52 "webinbandtexttrack_impl.cc",
53 "webinbandtexttrack_impl.h",
54 "webmediaplayer_delegate.h",
55 "webmediaplayer_impl.cc",
56 "webmediaplayer_impl.h",
57 "webmediaplayer_params.cc",
58 "webmediaplayer_params.h",
59 "webmediaplayer_util.cc",
60 "webmediaplayer_util.h",
61 "webmediasource_impl.cc",
62 "webmediasource_impl.h",
63 "websourcebuffer_impl.cc",
64 "websourcebuffer_impl.h",
69 "encrypted_media_player_support.cc",
70 "encrypted_media_player_support.h",
71 "webmediaplayer_impl.cc",
72 "webmediaplayer_impl.h",
78 # TODO(GYP): Make linking this work on the mac.
79 test("media_blink_unittests") {
83 "//base/test:test_support",
87 "//media:shared_memory_support",
88 "//media/base:test_support",
92 "//third_party/WebKit/public:blink",
94 "//ui/gfx:test_support",
99 "buffered_data_source_host_impl_unittest.cc",
100 "buffered_data_source_unittest.cc",
101 "buffered_resource_loader_unittest.cc",
102 "cache_util_unittest.cc",
103 "mock_webframeclient.h",
104 "mock_weburlloader.cc",
105 "mock_weburlloader.h",
106 "run_all_unittests.cc",
107 "test_response_generator.cc",
108 "test_response_generator.h",
109 "video_frame_compositor_unittest.cc",
110 "webaudiosourceprovider_impl_unittest.cc",