From 685b15679fcb9e328c64ee6f682ad5aa3264fe46 Mon Sep 17 00:00:00 2001 From: Jonathan Kim Date: Wed, 29 Aug 2018 14:20:40 -0700 Subject: [PATCH] @build-break fix usage of old RN DEFS.bzl path Differential Revision: D9563036 fbshipit-source-id: ab87f479f45209b96ce82c3607c45fdfd622d099 --- .../java/com/facebook/react/testing/rule/BUCK | 2 +- .../java/com/facebook/react/tests/core/BUCK | 32 +++++++++---------- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/ReactAndroid/src/androidTest/java/com/facebook/react/testing/rule/BUCK b/ReactAndroid/src/androidTest/java/com/facebook/react/testing/rule/BUCK index 897cab8e8..79bb75352 100644 --- a/ReactAndroid/src/androidTest/java/com/facebook/react/testing/rule/BUCK +++ b/ReactAndroid/src/androidTest/java/com/facebook/react/testing/rule/BUCK @@ -1,6 +1,6 @@ # BUILD FILE SYNTAX: SKYLARK load( - "@xplat//ReactNative:DEFS.bzl", + "@fbsource//tools/build_defs/oss:rn_defs.bzl", "react_native_dep", "react_native_integration_tests_target", "react_native_target", diff --git a/ReactAndroid/src/androidTest/java/com/facebook/react/tests/core/BUCK b/ReactAndroid/src/androidTest/java/com/facebook/react/tests/core/BUCK index a4f25d9c1..a62ca25c2 100644 --- a/ReactAndroid/src/androidTest/java/com/facebook/react/tests/core/BUCK +++ b/ReactAndroid/src/androidTest/java/com/facebook/react/tests/core/BUCK @@ -1,6 +1,6 @@ # BUILD FILE SYNTAX: SKYLARK load( - "@xplat//ReactNative:DEFS.bzl", + "@fbsource//tools/build_defs/oss:rn_defs.bzl", "react_native_dep", "react_native_integration_tests_target", "react_native_target", @@ -8,19 +8,19 @@ load( ) rn_android_library( - name = "core", - srcs = glob(["*.java"]), - deps = [ - react_native_dep("java/com/facebook/fbreact/testing:testing"), - react_native_dep("third-party/java/espresso:espresso"), - react_native_dep("third-party/java/fest:fest"), - react_native_dep("third-party/java/junit:junit"), - react_native_dep("third-party/java/testing-support-lib:testing-support-lib"), - react_native_integration_tests_target("java/com/facebook/react/testing:testing"), - react_native_integration_tests_target("java/com/facebook/react/testing/rule:rule"), - react_native_target("java/com/facebook/react:react"), - react_native_target("java/com/facebook/react/bridge:bridge"), - react_native_target("java/com/facebook/react/shell:shell"), - react_native_target("java/com/facebook/react/uimanager:uimanager"), - ], + name = "core", + srcs = glob(["*.java"]), + deps = [ + react_native_dep("java/com/facebook/fbreact/testing:testing"), + react_native_dep("third-party/java/espresso:espresso"), + react_native_dep("third-party/java/fest:fest"), + react_native_dep("third-party/java/junit:junit"), + react_native_dep("third-party/java/testing-support-lib:testing-support-lib"), + react_native_integration_tests_target("java/com/facebook/react/testing:testing"), + react_native_integration_tests_target("java/com/facebook/react/testing/rule:rule"), + react_native_target("java/com/facebook/react:react"), + react_native_target("java/com/facebook/react/bridge:bridge"), + react_native_target("java/com/facebook/react/shell:shell"), + react_native_target("java/com/facebook/react/uimanager:uimanager"), + ], )