Skip to content

Commit 05abbd2

Browse files
IanChildsfacebook-github-bot
authored andcommitted
Declare all attrs used in res targets (#29794)
Summary: Pull Request resolved: #29794 Per title - need to declare deps of attrs that we are using (soon Buck will enforce this). Changelog: declare dependencies of all attributes that are used in the resource target. Reviewed By: jiawei-lyu Differential Revision: D23388058 fbshipit-source-id: b395d153188f75f8c0d4a6d69302812a56b23925
1 parent 6d3dcc7 commit 05abbd2

File tree

1 file changed

+4
-1
lines changed
  • ReactAndroid/src/main/res

1 file changed

+4
-1
lines changed

ReactAndroid/src/main/res/BUCK

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
load("//tools/build_defs/oss:rn_defs.bzl", "react_native_target", "rn_android_resource")
1+
load("//tools/build_defs/oss:rn_defs.bzl", "react_native_dep", "react_native_target", "rn_android_resource")
22

33
rn_android_resource(
44
name = "devsupport",
@@ -16,6 +16,9 @@ rn_android_resource(
1616
visibility = [
1717
"PUBLIC",
1818
],
19+
deps = [
20+
react_native_dep("third-party/android/androidx:appcompat"),
21+
],
1922
)
2023

2124
rn_android_resource(

0 commit comments

Comments
 (0)