From e233646d095a272091b07c29fa87b206831ad6e3 Mon Sep 17 00:00:00 2001 From: Jonathan Kim Date: Fri, 9 Feb 2018 16:00:46 -0800 Subject: [PATCH] Clean up unused macros after consolidation Reviewed By: mzlee Differential Revision: D6954781 fbshipit-source-id: 0ec78e6f7f2780951ac008e9b12f41cfd5441ed5 --- ReactAndroid/src/main/res/BUCK | 4 +--- ReactNative/DEFS.bzl | 8 -------- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/ReactAndroid/src/main/res/BUCK b/ReactAndroid/src/main/res/BUCK index c211e6e6d..75fd8aa65 100644 --- a/ReactAndroid/src/main/res/BUCK +++ b/ReactAndroid/src/main/res/BUCK @@ -1,4 +1,4 @@ -load("//ReactNative:DEFS.bzl", "rn_android_resource", "react_native_target", "android_react_native_target", "apple_react_native_target") +load("//ReactNative:DEFS.bzl", "rn_android_resource", "react_native_target") rn_android_resource( name = "devsupport", @@ -6,8 +6,6 @@ rn_android_resource( res = "devsupport", visibility = [ react_native_target("java/com/facebook/react/devsupport/..."), - android_react_native_target("java/com/facebook/react/devsupport/..."), - apple_react_native_target("java/com/facebook/react/devsupport/..."), ], ) diff --git a/ReactNative/DEFS.bzl b/ReactNative/DEFS.bzl index b21a37c6e..a9f5b3981 100644 --- a/ReactNative/DEFS.bzl +++ b/ReactNative/DEFS.bzl @@ -42,14 +42,6 @@ def react_native_target(path): return '//ReactAndroid/src/main/' + path -def android_react_native_target(path): - return react_native_target(path) - - -def apple_react_native_target(path): - return react_native_target(path) - - # Example: react_native_xplat_target('bridge:bridge') def react_native_xplat_target(path): return '//ReactCommon/' + path