-
Notifications
You must be signed in to change notification settings - Fork 273
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow to collect resources from objc_library implementation_deps #1970
base: master
Are you sure you want to change the base?
Conversation
Are there some tests you can change or add to make sure we don't regress this? |
Great suggestion. Added |
inherited_providers = [] | ||
provider_deps = ["deps"] + collect_args.get("res_attrs", []) | ||
provider_deps = ["deps"] + ["implementation_deps"] + collect_args.get("res_attrs", []) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any reason to not simplify this list addition?
provider_deps = ["deps"] + ["implementation_deps"] + collect_args.get("res_attrs", []) | |
provider_deps = ["deps", "implementation_deps"] + collect_args.get("res_attrs", []) |
mkdir -p app/shared_res | ||
echo shared_res > app/shared_res/foo.txt | ||
|
||
do_build ios //app:app || fail "Should build" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[nit]
do_build ios //app:app || fail "Should build" | |
do_build ios //app:app || fail "Should build" |
With bazelbuild/bazel#17962 implementation deps is another potential source of resources so need to be handled in aspect