Linux: Depend on liberation-fonts package for RPMs.
[chromium-blink-merge.git] / remoting / client / jni / remoting_jni_registrar.cc
blobb1be442b67d3e4e9e8626e77485048039462bdf9
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
6 #include "remoting/client/jni/remoting_jni_registrar.h"
8 #include "base/android/jni_android.h"
9 #include "base/android/jni_registrar.h"
10 #include "base/macros.h"
11 #include "remoting/client/jni/chromoting_jni_runtime.h"
12 #include "remoting/client/jni/jni_client.h"
14 namespace remoting {
16 namespace {
17 const base::android::RegistrationMethod kRemotingRegisteredMethods[] = {
18 {"JniClient", JniClient::RegisterJni},
19 {"ChromotingJniRuntime", RegisterChromotingJniRuntime}
21 } // namespace
23 bool RegisterJni(JNIEnv* env) {
24 return RegisterNativeMethods(env, kRemotingRegisteredMethods,
25 arraysize(kRemotingRegisteredMethods));
28 } // namespace remoting