Skip to content
Permalink
Browse files

Clean up unused macros after consolidation

Reviewed By: mzlee

Differential Revision: D6954781

fbshipit-source-id: 0ec78e6f7f2780951ac008e9b12f41cfd5441ed5
  • Loading branch information...
Jonathan Kim authored and facebook-github-bot committed Feb 10, 2018
1 parent 1a790f8 commit e233646d095a272091b07c29fa87b206831ad6e3
Showing with 1 addition and 11 deletions.
  1. +1 −3 ReactAndroid/src/main/res/BUCK
  2. +0 −8 ReactNative/DEFS.bzl
@@ -1,13 +1,11 @@
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",
package = "com.facebook.react",
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/..."),
],
)

@@ -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

0 comments on commit e233646

Please sign in to comment.
You can’t perform that action at this time.