From b3f4872659b9047a7c726b2414e41b9bea7d375d Mon Sep 17 00:00:00 2001 From: Rick Ratmansky Date: Mon, 8 Oct 2018 09:12:53 -0700 Subject: [PATCH] Adding new Buck targets Summary: This will facilitate various cleanups Differential Revision: D10145594 fbshipit-source-id: 3a360684ba96d5e0466a3e3dc2306c59e6fb50bd --- .../src/main/third-party/android/support/BUCK | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 ReactAndroid/src/main/third-party/android/support/BUCK diff --git a/ReactAndroid/src/main/third-party/android/support/BUCK b/ReactAndroid/src/main/third-party/android/support/BUCK new file mode 100644 index 000000000..13e8bff7c --- /dev/null +++ b/ReactAndroid/src/main/third-party/android/support/BUCK @@ -0,0 +1,25 @@ +load("//tools/build_defs/oss:rn_defs.bzl", "react_native_dep", "rn_android_library", "rn_android_resource", "rn_prebuilt_jar") + +rn_android_library( + name = "support-v4", + visibility = ["PUBLIC"], + exported_deps = [ + react_native_dep("third-party/android/support:support-v4"), + ], +) + +rn_android_library( + name = "appcompat-v7", + visibility = ["PUBLIC"], + exported_deps = [ + react_native_dep("third-party/android/support:support-v4"), + ], +) + +# a fake genrule so that BUCK files in react native are preseable in fbsource +genrule( + name = "appcompat-res-cmd", + out = ".", + bash = "ls", + visibility = ["PUBLIC"], +)