Skip to content

Commit

Permalink
Clean up unused macros after consolidation
Browse files Browse the repository at this point in the history
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 e233646
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
4 changes: 1 addition & 3 deletions ReactAndroid/src/main/res/BUCK
Original file line number Diff line number Diff line change
@@ -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/..."),
],
)

Expand Down
8 changes: 0 additions & 8 deletions ReactNative/DEFS.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e233646

Please sign in to comment.