# Copyright (C) 2023 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/test.gni") source_set("column") { sources = [ "arrangement_overlay.cc", "arrangement_overlay.h", "data_layer.cc", "data_layer.h", "dense_null_overlay.cc", "dense_null_overlay.h", "dummy_storage.cc", "dummy_storage.h", "id_storage.cc", "id_storage.h", "null_overlay.cc", "null_overlay.h", "numeric_storage.cc", "numeric_storage.h", "overlay_layer.cc", "overlay_layer.h", "range_overlay.cc", "range_overlay.h", "selector_overlay.cc", "selector_overlay.h", "set_id_storage.cc", "set_id_storage.h", "storage_layer.cc", "storage_layer.h", "string_storage.cc", "string_storage.h", "types.h", "utils.cc", "utils.h", ] deps = [ "..:compare", "../..:metatrace", "../../../../gn:default_deps", "../../../../include/perfetto/trace_processor", "../../../../include/perfetto/trace_processor:basic_types", "../../../../protos/perfetto/trace_processor:zero", "../../../base", "../../containers", "../../util:glob", "../../util:regex", ] } perfetto_unittest_source_set("fake_storage") { testonly = true sources = [ "fake_storage.cc", "fake_storage.h", ] deps = [ ":column", "../../../../gn:default_deps", "../../../../gn:gtest_and_gmock", "../../../../include/perfetto/trace_processor:basic_types", "../../containers", ] } perfetto_unittest_source_set("unittests") { testonly = true sources = [ "arrangement_overlay_unittest.cc", "dense_null_overlay_unittest.cc", "fake_storage_unittest.cc", "id_storage_unittest.cc", "null_overlay_unittest.cc", "numeric_storage_unittest.cc", "range_overlay_unittest.cc", "selector_overlay_unittest.cc", "set_id_storage_unittest.cc", "string_storage_unittest.cc", ] deps = [ ":column", ":fake_storage", "../:compare", "../../../../gn:default_deps", "../../../../gn:gtest_and_gmock", "../../../../include/perfetto/trace_processor:basic_types", "../../../base", "../../containers", ] }