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 2016 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")
# Target naming conventions:
# - unittests: Unit tests for a particular class/file.
source_set("common") {
sources = [
"media_type_converters.cc",
"media_type_converters.h",
"mojo_shared_buffer_video_frame.cc",
"mojo_shared_buffer_video_frame.h",
]
deps = [
"//base",
"//media",
"//media/mojo/interfaces",
"//mojo/common",
"//mojo/converters/geometry",
"//mojo/public/c/system:for_component",
"//ui/gfx/geometry",
"//ui/mojo/geometry:interfaces",
]
}
test("media_mojo_unittests") {
sources = [
"media_type_converters_unittest.cc",
"mojo_shared_buffer_video_frame_unittest.cc",
]
deps = [
":common",
"//base",
"//base/test:test_support",
"//media",
"//media/base:test_support",
"//media/mojo/interfaces",
"//mojo/edk/system",
"//mojo/edk/test:run_all_unittests",
"//testing/gmock",
"//testing/gtest",
]
}
group("tests") {
testonly = true
deps = [
":media_mojo_unittests",
]
}
|