From a3cb377645f2ccb7632ded73c230a41025d38f6f Mon Sep 17 00:00:00 2001 From: Pascal Hartig Date: Tue, 21 Jan 2020 07:57:04 -0800 Subject: [PATCH] Fix BUCK build (#27826) Summary: This fixes a build failure with buck introduced with https://github.com/facebook/react-native/issues/27729. The internal and external buck overlays diverged in how fbjni was imported. The Buck re-export here ensures that the targets resolve both internall and externally. ## Changelog [Android] [Fixed] - RNTester Buck Build Pull Request resolved: https://github.com/facebook/react-native/pull/27826 Test Plan: buck fetch rntester buck build rntester Reviewed By: jknoxville Differential Revision: D19496769 Pulled By: passy fbshipit-source-id: d699a5f64f691ed375cfc7a9d6a5a6f6e36ba283 --- .../src/main/libraries/fbjni/{java/com/facebook/fbjni => }/BUCK | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename ReactAndroid/src/main/libraries/fbjni/{java/com/facebook/fbjni => }/BUCK (95%) diff --git a/ReactAndroid/src/main/libraries/fbjni/java/com/facebook/fbjni/BUCK b/ReactAndroid/src/main/libraries/fbjni/BUCK similarity index 95% rename from ReactAndroid/src/main/libraries/fbjni/java/com/facebook/fbjni/BUCK rename to ReactAndroid/src/main/libraries/fbjni/BUCK index 94eb98cce575e0..db32c1b4a5463d 100644 --- a/ReactAndroid/src/main/libraries/fbjni/java/com/facebook/fbjni/BUCK +++ b/ReactAndroid/src/main/libraries/fbjni/BUCK @@ -1,7 +1,7 @@ load("//tools/build_defs:fb_native_wrapper.bzl", "fb_native") fb_native.android_library( - name = "fbjni", + name = "java", exported_deps = [ ":fbjni-binary", ],