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 static_library("plugin") { |
| 6 gypi_values = exec_script("//build/gypi_to_gn.py", |
| 7 [ rebase_path("../../remoting_srcs.gypi") ], |
| 8 "scope", |
| 9 [ "../../remoting_srcs.gypi" ]) |
6 | 10 |
7 source_set("plugin") { | |
8 sources = | 11 sources = |
9 rebase_path(remoting_srcs_gypi_values.remoting_client_plugin_sources, | 12 rebase_path(gypi_values.remoting_client_plugin_sources, ".", "//remoting") |
10 ".", | |
11 "//remoting") | |
12 | 13 |
13 if (!is_chromeos) { | 14 # TODO(brettw) when a nacl version of this target is made, these files |
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 | |
21 # won't be part of it. | 15 # won't be part of it. |
22 sources += [ | 16 sources += [ |
23 "pepper_entrypoints.cc", | 17 "pepper_entrypoints.cc", |
24 "pepper_entrypoints.h", | 18 "pepper_entrypoints.h", |
25 ] | 19 ] |
26 | 20 |
27 configs += [ "//build/config/compiler:wexit_time_destructors" ] | 21 configs += [ "//build/config/compiler:wexit_time_destructors" ] |
28 | 22 |
29 defines = [ "HAVE_STDINT_H" ] # Required by on2_integer.h. | 23 defines = [ "HAVE_STDINT_H" ] # Required by on2_integer.h. |
30 | 24 |
31 deps = [ | 25 deps = [ |
32 "//net", | 26 "//net", |
33 "//ppapi/cpp:objects", | 27 "//ppapi/cpp:objects", |
34 "//ppapi/cpp/private:internal_module", | 28 "//ppapi/cpp/private:internal_module", |
35 "//remoting/base", | 29 "//remoting/base", |
36 "//remoting/client", | 30 "//remoting/client", |
37 "//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:dom4_keycode_converter", | 33 "//ui/events:dom4_keycode_converter", |
41 ] | 34 ] |
42 } | 35 } |
OLD | NEW |