commit | b4d62c963f3905964b2462503a0489f649f4c9e9 | [log] [tgz] |
---|---|---|
author | Nataniel Borges <natanieljr@google.com> | Tue Feb 07 14:37:14 2023 +0000 |
committer | Nataniel Borges <natanieljr@google.com> | Wed Feb 22 21:26:17 2023 +0000 |
tree | da2d9bdfc6ec65647ddf06b1447ab533e47492cb | |
parent | 43ca4c07d0e1a8261d2b8e8b8a098c69da7db96f [diff] |
15/ Refactor flicker package Flicker no longer contains only wm and sf traces and flicker subjects. It now contains parsers, subjects, traces, flicker detection. Since not everything belonged to WM packages, the old package structure was causing confusion. Moreover, it was not flexible enough to move part of the codebase to winscope The new package structure is divider as follows: android/tools -- common -> compiles to JS and shared with winscope (build as flickerlib-common) -- device -> android device dependent ---- apphelpers -> app helpers for flicker tests (build as flickerlib-apphelpers) ---- helpers -> helper utils for other projects, such as wmsmoketests (build as flickerlib-helpers) ---- traces -> parsers and monitors (build as flickerlib-parsers) ---- flicker -> flicker detection functionality Also add JsExport annotation for KotlinJs and address errors to migrate to new IR compiler (other is deprecated). Limitations include: - no support for inner exported classes - name mangling - JsExport annotation - JsName when multiple constructors exist Bug: 262369733 Test: atest FlickerLibTest Change-Id: I3c94049cd4121ab91422e2a014db9f159693c29d