aboutsummaryrefslogtreecommitdiff
path: root/protos/perfetto/trace/sys_stats/BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'protos/perfetto/trace/sys_stats/BUILD.gn')
-rw-r--r--protos/perfetto/trace/sys_stats/BUILD.gn24
1 files changed, 19 insertions, 5 deletions
diff --git a/protos/perfetto/trace/sys_stats/BUILD.gn b/protos/perfetto/trace/sys_stats/BUILD.gn
index aa79c47ce..27461fbb9 100644
--- a/protos/perfetto/trace/sys_stats/BUILD.gn
+++ b/protos/perfetto/trace/sys_stats/BUILD.gn
@@ -12,13 +12,27 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-import("../../../../gn/proto_library.gni")
+import("../../../../gn/perfetto.gni")
+import("../../../../gn/protozero_library.gni")
-perfetto_proto_library("@TYPE@") {
+sys_stats_proto_names = [ "sys_stats.proto" ]
+
+proto_library("lite") {
+ generate_python = false
deps = [
- "../../common:@TYPE@",
+ "../../common:lite",
]
- sources = [
- "sys_stats.proto",
+ sources = sys_stats_proto_names
+ proto_in_dir = "$perfetto_root_path/protos"
+ proto_out_dir = "$perfetto_root_path/protos"
+}
+
+protozero_library("zero") {
+ deps = [
+ "../../common:zero",
]
+ sources = sys_stats_proto_names
+ proto_in_dir = "$perfetto_root_path/protos"
+ proto_out_dir = "$perfetto_root_path/protos"
+ generator_plugin_options = "wrapper_namespace=pbzero"
}