Skip to content

Commit 6e5137c

Browse files
authored
TP: remove "lite" proto targets for metrics/ (#3787)
Follow up to #3786. The "lite" targets seem unused in our repo. I am not sure whether chrome need them hence why a separate PR. Note that this did NOT require any regeneration of Android.bp or BUILD, hence the only risk is that chromium autoroller might reject this. **Stack:** - [#3786](#3786) (metrics_fix) - **[This PR] (metrics_fix_nolite)** - [#3748](#3748) (Split perfetto_unittests)
1 parent a67ceec commit 6e5137c

File tree

4 files changed

+5
-20
lines changed

4 files changed

+5
-20
lines changed

protos/perfetto/metrics/BUILD.gn

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,7 @@ import("../../../gn/perfetto.gni")
1616
import("../../../gn/proto_library.gni")
1717

1818
perfetto_proto_library("@TYPE@") {
19-
proto_generators = [
20-
"lite",
21-
"zero",
22-
]
19+
proto_generators = [ "zero" ]
2320
deps = [
2421
"android:@TYPE@",
2522
"common:@TYPE@",
@@ -32,10 +29,7 @@ perfetto_proto_library("@TYPE@") {
3229
}
3330

3431
perfetto_proto_library("custom_options_@TYPE@") {
35-
proto_generators = [
36-
"lite",
37-
"zero",
38-
]
32+
proto_generators = [ "zero" ]
3933
sources = [ "custom_options.proto" ]
4034
import_dirs = [ "${perfetto_protobuf_src_dir}" ]
4135
}

protos/perfetto/metrics/android/BUILD.gn

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,7 @@
1515
import("../../../../gn/proto_library.gni")
1616

1717
perfetto_proto_library("@TYPE@") {
18-
proto_generators = [
19-
"lite",
20-
"zero",
21-
]
18+
proto_generators = [ "zero" ]
2219
sources = [
2320
"ad_services_metric.proto",
2421
"android_anomaly_metric.proto",

protos/perfetto/metrics/chrome/BUILD.gn

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,7 @@
1515
import("../../../../gn/proto_library.gni")
1616

1717
perfetto_proto_library("@TYPE@") {
18-
proto_generators = [
19-
"lite",
20-
"zero",
21-
]
18+
proto_generators = [ "zero" ]
2219
import_dirs = [ "${perfetto_protobuf_src_dir}" ]
2320
deps = [
2421
"..:@TYPE@",

protos/perfetto/metrics/common/BUILD.gn

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,6 @@
1515
import("../../../../gn/proto_library.gni")
1616

1717
perfetto_proto_library("@TYPE@") {
18-
proto_generators = [
19-
"lite",
20-
"zero",
21-
]
18+
proto_generators = [ "zero" ]
2219
sources = [ "clone_duration.proto" ]
2320
}

0 commit comments

Comments
 (0)