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