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("plugin") { | 7 source_set("plugin") { |
8 sources = | 8 sources = |
9 rebase_path(remoting_srcs_gypi_values.remoting_client_plugin_sources, | 9 rebase_path(remoting_srcs_gypi_values.remoting_client_plugin_sources, |
10 ".", | 10 ".", |
11 "//remoting") | 11 "//remoting") |
12 | 12 |
13 if (!is_chromeos) { | |
14 sources -= [ | |
15 "normalizing_input_filter_cros.cc", | |
16 "normalizing_input_filter_cros.h", | |
17 ] | |
18 } | |
19 | |
20 # TODO(GYP) when a nacl version of this target is made, these files | 13 # TODO(GYP) when a nacl version of this target is made, these files |
21 # won't be part of it. | 14 # won't be part of it. |
22 sources += [ | 15 sources += [ |
23 "pepper_entrypoints.cc", | 16 "pepper_entrypoints.cc", |
24 "pepper_entrypoints.h", | 17 "pepper_entrypoints.h", |
25 ] | 18 ] |
26 | 19 |
27 configs += [ "//build/config/compiler:wexit_time_destructors" ] | 20 configs += [ "//build/config/compiler:wexit_time_destructors" ] |
28 | 21 |
29 defines = [ "HAVE_STDINT_H" ] # Required by on2_integer.h. | 22 defines = [ "HAVE_STDINT_H" ] # Required by on2_integer.h. |
30 | 23 |
31 deps = [ | 24 deps = [ |
32 "//net", | 25 "//net", |
33 "//ppapi/cpp:objects", | 26 "//ppapi/cpp:objects", |
34 "//ppapi/cpp/private:internal_module", | 27 "//ppapi/cpp/private:internal_module", |
35 "//remoting/base", | 28 "//remoting/base", |
36 "//remoting/client", | 29 "//remoting/client", |
37 "//remoting/codec", | 30 "//remoting/codec", |
38 "//remoting/protocol", | 31 "//remoting/protocol", |
39 "//third_party/webrtc/modules/desktop_capture", | 32 "//third_party/webrtc/modules/desktop_capture", |
40 "//ui/events:dom_keycode_converter", | 33 "//ui/events:dom_keycode_converter", |
41 ] | 34 ] |
42 } | 35 } |
43 | |
44 source_set("unit_tests") { | |
45 testonly = true | |
46 | |
47 sources = [ | |
48 "empty_cursor_filter_unittest.cc", | |
49 "normalizing_input_filter_mac_unittest.cc", | |
50 "touch_input_scaler_unittest.cc", | |
51 ] | |
52 | |
53 if (is_chromeos) { | |
54 sources += [ "normalizing_input_filter_cros_unittest.cc" ] | |
55 } | |
56 | |
57 deps = [ | |
58 ":plugin", | |
59 "//remoting/proto", | |
60 "//testing/gmock", | |
61 "//testing/gtest", | |
62 "//third_party/webrtc", | |
63 ] | |
64 } | |
OLD | NEW |