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.
4
5static_library("plugin") {
6  sources = [
7    "chromoting_instance.cc",
8    "chromoting_instance.h",
9    "delegating_signal_strategy.cc",
10    "delegating_signal_strategy.h",
11    "media_source_video_renderer.cc",
12    "media_source_video_renderer.h",
13    "normalizing_input_filter_cros.cc",
14    "normalizing_input_filter_cros.h",
15    "normalizing_input_filter_mac.cc",
16    "normalizing_input_filter_mac.h",
17    "pepper_address_resolver.cc",
18    "pepper_address_resolver.h",
19    "pepper_audio_player.cc",
20    "pepper_audio_player.h",
21    "pepper_input_handler.cc",
22    "pepper_input_handler.h",
23    "pepper_network_manager.cc",
24    "pepper_network_manager.h",
25    "pepper_packet_socket_factory.cc",
26    "pepper_packet_socket_factory.h",
27    "pepper_plugin_thread_delegate.cc",
28    "pepper_plugin_thread_delegate.h",
29    "pepper_port_allocator.cc",
30    "pepper_port_allocator.h",
31    "pepper_util.cc",
32    "pepper_util.h",
33    "pepper_view.cc",
34    "pepper_view.h",
35  ]
36
37  # TODO(brettw) when a nacl version of this target is made, these files
38  # won't be part of it.
39  sources += [
40    "pepper_entrypoints.cc",
41    "pepper_entrypoints.h",
42  ]
43
44  configs += [ "//build/config/compiler:wexit_time_destructors" ]
45
46  defines = [ "HAVE_STDINT_H" ]  # Required by on2_integer.h.
47
48  deps = [
49    "//net",
50    "//ppapi:ppapi_cpp_objects",
51    "//ppapi:ppapi_internal_module",
52    "//remoting/base",
53    "//remoting/client",
54    "//remoting/protocol",
55    "//third_party/webrtc/modules/desktop_capture",
56    "//ui/events:dom4_keycode_converter",
57  ]
58}
59