Add bp2build converter for cc library stubs and use the stub library target of a library while linking it in APEXs.
Bug: 231322789 Test: with this CL on internal master, 1) b build --verbose_failures //vendor/google/modules/AdbdGoogle:com.google.android.adbd --config=android_x86_64 2) adb install bazel-bin/vendor/google/modules/AdbdGoogle/com.google.android.adbd.apex, and adbd is activated successfully on cuttlefish device. 3) m mts && mts-tradefed run mts-adbd, and there is no failure with cuttlefish device 4) packages/modules/adb/test_device.py, and there is no failure with cuttlefish device. Change-Id: I81b6f5336cacf35c68957ae2dac65f985b6eafb9
This commit is contained in:
@@ -485,12 +485,7 @@ cc_library_shared {
|
||||
},
|
||||
Blueprint: soongCcLibraryPreamble,
|
||||
ExpectedBazelTargets: []string{makeBazelTarget("cc_library_shared", "a", AttrNameToString{
|
||||
"stubs_symbol_file": `"a.map.txt"`,
|
||||
"stubs_versions": `[
|
||||
"28",
|
||||
"29",
|
||||
"current",
|
||||
]`,
|
||||
"has_stubs": `True`,
|
||||
}),
|
||||
},
|
||||
},
|
||||
|
Reference in New Issue
Block a user