commit | 875dc9f6bbb5822d9b8ae694e23d9c0f126b986d | [log] [tgz] |
---|---|---|
author | Alexander Dorokhine <adorokhine@google.com> | Sun Apr 26 21:00:11 2020 -0700 |
committer | Alexander Dorokhine <adorokhine@google.com> | Sun Apr 26 21:00:11 2020 -0700 |
tree | fe2b2a2e96cecd83cd24d043051987d6e419a08e | |
parent | f19d49798d4ae6137c928385c1be0daf3a0a2594 [diff] |
Use add_custom_command instead of execute_process for building protos. This more closely matches how CMake is supposed to be used. It adds the commands as build steps instead of running them as part of analyzing the build script itself. This allows the build steps to be parallelized, produce output in the correct place, and run only when libicing is actually being built. Bug: 149853706 Test: ./gradlew external:icing:assemble Change-Id: I548cf82d5d5ed6377fd65fa8f5ed04e90bd0d4f8