-
Notifications
You must be signed in to change notification settings - Fork 478
uftrace for chromium
Honggyu Kim edited this page Aug 10, 2019
·
21 revisions
1. Download depot_tools
Chromium uses a package of scripts called depot_tools to manage checkouts and code reviews.
The depot_tools package includes gclient
, gcl
, git-cl
, repo
, and others. Chromium uses a package of scripts called depot_tools
to manage checkouts and code reviews.
# download depot_tools
$ git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
# environment setup for depot_tools
$ export PATH=`pwd`/depot_tools:$PATH
2. Download chromium
First, create a directory chromium
.
$ mkdir chromium
$ cd chromium
Then, create a .gclient
file as follows:
$ cat .gclient
solutions = [
{
"url": "https://chromium.googlesource.com/chromium/src.git",
"managed": False,
"name": "src",
"custom_deps": {},
},
]
Do (shallow) git clone for chromium source code.
$ git clone --depth=1 https://chromium.googlesource.com/chromium/src.git
$ cd src
Then, download third party modules.
$ gclient sync -j 8
3. Build for chrome
$ gn gen out/Release.pg.g "--args=enable_nacl=false is_component_build=false is_debug=false use_jumbo_build=true symbol_level=2 use_uftrace=true"
$ ninja -C out/Release.pg.g chrome
- Home
- Tutorial
- Development
- Practical Use Cases
- GCC
- Clang/LLVM
- Node.js
- Chromium
- MySQL/InnoDB
- FFmpeg
- CPython
- POCO
- Telegram
- yara
- RustPython
- cURL
- bpftrace
- SpiderMonkey
- Apache HTTP Server
- GStreamer
- Squid
- TCPDUMP
- OpenCV
- Libav
- Wireshark
- LXC
- Git
- Radare2
- uftrace on Android
- deno
- parallel sort algorithm
- LevelDB/RocksDB (YCSB)
- Redis
- libjpeg‐turbo (JPEG)
- JM (H.264/AVC)
- HM (HEVC)
- VTM (VVC)
- CUDA
- Erlang/OTP BEAM
- uftrace on Yocto
- TTCN3