diff options
author | Colin Cross <ccross@android.com> | 2016-10-20 16:11:43 -0700 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2016-10-27 15:28:09 -0700 |
commit | 0c461f1f6e2a1663b426eec2247e5a26f2822970 (patch) | |
tree | 394e04c7672fc47f46e40d9447717aa381b3b541 /cc/builder.go | |
parent | 4f6fc9c1d81687914cc77bf06b10af8022f64198 (diff) | |
download | build_soong-0c461f1f6e2a1663b426eec2247e5a26f2822970.tar.gz build_soong-0c461f1f6e2a1663b426eec2247e5a26f2822970.tar.bz2 build_soong-0c461f1f6e2a1663b426eec2247e5a26f2822970.zip |
Add support for .proto files
.proto files are translated to .pb.cc and .pb.h files, which are then
compiled normally.
Bug: 32286026
Test: mmma -j system/extras/perfprofd
Change-Id: I538071424d667aacf35b4b8bfebe217f5f092726
Diffstat (limited to 'cc/builder.go')
-rw-r--r-- | cc/builder.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cc/builder.go b/cc/builder.go index b813783d..60aad0b4 100644 --- a/cc/builder.go +++ b/cc/builder.go @@ -173,6 +173,7 @@ type builderFlags struct { ldFlags string libFlags string yaccFlags string + protoFlags string toolchain config.Toolchain clang bool |