Files
build_soong/cc
Jiyong Park e4bb986106 Static variant of a stubs lib is correctly tracked
cc.Module.staticVariant is used to track the corresponding static
variant of a shared variant. This change fixes a problem that the
staticVariant field is not correctly set when the lib is with stubs:
{...}. This was happening because the staticVariant was set by adding
dependency from shared variant to static variant to reuse object files.
However, for a lib with stubs, the dependency was not created because it
does not make sense to share object files for stubs lib where source
code is auto-generated.

Fixing the issue by adding dependency to the static variant with a
different dependency tag whose only purpose is to set staticVariant
field.

Bug: 122885634
Test: m (cc_test amended)
Change-Id: I7f97cbb4c4a28bf9a93839d3b91ee140835aa6af
2019-02-08 00:47:46 +09:00
..
2019-01-31 16:32:34 +00:00
2018-11-19 15:26:14 -08:00
2019-02-04 18:20:28 +08:00
2019-02-04 18:20:28 +08:00
2017-10-19 22:39:32 +09:00
2018-10-09 02:16:58 +00:00
2019-02-06 01:52:41 +00:00
2018-12-27 12:26:30 -08:00
2018-10-30 09:55:48 +09:00
2017-11-17 11:22:04 -08:00
2019-01-24 18:59:29 +00:00
2018-12-20 14:33:02 +09:00
2019-02-06 01:52:41 +00:00
2019-02-06 01:52:41 +00:00
2019-01-23 07:21:56 +00:00
2018-11-17 15:28:25 -08:00
2016-08-01 14:36:22 -07:00
2019-02-06 01:52:41 +00:00
2019-01-24 18:59:29 +00:00
2018-07-22 21:18:45 -07:00
2018-11-13 15:28:07 -08:00
2018-10-09 02:16:58 +00:00
2018-11-17 15:28:25 -08:00
2018-12-20 14:33:02 +09:00