Hector Dearman | 2c650f8 | 2017-11-08 10:51:45 +0000 | [diff] [blame] | 1 | # 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 Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 15 | import("../../../../gn/perfetto.gni") |
| 16 | import("../../../../src/protozero/protozero_library.gni") |
Hector Dearman | 37e0553 | 2017-11-14 15:35:22 +0000 | [diff] [blame] | 17 | import("all_protos.gni") |
| 18 | |
Primiano Tucci | 782374f | 2017-11-27 16:25:20 +0000 | [diff] [blame] | 19 | proto_library("lite") { |
Oystein Eftevaag | 51e06e5 | 2018-01-18 11:28:49 -0800 | [diff] [blame] | 20 | generate_python = false |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 21 | sources = ftrace_proto_names |
| 22 | proto_in_dir = "$perfetto_root_path/protos" |
| 23 | proto_out_dir = "$perfetto_root_path/protos" |
Primiano Tucci | 782374f | 2017-11-27 16:25:20 +0000 | [diff] [blame] | 24 | } |
| 25 | |
| 26 | protozero_library("zero") { |
| 27 | sources = ftrace_proto_names |
Primiano Tucci | 20b760c | 2018-01-19 12:36:12 +0000 | [diff] [blame] | 28 | proto_in_dir = "$perfetto_root_path/protos" |
| 29 | proto_out_dir = "$perfetto_root_path/protos" |
Primiano Tucci | 5f48d7b | 2017-11-27 16:57:13 +0000 | [diff] [blame] | 30 | generator_plugin_options = "wrapper_namespace=pbzero" |
Hector Dearman | 2c650f8 | 2017-11-08 10:51:45 +0000 | [diff] [blame] | 31 | } |