# Copyright (C) 2022 The Android Open Source Project # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. import("../../../../gn/perfetto.gni") import("../../../../gn/test.gni") source_set("android_log_event") { sources = [ "android_log_event.cc", "android_log_event.h", ] deps = [ "../../../../gn:default_deps", "../../../../include/perfetto/ext/base:base", "../../containers", ] } source_set("android_bugreport") { sources = [ "android_bugreport_reader.cc", "android_bugreport_reader.h", "android_dumpstate_reader.cc", "android_dumpstate_reader.h", "android_log_event_parser_impl.cc", "android_log_event_parser_impl.h", "android_log_reader.cc", "android_log_reader.h", "chunked_line_reader.cc", "chunked_line_reader.h", ] deps = [ ":android_log_event", "../../../../gn:default_deps", "../../../../include/perfetto/trace_processor", "../../../../include/perfetto/trace_processor:basic_types", "../../../../protos/perfetto/common:zero", "../../../../protos/perfetto/trace:zero", "../../../base", "../../sorter:sorter", "../../storage", "../../tables:tables_python", "../../types", "../../util:trace_type", "../../util:zip_reader", "../common", ] } perfetto_unittest_source_set("unittests") { sources = [ "android_log_unittest.cc" ] testonly = true deps = [ ":android_bugreport", ":android_log_event", "../../../../gn:default_deps", "../../../../gn:gtest_and_gmock", "../../../../include/perfetto/trace_processor:storage", "../../../../protos/perfetto/common:zero", "../../../../protos/perfetto/trace:zero", "../../../base", "../../sorter", "../../storage", "../../types", "../common", ] }