Commit Graph

6 Commits

Author SHA1 Message Date
Nataniel Borges
f230a13f30 [DO NOT MERGE] Full - Compatibilize winscope with master
Bug: 194813677
Test: none
Change-Id: Ie55429dcb746f597f80dfdaa68cbef19f5820005
2021-07-28 07:30:10 +00:00
Nataniel Borges
9534747390 Determine if the WM entry is complete or not
Use the same logic from CTS tests

Read the information from flickerlib and display in winscope

Test: yarn run dev and open a few WM traces
Bug: 167521440
Change-Id: I96cb956968066afaabb3acf53615db53bdfabe37
2020-12-01 12:25:40 +01:00
Pablo Gamito
335b3e14a5 Refactor WM transformations to use flickerlib object representation
Test: Run winscope and make sure there are no errors and everything seems to still work...
Change-Id: I1aef5c469d4323af502580e03a310d76da739d4d
2020-09-25 16:39:45 +02:00
Pablo Gamito
1ca3eda7f5 Fix zip logic to work with multiple files per trace changes
Test: Upload archive, download all as archive, and reupload and check all files are always there.
Change-Id: Ic9a80bbcc3ff165015d7fa585289cefe926a88c6
2020-09-08 19:59:16 +02:00
Pablo Gamito
9d56e69e38 Update webpack config to inline js and css
This is required for production builds since we only deploy a single .html file and don't server the rest of the generated files

Test: Try and build and see if Winscope loads by loading only the generated .html file
Change-Id: Idc7614d72bb91a35da3574f5c93588690ccfb6a0
2020-09-02 13:04:28 +02:00
Pablo Gamito
3f23913059 Update webpack config to compile Kotlin flickerlib to JS
The kotlin webpack plugin requires the latest webpack version so webpack was updated and refactored to modern standards

Test: Run 'yarn run dev' and 'yarn run build' and make sure everything still build and that a JavaScript compiled version of flickerlib is found in 'kotlin_build'
Change-Id: I02cc1e5bb16afeb5c407a18926ee485d715e41df
2020-08-04 12:16:40 +01:00