Codegen Android: used generated output instead of the checked-in spec files

Summary:
This moves all deps on the checked in fbreact/specs files to use the generated output (during build time) instead.

TLDR:
`react_native_target("java/com/facebook/fbreact/specs:FBReactNativeSpec")` ==> `react_native_root_target("Libraries:generated_java_modules-FBReactNativeSpec")`

Changelog: [Internal]

Reviewed By: RSNara

Differential Revision: D24520293

fbshipit-source-id: 3fb34f172f1ab89b7198dfb4fccf605fbc32d660
This commit is contained in:
Kevin Gozali
2020-10-26 22:02:05 -07:00
committed by Facebook GitHub Bot
parent a1d374e504
commit 6c17110d2e
25 changed files with 51 additions and 51 deletions
@@ -1,4 +1,4 @@
load("//tools/build_defs/oss:rn_defs.bzl", "react_native_dep", "react_native_target", "rn_android_library")
load("//tools/build_defs/oss:rn_defs.bzl", "react_native_dep", "react_native_root_target", "react_native_target", "rn_android_library")
rn_android_library(
name = "devsupport",
@@ -39,7 +39,7 @@ rn_android_library(
react_native_target("res:devsupport"),
],
exported_deps = [
react_native_target("java/com/facebook/fbreact/specs:FBReactNativeSpec"),
react_native_root_target("Libraries:generated_java_modules-FBReactNativeSpec"),
],
)