Build the PartitionAlloc library without checking out the entire Chromium repository.
You need to have depot_tools set up on your local environment (including PATH).
- git clone https://github.com/yuki3/partition_alloc_builder.git
- gclient config https://github.com/yuki3/partition_alloc_builder.git
- cd partition_alloc_builder/
- gclient sync
- gn args out/Default
- autoninja -C out/Default
Then, //out/Default/libbase_allocator_partition_allocator_partition_alloc.so is built (on GNU/Linux).
This project depends on the latest version of dependencies, so the resulting objects are not stable (you cannot reproduce the exactly-same resulting objects). Everytime you sync (you fetch the dependencies), the resulting objects may change.