Index: remoting/client/jni/BUILD.gn |
diff --git a/remoting/client/jni/BUILD.gn b/remoting/client/jni/BUILD.gn |
new file mode 100644 |
index 0000000000000000000000000000000000000000..603c0bed4d21b2fbf603d2f6a993219b42f32658 |
--- /dev/null |
+++ b/remoting/client/jni/BUILD.gn |
@@ -0,0 +1,60 @@ |
+# Copyright 2017 The Chromium Authors. All rights reserved. |
+# Use of this source code is governed by a BSD-style license that can be |
+# found in the LICENSE file. |
+ |
+import("//build/config/android/config.gni") |
+import("//build/config/android/rules.gni") |
+import("//remoting/android/client_java_tmpl.gni") |
+import("//remoting/android/remoting_apk_tmpl.gni") |
+import("//remoting/remoting_options.gni") |
+ |
+group("jni") { |
+ testonly = true |
+ |
+ deps = [ |
+ ":remoting_client_jni", |
+ ] |
+} |
+ |
+shared_library("remoting_client_jni") { |
+ deps = [ |
+ "//remoting/android:jni_headers", |
+ "//remoting/base", |
+ "//remoting/client", |
+ "//remoting/client/display", |
+ "//remoting/protocol", |
+ "//ui/events:dom_keycode_converter", |
+ "//ui/gfx", |
+ ] |
+ sources = [ |
+ "android_keymap.cc", |
+ "android_keymap.h", |
+ "chromoting_jni_instance.cc", |
+ "chromoting_jni_instance.h", |
+ "connect_to_host_info.cc", |
+ "connect_to_host_info.h", |
+ "display_updater_factory.h", |
+ "egl_thread_context.cc", |
+ "egl_thread_context.h", |
+ "jni_client.cc", |
+ "jni_client.h", |
+ "jni_gl_display_handler.cc", |
+ "jni_gl_display_handler.h", |
+ "jni_pairing_secret_fetcher.cc", |
+ "jni_pairing_secret_fetcher.h", |
+ "jni_runtime_delegate.cc", |
+ "jni_runtime_delegate.h", |
+ "jni_touch_event_data.cc", |
+ "jni_touch_event_data.h", |
+ "remoting_jni_onload.cc", |
+ "remoting_jni_registrar.cc", |
+ "remoting_jni_registrar.h", |
+ ] |
+ libs = [ |
+ "android", |
+ "OpenSLES", |
+ "EGL", |
+ ] |
+ configs += [ "//remoting/build/config:enable_webrtc_remoting_client" ] |
+ assert_no_deps = [ "//third_party/ffmpeg:*" ] |
+} |