From 9e21d54cfcd5cdee9679f892cc1f54da30b10be4 Mon Sep 17 00:00:00 2001 From: Riley Dulin Date: Fri, 16 Apr 2021 11:46:48 -0700 Subject: [PATCH] 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 --- ReactCommon/hermes/inspector/BUCK | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ReactCommon/hermes/inspector/BUCK b/ReactCommon/hermes/inspector/BUCK index f3ea76a314e..3416f8bea9a 100644 --- a/ReactCommon/hermes/inspector/BUCK +++ b/ReactCommon/hermes/inspector/BUCK @@ -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"],