blob: 1ea44464ea9772a67a7bcd1153535d8c404edc39 [file] [log] [blame]
# Copyright (C) 2019 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("dataframe") {
sources = [
"adhoc_dataframe_builder.cc",
"adhoc_dataframe_builder.h",
"cursor.h",
"cursor_impl.h",
"dataframe.cc",
"dataframe.h",
"runtime_dataframe_builder.h",
"typed_cursor.cc",
"typed_cursor.h",
]
deps = [
"../../../gn:default_deps",
"../../base",
"../containers",
"../util:glob",
"../util:regex",
"impl",
]
public_deps = [ ":specs" ]
}
source_set("specs") {
sources = [
"specs.h",
"type_set.h",
"types.h",
"value_fetcher.h",
]
deps = [
"../../../gn:default_deps",
"../../base",
"../containers",
]
}
perfetto_unittest_source_set("unittests") {
testonly = true
sources = [
"dataframe_test_utils.h",
"dataframe_unittest.cc",
"runtime_dataframe_builder_unittest.cc",
"type_set_unittest.cc",
]
deps = [
":dataframe",
"../../../gn:default_deps",
"../../../gn:gtest_and_gmock",
"../../base",
"../../base:test_support",
"../containers",
"../util:regex",
"impl",
]
}