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/cc.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/cc.go')
-rw-r--r-- | cc/cc.go | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -97,6 +97,7 @@ type Flags struct { ConlyFlags []string // Flags that apply to C source files CppFlags []string // Flags that apply to C++ source files YaccFlags []string // Flags that apply to Yacc source files + protoFlags []string // Flags that apply to proto source files LdFlags []string // Flags that apply to linker command lines libFlags []string // Flags to add libraries early to the link order |