# 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_host_executable.gni")

perfetto_host_executable("protoprofile") {
  testonly = true
  deps = [
    ":common",
    "../../../gn:default_deps",
  ]
}

source_set("common") {
  testonly = true
  public_deps = [
    "../../../gn:default_deps",
    "../../../protos/third_party/pprof:zero",
    "../../base",
    "../../protozero",
    "../../trace_processor/util:proto_profiler",
  ]
  sources = [ "main.cc" ]
  deps = [ "../../trace_processor/importers/proto:gen_cc_trace_descriptor" ]
}
