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",
22 "//third_party/libvpx",
23 "//third_party/libyuv",
24 "//third_party/webrtc/modules/desktop_capture:primitives",
27 sources -= [ "url_request_context_getter.cc" ]
31 source_set("breakpad") {
39 configs += [ "//build/config/compiler:wexit_time_destructors" ]
46 deps += [ "//breakpad" ]
48 deps += [ "//breakpad:breakpad_handler" ]
52 source_set("unit_tests") {
56 "auto_thread_task_runner_unittest.cc",
57 "auto_thread_unittest.cc",
58 "breakpad_win_unittest.cc",
59 "buffered_socket_writer_unittest.cc",
60 "capabilities_unittest.cc",
61 "compound_buffer_unittest.cc",
62 "rate_counter_unittest.cc",
63 "rsa_key_pair_unittest.cc",
64 "run_all_unittests.cc",
65 "running_average_unittest.cc",
66 "test_rsa_key_pair.h",
67 "typed_buffer_unittest.cc",
78 "//third_party/libyuv",
79 "//third_party/webrtc/modules/desktop_capture:primitives",
82 if (is_win || is_mac || is_chromeos) {
83 deps += [ "//breakpad:client" ]
87 libs = [ "rpcrt4.lib" ] # For UuidCreate in breakpad_win_unittest.cc.