Only use framework-connectivity stubs for -t stubs
Do not use framework-connectivity stubs for framework-connectivity-t-pre-jarjar, as that library can build against the full framework-connectivity implementation including hidden symbols: it already builds against framework-connectivity-pre-jarjar. The stubs are only necessary to build framework-connectivity-t stubs, to avoid circular dependencies between these and the framework-connectivity implementation. This change allows using hidden symbols of framework-connectivity in framework-connectivity-t-pre-jarjar, but does not fully fix the problem as framework-connectivity-t will use the framework-connectivity stubs both to build its own stubs and to build its implementation library, due to "libs" being used in both cases (and prioritized over impl_only_libs). As a result, it is still not possible to build framework-connectivity-t when it references hidden symbols of classes that are also part of the stubs. Still, this is a first step and organizes the build rules closer to what they should be. Bug: 139774492 Test: m Change-Id: I5e696fa6a7871d048e0ba16442de33b5f139faae
Please register or sign in to comment