blob: 2ca2a312e4a37a898a3d909055b6068c2de276a6 [file] [log] [blame]
Hector Dearman2c650f82017-11-08 10:51:45 +00001# Copyright (C) 2017 The Android Open Source Project
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
Primiano Tucci20b760c2018-01-19 12:36:12 +000015import("../../../../gn/perfetto.gni")
16import("../../../../src/protozero/protozero_library.gni")
Hector Dearman37e05532017-11-14 15:35:22 +000017import("all_protos.gni")
18
Primiano Tucci782374f2017-11-27 16:25:20 +000019proto_library("lite") {
Oystein Eftevaag51e06e52018-01-18 11:28:49 -080020 generate_python = false
Primiano Tucci20b760c2018-01-19 12:36:12 +000021 sources = ftrace_proto_names
22 proto_in_dir = "$perfetto_root_path/protos"
23 proto_out_dir = "$perfetto_root_path/protos"
Primiano Tucci782374f2017-11-27 16:25:20 +000024}
25
26protozero_library("zero") {
27 sources = ftrace_proto_names
Primiano Tucci20b760c2018-01-19 12:36:12 +000028 proto_in_dir = "$perfetto_root_path/protos"
29 proto_out_dir = "$perfetto_root_path/protos"
Primiano Tucci5f48d7b2017-11-27 16:57:13 +000030 generator_plugin_options = "wrapper_namespace=pbzero"
Hector Dearman2c650f82017-11-08 10:51:45 +000031}