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 "//media", | |
23 "//media:shared_memory_support", | |
24 "//remoting/resources", | |
25 "//third_party/libvpx", | 22 "//third_party/libvpx", |
26 "//third_party/libyuv", | 23 "//third_party/libyuv", |
27 "//third_party/webrtc/modules/desktop_capture", | 24 "//third_party/webrtc/modules/desktop_capture:primitives", |
28 "//ui/base", | |
29 ] | 25 ] |
| 26 if (is_nacl) { |
| 27 sources -= [ "url_request_context_getter.cc" ] |
| 28 } |
30 } | 29 } |
31 | 30 |
32 source_set("breakpad") { | 31 source_set("breakpad") { |
33 sources = [ | 32 sources = [ |
34 "breakpad.h", | 33 "breakpad.h", |
35 "breakpad_linux.cc", | 34 "breakpad_linux.cc", |
36 "breakpad_mac.mm", | 35 "breakpad_mac.mm", |
37 "breakpad_win.cc", | 36 "breakpad_win.cc", |
38 ] | 37 ] |
39 | 38 |
(...skipping 30 matching lines...) Expand all Loading... |
70 ] | 69 ] |
71 | 70 |
72 deps = [ | 71 deps = [ |
73 ":base", | 72 ":base", |
74 ":breakpad", | 73 ":breakpad", |
75 "//base", | 74 "//base", |
76 "//net:test_support", | 75 "//net:test_support", |
77 "//testing/gmock", | 76 "//testing/gmock", |
78 "//testing/gtest", | 77 "//testing/gtest", |
79 "//third_party/libyuv", | 78 "//third_party/libyuv", |
80 "//third_party/webrtc/modules/desktop_capture", | 79 "//third_party/webrtc/modules/desktop_capture:primitives", |
81 ] | 80 ] |
82 | 81 |
83 if (is_win || is_mac || is_chromeos) { | 82 if (is_win || is_mac || is_chromeos) { |
84 deps += [ "//breakpad:client" ] | 83 deps += [ "//breakpad:client" ] |
85 } | 84 } |
86 | 85 |
87 if (is_win) { | 86 if (is_win) { |
88 libs = [ "rpcrt4.lib" ] # For UuidCreate in breakpad_win_unittest.cc. | 87 libs = [ "rpcrt4.lib" ] # For UuidCreate in breakpad_win_unittest.cc. |
89 } | 88 } |
90 } | 89 } |
OLD | NEW |