Skip to content

cnsuhao/Chromium_Base-1

 
 

Repository files navigation

Chromium_Base

It's the base component of Chromium where a lot of good tools sits in.

Tools included:

  • trace event
  • Threading
  • bind
  • profiler
  • stack trace
  • file utils
  • logging
  • containers
  • json
  • memory tools
  • message loop
  • process tools
  • rand
  • string
  • synchronization
  • task scheduler
  • timer
  • a lot more..

Example

Trace event demo

Generate tracing event and view flame graph with catapult or Chrome's about:tracing Trace Event Demo

Trace event for some complex project

Trace Event Demo

Usage

Refer to examples under /demo for more information.

Build

  • Download and addd depot_tools to your PATH
  • On Linux or macOS, run prep.sh
  • Configure with gn.
:: on Windows, you need first
> set DEPOT_TOOLS_WIN_TOOLCHAIN=0

then

$ cd src
$ gn args out/mybuild
  • Build with ninja
$ ninja -C out/mybuild

Platform Support

  • macOS
  • Windows
  • Linux
  • Android
  • IOS

About

It's the 'Base' library of Chromium, including thread, memory, trace event and so on.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 45.9%
  • Python 39.4%
  • HTML 6.9%
  • Java 2.4%
  • JavaScript 2.1%
  • Objective-C++ 1.0%
  • Other 2.3%