Commit 84d51b5
Removed fake_rule_label from precompiled_apple_resource_bundle_impl and using swift_module instead (#865)
**Why this is needed?**
`fake_rule_label` was as a workaround and I'd like to remove it and use
swift_module.
This pr is a continuation of
bazelbuild/rules_apple#2335.
If we try to build 2 different targets with same module name - plist
generation will fail due to rule name collision as `fake_rule_label` is
used, which was created from `swift_module` or `bundle_name`
**What has changed?**
Using `swift_module` for compiling assets, plists, storyboards, etc.
instead of `fake_rule_label`. Now, each plist generation action has it's
own rule name which has no name collision
**NOTE**
This PR Requires `rules_apple` to be at least 3.2.0, so I'll fix tests
once it's updated
---------
Co-authored-by: Timur Mustafaev <[email protected]>1 parent d579da2 commit 84d51b5
1 file changed
+4
-18
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | 37 | | |
55 | 38 | | |
56 | 39 | | |
| |||
78 | 61 | | |
79 | 62 | | |
80 | 63 | | |
81 | | - | |
| 64 | + | |
| 65 | + | |
82 | 66 | | |
83 | 67 | | |
84 | 68 | | |
| |||
107 | 91 | | |
108 | 92 | | |
109 | 93 | | |
| 94 | + | |
| 95 | + | |
110 | 96 | | |
111 | 97 | | |
112 | 98 | | |
| |||
0 commit comments