Commit 36127e6
Anton Ivanov
Explicitly include libgui as a shared library in libgui_test.
Currently, libgui is compiled statically into the test binary by virtue
of `src` attribute of `libgui-defaults`, and also loaded as a shared
library by transitive dependency. This leads to double-delete and
use-after-delete issues in the test on global mutexes defined by
android::Singleton<>.
Flag: EXEMPT refactor
Test: presubmit
Bug: 399711310
Change-Id: I31408237f345632bfd8f2d2ac880dfac53e75ae41 parent 851a6d2 commit 36127e6
2 files changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
295 | 295 | | |
296 | 296 | | |
297 | 297 | | |
298 | | - | |
299 | 298 | | |
300 | 299 | | |
301 | 300 | | |
| |||
319 | 318 | | |
320 | 319 | | |
321 | 320 | | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
322 | 325 | | |
323 | 326 | | |
324 | 327 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
| 103 | + | |
103 | 104 | | |
104 | 105 | | |
105 | 106 | | |
| |||
0 commit comments