OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//remoting/remoting_srcs.gni") | 5 import("//remoting/remoting_srcs.gni") |
6 | 6 |
7 source_set("base") { | 7 source_set("base") { |
8 sources = rebase_path(remoting_srcs_gypi_values.remoting_base_sources, | 8 sources = rebase_path(remoting_srcs_gypi_values.remoting_base_sources, |
9 ".", | 9 ".", |
10 "//remoting") | 10 "//remoting") |
11 | 11 |
12 configs += [ "//build/config/compiler:wexit_time_destructors" ] | 12 configs += [ "//build/config/compiler:wexit_time_destructors" ] |
13 | 13 |
14 public_deps = [ | 14 public_deps = [ |
15 "//base", | 15 "//base", |
16 "//net", | 16 "//net", |
17 "//remoting/proto", | 17 "//remoting/proto", |
18 "//third_party/protobuf:protobuf_lite", | 18 "//third_party/protobuf:protobuf_lite", |
19 ] | 19 ] |
20 deps = [ | 20 deps = [ |
21 "//base/third_party/dynamic_annotations", | 21 "//base/third_party/dynamic_annotations", |
22 "//third_party/libvpx", | 22 "//third_party/libvpx", |
23 "//third_party/libyuv", | 23 "//third_party/libyuv", |
24 "//third_party/webrtc/modules/desktop_capture:primitives", | 24 "//third_party/webrtc/modules/desktop_capture:primitives", |
25 "//url", | 25 "//url", |
26 ] | 26 ] |
27 if (is_nacl) { | 27 if (is_nacl) { |
28 sources -= [ | 28 sources -= [ |
29 "chromium_url_request.cc", | 29 "chromium_url_request.cc", |
| 30 "chromoting_event.cc", |
| 31 "telemetry_log_writer.cc", |
30 "url_request_context_getter.cc", | 32 "url_request_context_getter.cc", |
31 ] | 33 ] |
32 } | 34 } |
33 } | 35 } |
34 | 36 |
35 source_set("breakpad") { | 37 source_set("breakpad") { |
36 sources = [ | 38 sources = [ |
37 "breakpad.h", | 39 "breakpad.h", |
38 "breakpad_linux.cc", | 40 "breakpad_linux.cc", |
39 "breakpad_mac.mm", | 41 "breakpad_mac.mm", |
(...skipping 20 matching lines...) Expand all Loading... |
60 "auto_thread_task_runner_unittest.cc", | 62 "auto_thread_task_runner_unittest.cc", |
61 "auto_thread_unittest.cc", | 63 "auto_thread_unittest.cc", |
62 "breakpad_win_unittest.cc", | 64 "breakpad_win_unittest.cc", |
63 "buffered_socket_writer_unittest.cc", | 65 "buffered_socket_writer_unittest.cc", |
64 "capabilities_unittest.cc", | 66 "capabilities_unittest.cc", |
65 "compound_buffer_unittest.cc", | 67 "compound_buffer_unittest.cc", |
66 "rate_counter_unittest.cc", | 68 "rate_counter_unittest.cc", |
67 "rsa_key_pair_unittest.cc", | 69 "rsa_key_pair_unittest.cc", |
68 "run_all_unittests.cc", | 70 "run_all_unittests.cc", |
69 "running_samples_unittest.cc", | 71 "running_samples_unittest.cc", |
| 72 "telemetry_log_writer_unittest.cc", |
70 "test_rsa_key_pair.h", | 73 "test_rsa_key_pair.h", |
71 "typed_buffer_unittest.cc", | 74 "typed_buffer_unittest.cc", |
72 "util_unittest.cc", | 75 "util_unittest.cc", |
73 ] | 76 ] |
74 | 77 |
75 deps = [ | 78 deps = [ |
76 ":base", | 79 ":base", |
77 ":breakpad", | 80 ":breakpad", |
78 "//base", | 81 "//base", |
79 "//net:test_support", | 82 "//net:test_support", |
80 "//testing/gmock", | 83 "//testing/gmock", |
81 "//testing/gtest", | 84 "//testing/gtest", |
82 "//third_party/libyuv", | 85 "//third_party/libyuv", |
83 "//third_party/webrtc/modules/desktop_capture:primitives", | 86 "//third_party/webrtc/modules/desktop_capture:primitives", |
84 ] | 87 ] |
85 | 88 |
86 if (is_win || is_mac || is_chromeos) { | 89 if (is_win || is_mac || is_chromeos) { |
87 deps += [ "//breakpad:client" ] | 90 deps += [ "//breakpad:client" ] |
88 } | 91 } |
89 | 92 |
90 if (is_win) { | 93 if (is_win) { |
91 libs = [ "rpcrt4.lib" ] # For UuidCreate in breakpad_win_unittest.cc. | 94 libs = [ "rpcrt4.lib" ] # For UuidCreate in breakpad_win_unittest.cc. |
92 } | 95 } |
93 } | 96 } |
OLD | NEW |