Commit Graph

11 Commits

Author SHA1 Message Date
Pablo Gamito
f25221cb62 Refactor to support multiple files per trace in Winscope
This is required because when tracing transasction merges each process where the merge occurs is responsible for recording this and dumping this information. So in addition to the current transaction file, the transactions trace may contains many additional files.

Test: Try and run through all usecases of the app and make sure everything still works
Change-Id: Iba66536fb413a1875847ec673616da20e94d5feb
2020-08-27 16:19:06 +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
Pablo Gamito
050e20b8a9 Update UI to be more minimialistic
Test: N/A
Change-Id: I922edcb62d9c8fd61e4dc5fb3499ba87351422fc
2020-07-02 15:27:05 +01:00
Pablo Gamito
09b3f56da5 Add @babel/polyfill to support async/await
Test: Manual
Change-Id: Ib46088efb9e3972c157001675fe739451eeaee6b
2020-06-22 09:33:23 +01:00
Vishnu Nair
fe1595999f Load wayland proto definitions if available otherwise load stubs
Fixes: 157095921
Test: yarn run dev & load wayland trace
Change-Id: Id6a5faa592d4ec8c8919828983f32283db40fc53
2020-05-20 08:48:37 -07:00
Vishnu Nair
cbddf0ad6c Move wayland support from default build
Wayland trace files are not available in AOSP so building Winscope will
break. Instead, pick up stub files by default and provide an option via
env args to pick up Wayland support.

Also removes obsolete protolog stubs which are no longer needed.

Test: Remove wayland trace from path and check if winscope still builds
Test: Build winscope with WAYLAND=true and confirm it pick up waylandproto file

Fixes: 151239942
Change-Id: Ie5b237725cd656c478a2ea99d469963956399714
2020-03-16 23:35:12 +00:00
Vishnu Nair
92dccb506d Create stub proto definitions for traces that are not available in AOSP
Also add a readme for winscope development.

Bug: 148409169
Test: builds and opens traces in AOSP

Change-Id: I2767301734bcd90410e0f97bc3da22a647bf195c
2020-01-27 15:12:27 -08:00
Vishnu Nair
62d93dd1b2 Update winscope proto lookup path
- fix build issue caused by recent privacy proto extensions

Test: npm rum dev
Bug: 64831661
Change-Id: Iae08d10a4de82a5cbe2d7561c4b8884f78d96399
2018-02-06 14:40:42 -08:00
Adrian Roos
77d8a397f3 winscope: fix build configuration
Allows building a single file containing all resources, without breaking
the developer mode, and without having to disable minifying.

Bug: 64831661
Test: yarn run dev; yarn run build
Change-Id: Ifc18a776a3a2fba19be6bbb21713741e5dc27223
2017-12-29 16:28:37 +01:00
Vishnu Nair
f60b79fdc2 Fix proto file paths
Bug: 64831661
Test:  npm run dev
Change-Id: I2283175b50d96de7859b3e80de6228f55d766e67
2017-12-28 11:18:46 -08:00
Vishnu Nair
46babab973 Winscope Initial Commit
Bug: 64831661
Test: none

Change-Id: I395f5b7d602101811f3450be96990447f145c2ab
2017-12-19 15:15:30 -08:00