OLD | NEW |
1 # Copyright 2017 The Chromium Authors. All rights reserved. | 1 # Copyright 2017 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("//build/config/android/config.gni") | 5 import("//build/config/android/config.gni") |
6 import("//build/config/android/rules.gni") | 6 import("//build/config/android/rules.gni") |
7 import("//remoting/android/client_java_tmpl.gni") | 7 import("//remoting/android/client_java_tmpl.gni") |
8 import("//remoting/android/remoting_apk_tmpl.gni") | 8 import("//remoting/android/remoting_apk_tmpl.gni") |
9 import("//remoting/remoting_options.gni") | 9 import("//remoting/remoting_options.gni") |
10 | 10 |
11 group("jni") { | 11 group("jni") { |
12 testonly = true | 12 testonly = true |
13 | 13 |
14 deps = [ | 14 deps = [ |
15 ":remoting_client_jni", | 15 ":remoting_client_jni", |
16 ] | 16 ] |
17 } | 17 } |
18 | 18 |
19 shared_library("remoting_client_jni") { | 19 shared_library("remoting_client_jni") { |
20 deps = [ | 20 deps = [ |
21 "//remoting/android:jni_headers", | 21 "//remoting/android:jni_headers", |
22 "//remoting/base", | 22 "//remoting/base", |
23 "//remoting/client", | 23 "//remoting/client", |
24 "//remoting/client/display", | 24 "//remoting/client/display", |
25 "//remoting/protocol", | 25 "//remoting/protocol", |
26 "//ui/gfx", | 26 "//ui/gfx", |
27 ] | 27 ] |
28 sources = [ | 28 sources = [ |
29 "display_updater_factory.h", | |
30 "egl_thread_context.cc", | 29 "egl_thread_context.cc", |
31 "egl_thread_context.h", | 30 "egl_thread_context.h", |
32 "jni_client.cc", | 31 "jni_client.cc", |
33 "jni_client.h", | 32 "jni_client.h", |
34 "jni_gl_display_handler.cc", | 33 "jni_gl_display_handler.cc", |
35 "jni_gl_display_handler.h", | 34 "jni_gl_display_handler.h", |
36 "jni_pairing_secret_fetcher.cc", | 35 "jni_pairing_secret_fetcher.cc", |
37 "jni_pairing_secret_fetcher.h", | 36 "jni_pairing_secret_fetcher.h", |
38 "jni_runtime_delegate.cc", | 37 "jni_runtime_delegate.cc", |
39 "jni_runtime_delegate.h", | 38 "jni_runtime_delegate.h", |
40 "jni_touch_event_data.cc", | 39 "jni_touch_event_data.cc", |
41 "jni_touch_event_data.h", | 40 "jni_touch_event_data.h", |
42 "remoting_jni_onload.cc", | 41 "remoting_jni_onload.cc", |
43 "remoting_jni_registrar.cc", | 42 "remoting_jni_registrar.cc", |
44 "remoting_jni_registrar.h", | 43 "remoting_jni_registrar.h", |
45 ] | 44 ] |
46 libs = [ | 45 libs = [ |
47 "android", | 46 "android", |
48 "EGL", | 47 "EGL", |
49 ] | 48 ] |
50 configs += [ "//remoting/build/config:enable_webrtc_remoting_client" ] | 49 configs += [ "//remoting/build/config:enable_webrtc_remoting_client" ] |
51 assert_no_deps = [ "//third_party/ffmpeg:*" ] | 50 assert_no_deps = [ "//third_party/ffmpeg:*" ] |
52 } | 51 } |
OLD | NEW |