# Copyright (C) 2018 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")

assert(is_android)

static_library("perfetto_cts_deps") {
  complete_static_lib = true
  testonly = true
  deps = [
    "..:integrationtests",
    "../..:libperfetto_client_experimental",
    "../../gn:default_deps",
    "../../gn:gtest_and_gmock",
    "../../include/perfetto/ext/tracing/core",
    "../../protos/perfetto/config:cpp",
    "../../protos/perfetto/config/profiling:cpp",
    "../../protos/perfetto/trace:cpp",
    "../../protos/perfetto/trace/profiling:cpp",
    "../../src/base:test_support",
    "../../test:test_helper",
  ]
  sources = [
    "device_feature_test_cts.cc",
    "end_to_end_integrationtest_cts.cc",
    "heapprofd_java_test_cts.cc",
    "heapprofd_test_cts.cc",
    "traced_perf_test_cts.cc",
  ]
}

static_library("perfetto_cts_jni_deps") {
  complete_static_lib = true
  testonly = true
  deps = [
    "..:test_helper",
    "../../gn:default_deps",
    "../../src/base:test_support",
  ]
}
