| Index: content/public/android/BUILD.gn
|
| diff --git a/content/public/android/BUILD.gn b/content/public/android/BUILD.gn
|
| index 0755a18c7bbddf0d2414d6a5bae8c02bf73d9350..ef9a861cd250069c837c769c632acea4ce57849a 100644
|
| --- a/content/public/android/BUILD.gn
|
| +++ b/content/public/android/BUILD.gn
|
| @@ -5,6 +5,11 @@
|
| import("//build/config/android/config.gni")
|
| import("//build/config/android/rules.gni")
|
|
|
| +content_jni_gypi_values = exec_script("//build/gypi_to_gn.py",
|
| + [ rebase_path("../../content_jni.gypi") ],
|
| + "scope",
|
| + [ "../../content_jni.gypi" ])
|
| +
|
| android_aidl("common_aidl") {
|
| interface_file = "java/src/org/chromium/content/common/common.aidl"
|
| import_include = "java/src"
|
| @@ -200,11 +205,23 @@ java_cpp_template("content_gamepad_mapping_java") {
|
| ]
|
| }
|
|
|
| -generate_jar_jni("content_jni_headers") {
|
| +generate_jar_jni("jar_jni") {
|
| jni_package = "content"
|
| classes = [
|
| - "android/view/MotionEvent.class",
|
| "java/util/HashSet.class",
|
| + "android/view/MotionEvent.class",
|
| + ]
|
| +}
|
| +
|
| +generate_jni("content_jni_headers") {
|
| + sources = rebase_path(content_jni_gypi_values.sources, "", "../..")
|
| + jni_package = "content"
|
| +}
|
| +
|
| +group("jni") {
|
| + deps = [
|
| + ":content_jni_headers",
|
| + ":jar_jni",
|
| ]
|
| }
|
|
|
|
|