Created
April 18, 2017 21:02
-
-
Save williamsjj/e0a8020f6ac364c6fefaa114c913fb62 to your computer and use it in GitHub Desktop.
JNI Chromium Example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import("//build/config/android/config.gni") | |
import("//build/config/android/rules.gni") | |
generate_jni("xyz_config_jni_headers") { | |
sources = [ | |
"java/src/com/example/configuration/XYZConfiguration.java", | |
"java/src/com/example/configuration/XYZUserPreferences.java", | |
] | |
jni_package = "xyz_config_jni" | |
} | |
android_library("xyz_java") { | |
java_files = [ | |
"java/src/com/example/trust/XYZRootTrust.java", | |
"java/src/com/example/configuration/XYZConfiguration.java", | |
"java/src/com/example/configuration/XYZUserPreferences.java", | |
] | |
deps = [ | |
"//base:base_java", | |
"//third_party/android_tools:android_support_annotations_java", | |
"//third_party/jsr-305:jsr_305_javalib", | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment