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, |
| 10 ".", |
| 11 "//remoting") |
13 | 12 |
14 # TODO(brettw) when a nacl version of this target is made, these files | 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 |
15 # won't be part of it. | 21 # won't be part of it. |
16 sources += [ | 22 sources += [ |
17 "pepper_entrypoints.cc", | 23 "pepper_entrypoints.cc", |
18 "pepper_entrypoints.h", | 24 "pepper_entrypoints.h", |
19 ] | 25 ] |
20 | 26 |
21 configs += [ "//build/config/compiler:wexit_time_destructors" ] | 27 configs += [ "//build/config/compiler:wexit_time_destructors" ] |
22 | 28 |
23 defines = [ "HAVE_STDINT_H" ] # Required by on2_integer.h. | 29 defines = [ "HAVE_STDINT_H" ] # Required by on2_integer.h. |
24 | 30 |
25 deps = [ | 31 deps = [ |
26 "//net", | 32 "//net", |
27 "//ppapi/cpp:objects", | 33 "//ppapi/cpp:objects", |
28 "//ppapi/cpp/private:internal_module", | 34 "//ppapi/cpp/private:internal_module", |
29 "//remoting/base", | 35 "//remoting/base", |
30 "//remoting/client", | 36 "//remoting/client", |
| 37 "//remoting/codec", |
31 "//remoting/protocol", | 38 "//remoting/protocol", |
32 "//third_party/webrtc/modules/desktop_capture", | 39 "//third_party/webrtc/modules/desktop_capture", |
33 "//ui/events:dom4_keycode_converter", | 40 "//ui/events:dom4_keycode_converter", |
34 ] | 41 ] |
35 } | 42 } |
OLD | NEW |