Skip to content

Commit

Permalink
Move powermock config target to xplat and make fb_java_library non-fb…
Browse files Browse the repository at this point in the history
…android-specific

Summary: Changelog: [Internal]

Reviewed By: brianduff

Differential Revision: D22207494

fbshipit-source-id: c3a87662cb6330a4ab0801c9ee48c0d5723d324a
  • Loading branch information
omerp authored and facebook-github-bot committed Jun 25, 2020
1 parent 6342e6e commit 37e8cd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/build_defs/oss/rn_defs.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ def rn_robolectric_test(name, srcs, vm_args = None, *args, **kwargs):

kwargs["deps"] = kwargs.pop("deps", []) + [
react_native_android_toplevel_dep("third-party/java/mockito2:mockito2"),
react_native_dep("libraries/fbcore/src/test/java/com/facebook/powermock:powermock2"),
react_native_xplat_dep("libraries/fbcore/src/test/java/com/facebook/powermock:powermock2"),
react_native_dep("third-party/java/robolectric/4.3.1:robolectric"),
]

Expand Down

0 comments on commit 37e8cd0

Please sign in to comment.