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("//remoting/remoting_srcs.gni")
8 sources = rebase_path(remoting_srcs_gypi_values.remoting_base_sources,
12 configs += [ "//build/config/compiler:wexit_time_destructors" ]
18 "//third_party/protobuf:protobuf_lite",
21 "//base/third_party/dynamic_annotations",
23 "//media:shared_memory_support",
24 "//remoting/resources",
25 "//third_party/libvpx",
26 "//third_party/libyuv",
27 "//third_party/webrtc/modules/desktop_capture",
32 source_set("breakpad") {
40 configs += [ "//build/config/compiler:wexit_time_destructors" ]
47 deps += [ "//breakpad" ]
49 deps += [ "//breakpad:breakpad_handler" ]
53 source_set("unit_tests") {
57 "auto_thread_task_runner_unittest.cc",
58 "auto_thread_unittest.cc",
59 "breakpad_win_unittest.cc",
60 "buffered_socket_writer_unittest.cc",
61 "capabilities_unittest.cc",
62 "compound_buffer_unittest.cc",
63 "rate_counter_unittest.cc",
64 "resources_unittest.cc",
65 "rsa_key_pair_unittest.cc",
66 "run_all_unittests.cc",
67 "running_average_unittest.cc",
68 "test_rsa_key_pair.h",
69 "typed_buffer_unittest.cc",
80 "//third_party/libyuv",
81 "//third_party/webrtc/modules/desktop_capture",
84 if (is_win || is_mac || is_chromeos) {
85 deps += [ "//breakpad:client" ]
89 libs = [ "rpcrt4.lib" ] # For UuidCreate in breakpad_win_unittest.cc.