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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
|
# 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("//remoting/remoting_srcs.gni")
source_set("base") {
sources = rebase_path(remoting_srcs_gypi_values.remoting_base_sources,
".",
"//remoting")
configs += [ "//build/config/compiler:wexit_time_destructors" ]
public_deps = [
"//base",
"//net",
"//remoting/proto",
"//third_party/protobuf:protobuf_lite",
]
deps = [
"//base/third_party/dynamic_annotations",
"//media",
"//media:shared_memory_support",
"//remoting/resources",
"//third_party/libvpx",
"//third_party/libyuv",
"//third_party/webrtc/modules/desktop_capture",
"//ui/base",
]
}
source_set("breakpad") {
sources = [
"breakpad.h",
"breakpad_linux.cc",
"breakpad_mac.mm",
"breakpad_win.cc",
]
configs += [ "//build/config/compiler:wexit_time_destructors" ]
deps = [
"//base",
]
if (is_mac) {
deps += [ "//breakpad" ]
} else if (is_win) {
deps += [ "//breakpad:breakpad_handler" ]
}
}
source_set("unit_tests") {
testonly = true
sources = [
"auto_thread_task_runner_unittest.cc",
"auto_thread_unittest.cc",
"breakpad_win_unittest.cc",
"buffered_socket_writer_unittest.cc",
"capabilities_unittest.cc",
"compound_buffer_unittest.cc",
"rate_counter_unittest.cc",
"rsa_key_pair_unittest.cc",
"run_all_unittests.cc",
"running_average_unittest.cc",
"test_rsa_key_pair.h",
"typed_buffer_unittest.cc",
"util_unittest.cc",
]
deps = [
":base",
":breakpad",
"//base",
"//net:test_support",
"//testing/gmock",
"//testing/gtest",
"//third_party/libyuv",
"//third_party/webrtc/modules/desktop_capture",
]
if (is_win || is_mac || is_chromeos) {
sources += [ "resources_unittest.cc" ]
deps += [ "//breakpad:client" ]
}
}
|