# 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("threading") {
  deps = [ "../../../gn:default_deps" ]
  public_deps = [ "../../../include/perfetto/ext/base/threading" ]
  sources = [
    "stream_combinators.cc",
    "thread_pool.cc",
  ]
}

perfetto_unittest_source_set("unittests") {
  testonly = true
  deps = [
    ":threading",
    "..:base",
    "../../../gn:default_deps",
    "../../../gn:gtest_and_gmock",
  ]
  sources = [
    "channel_unittest.cc",
    "future_unittest.cc",
    "stream_unittest.cc",
    "thread_pool_unittest.cc",
  ]
}
