Depend on fbjni directly instead of native/fb

Summary:
The Inspector uses fbjni/JThread.h on Android platforms to get a Java
thread (with a class loader). Use a smaller scope dependency to bring
in fewer things.

Changelog: [Internal]

Reviewed By: neildhar

Differential Revision: D27799508

fbshipit-source-id: 3e1e00cf65596d12c9128fe636ed970238f4aba2
This commit is contained in:
Riley Dulin
2021-04-16 11:46:48 -07:00
committed by Facebook GitHub Bot
parent 318e9f283e
commit 9e21d54cfc
+1 -1
View File
@@ -115,7 +115,7 @@ fb_xplat_cxx_library(
# no JNI_Onload.
fbandroid_allow_jni_merging = False,
fbandroid_deps = [
"//fbandroid/native/fb:fb",
"//fbandroid/libraries/fbjni:fbjni",
],
fbobjc_header_path_prefix = "hermes/inspector/detail",
labels = ["supermodule:xplat/default/public.hermes"],