Skip to content

Commit 42faf96

Browse files
dreissfacebook-github-bot
authored andcommitted
Update fbjni submodule to new upstream and latest version
Summary: The central fbjni repository is now public, so point to it and take the latest version, which includes support for host builds and some condensed syntax. Test Plan: CI Differential Revision: D18217840 fbshipit-source-id: 454e3e081f7e3155704fed692506251c4018b2a1
1 parent 80b46ca commit 42faf96

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

.gitmodules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,4 +117,4 @@
117117
[submodule "android/libs/fbjni"]
118118
ignore = dirty
119119
path = android/libs/fbjni
120-
url = https://github.com/IvanKobzarev/fbjni.git
120+
url = https://github.com/facebookincubator/fbjni.git

android/libs/fbjni

Submodule fbjni updated 120 files

android/libs/fbjni_local/build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ android {
1111

1212
sourceSets {
1313
main {
14-
manifest.srcFile '../fbjni/ApplicationManifest.xml'
14+
manifest.srcFile '../fbjni/java/com/facebook/jni/AndroidManifest.xml'
1515
java {
1616
srcDir '../fbjni/java'
1717
}
@@ -35,6 +35,7 @@ android {
3535

3636
dependencies {
3737
compileOnly 'com.google.code.findbugs:jsr305:3.0.1'
38+
implementation 'com.facebook.soloader:nativeloader:0.8.0'
3839
}
3940

4041
apply from: rootProject.file('gradle/release.gradle')

android/pytorch_android/host/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ sourceSets {
2828
dependencies {
2929
compileOnly 'com.google.code.findbugs:jsr305:3.0.1'
3030
implementation 'com.facebook.soloader:nativeloader:0.8.0'
31-
implementation 'com.facebook.fbjni:fbjni:0.0.3-SNAPSHOT'
31+
implementation 'com.facebook.fbjni:fbjni-java-only:0.0.3'
3232
testImplementation 'junit:junit:4.12'
3333
}

0 commit comments

Comments
 (0)