# 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/perfetto_tp_tables.gni")
import("../../../gn/test.gni")

source_set("tables") {
  sources = [ "macros_internal.h" ]
  deps = [
    "../../../gn:default_deps",
    "../dataframe",
  ]
  public_deps = [ ":tables_python" ]
}

perfetto_tp_tables("tables_python") {
  sources = [
    "android_tables.py",
    "counter_tables.py",
    "etm_tables.py",
    "flow_tables.py",
    "jit_tables.py",
    "memory_tables.py",
    "metadata_tables.py",
    "perf_tables.py",
    "profiler_tables.py",
    "sched_tables.py",
    "slice_tables.py",
    "trace_proto_tables.py",
    "track_tables.py",
    "v8_tables.py",
    "winscope_tables.py",
  ]
  generate_docs = true
}
