Skip to content

Commit

Permalink
perfetto: add Android-only target for merged proto for use in Java
Browse files Browse the repository at this point in the history
Bug: 117295297
Change-Id: Ie1350b44803dac0bd1dbfbfb33b3387af302822e
  • Loading branch information
LalitMaganti authored and primiano committed Oct 8, 2018
1 parent a81ac2d commit 6820cb6
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -4176,4 +4176,15 @@ cc_library_static {
cflags: [
"-DPERFETTO_BUILD_WITH_ANDROID",
],
}

java_library_static {
name: "perfetto_config-lite",
host_supported: true,
proto: {
type: "lite",
},
srcs: [
"protos/perfetto/config/perfetto_config.proto",
],
}
11 changes: 11 additions & 0 deletions Android.bp.extras
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,14 @@ cc_library_static {
"-DPERFETTO_BUILD_WITH_ANDROID",
],
}

java_library_static {
name: "perfetto_config-lite",
host_supported: true,
proto: {
type: "lite",
},
srcs: [
"protos/perfetto/config/perfetto_config.proto",
],
}

0 comments on commit 6820cb6

Please sign in to comment.