diff options
| author | 2021-09-09 23:20:39 -0700 | |
|---|---|---|
| committer | 2021-09-15 16:05:41 -0700 | |
| commit | b8082295b6e57c8a2cf51cb172d4825321bef628 (patch) | |
| tree | 726edf2531d2b3b02d52eb6d8f0f4b27bed17943 /python/python.go | |
| parent | 79839d94c10f250374f59295c189601bc5ea1219 (diff) | |
Share cFlags, tidyFlags, etc. in a module
* In builder.go, share common flags in a module.
* This replaces the sharing of cflags/cppflags/asflags in cc.go.
* A unit test in apex_test.go now fails and is commented out.
It is a failing test hidden by old optimization in cc.go.
* In module.go, expand the reference variable $someflags<n>,
or ${someflags<n>} to keep many existing unit tests work as is.
* The build.ninja size was reduced from 8.1GB to 6.2GB,
for aosp_arm64-eng WITH_TIDY=1 USE_RBE=true,
and from 7.5GB to 5.6GB when USE_RBE is 0.
Content of build.ninja is also more readable and searchable.
Read/write build.ninja times are also reduced,
depending on disk I/O speed.
Test: make WITH_TIDY=1
Change-Id: I17f96adf4844136d52e5d40f57a19d9e290162b7
Diffstat (limited to 'python/python.go')
0 files changed, 0 insertions, 0 deletions