# Copyright 2021 The Cobalt Authors. All Rights Reserved.
#
# 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.

target(gtest_target_type, "nplb_evergreen_compat_tests") {
  testonly = true

  sources = [
    "//starboard/common/test_main.cc",
    "checks.h",
    "crashpad_config_test.cc",
    "executable_memory_test.cc",
    "fonts_test.cc",
    "max_file_name_test.cc",
    "sabi_test.cc",
    "storage_test.cc",
  ]

  public_deps = [
    "//starboard",
    "//testing/gmock",
  ]

  data_deps = [
    "//cobalt/network:copy_ssl_certificates",
    "//third_party/icu:icudata",
  ]
}
