diff options
Diffstat (limited to 'Android.bp')
| -rw-r--r-- | Android.bp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/Android.bp b/Android.bp index 9e8c384399a6..33f3213847f3 100644 --- a/Android.bp +++ b/Android.bp @@ -28,26 +28,26 @@ cc_library { proto: { type: "full", }, + srcs: [ + "core/proto/**/*.proto", + "libs/incident/**/*.proto", + ], }, android: { proto: { type: "lite", }, + // We only build the protos that are optimized for the lite + // runtime, as well as the only protos that are actually + // needed by the device. + srcs: [ + "core/proto/android/service/graphicsstats.proto", + ], shared: { - // The proto files generate full protos, but we only use - // them as lite on device. This works fine for a static - // library, where the unused full symbols are stripped, - // but fails if it is linked as a standalone shared - // library because it is missing the full runtime. enabled: false, }, }, }, - - srcs: [ - "core/proto/**/*.proto", - "libs/incident/**/*.proto", - ], } subdirs = [ |