Home | History | Annotate | Download | only in ui
      1 # Perfetto UI
      2 
      3 Quick Start
      4 -----------
      5 Run:
      6 
      7 ```bash
      8 $ git clone https://android.googlesource.com/platform/external/perfetto/
      9 $ cd perfetto
     10 $ tools/install-build-deps --no-android --ui
     11 $ tools/gn gen out/debug --args='is_debug=true is_clang=true'
     12 $ tools/ninja -C out/debug ui
     13 ```
     14 
     15 For more details on `gn` configs see
     16 [Build Instructions](../docs/build-instructions.md).
     17 
     18 To run the tests:
     19 ```bash
     20 $ out/debug/ui_unittests
     21 $ out/debug/ui_tests
     22 ```
     23 
     24 To run the tests in watch mode:
     25 ```bash
     26 $ out/debug/ui_unittests --watch
     27 ```
     28 
     29 Finally run:
     30 
     31 ```bash
     32 $ ./ui/run-dev-server out/debug
     33 ```
     34 
     35 and navigate to `localhost:3000`.
     36