forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBUILD.gn
55 lines (49 loc) · 1.39 KB
/
BUILD.gn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//testing/test.gni")
source_set("unit_tests") {
testonly = true
sources = [
"clients/mojo_audio_decoder_unittest.cc",
"clients/mojo_cdm_unittest.cc",
"clients/mojo_decryptor_unittest.cc",
"clients/mojo_renderer_unittest.cc",
"common/media_type_converters_unittest.cc",
"common/mojo_decoder_buffer_converter_unittest.cc",
"common/mojo_shared_buffer_video_frame_unittest.cc",
"services/mojo_audio_output_stream_unittest.cc",
"services/mojo_cdm_allocator_unittest.cc",
]
if (is_android) {
sources += [ "clients/mojo_android_overlay_unittest.cc" ]
}
deps = [
"//base",
"//base/test:test_support",
"//media",
"//media:cdm_api",
"//media/base:test_support",
"//media/mojo/clients",
"//media/mojo/common",
"//media/mojo/interfaces",
"//media/mojo/services:lib",
"//services/service_manager/tests:interfaces",
"//testing/gmock",
"//testing/gtest",
"//ui/gfx:test_support",
]
}
test("media_mojo_unittests") {
# crbug.com/676418: Suppress symbol import warnings.
if (is_win && is_component_build) {
ldflags = [
"/ignore:4217",
"/ignore:4049",
]
}
deps = [
":unit_tests",
"//mojo/edk/test:run_all_unittests",
]
}