bazelbuild / rules_apple

Bazel rules to build apps for Apple platforms.
Apache License 2.0
512 stars 269 forks source link

Add resource collection for `cc_*` rules #2461

Closed luispadron closed 5 months ago

luispadron commented 5 months ago

Adds support for data attributes of cc_library and cc_import rules. These attributes were previously being ignored during bundling.

gkoreman commented 5 months ago

Ok, I've tried it out and it is definitely pulling in (some) files, but there are a few issues:

  1. The runfiles folder structure is not preserved. All files are collapsed to the root of Resources.
  2. Dylibs are not included in the package. When creating a cc_binary the dylibs are placed in folders inside the runfiles folder.