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