Repository navigation
Commit c645dc5
committed
build(runtime): ship the leak probe's Java side whenever its native side is built
CMake builds LeakProbe.cpp unless the build is optimized without the
inspector (NOT OPTIMIZED_BUILD OR OPTIMIZED_WITH_INSPECTOR_BUILD), but
Gradle dropped src/debugTools/java for any -Poptimized build. With both
-Poptimized and -PoptimizedWithInspector set, findLeakCycles() then
failed with "this runtime has no com.tns.LeakProbe". Gradle now uses the
same condition; -Poptimized alone still leaves the debug tools out.1 parent 122279c commit c645dc5
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
103 | | - | |
| 103 | + | |
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
| |||
0 commit comments