File: run_perfetto_ui.sh

package info (click to toggle)
virglrenderer 1.1.0-2
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 8,340 kB
  • sloc: ansic: 138,601; python: 963; sh: 470; makefile: 42
file content (13 lines) | stat: -rwxr-xr-x 340 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash

root=""

if [ "x$1" != "x" ]; then
    root="$1"
fi     
cd "$root/perfetto"
GN_ARGS="is_debug=false use_custom_libcxx=false"
tools/install-build-deps --ui
tools/gn gen out/dist --args="${GN_ARGS}" --check
tools/ninja -C out/dist traced traced_probes perfetto trace_to_text ui trace_processor_shell
ui/run-dev-server out/dist/