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