# Copyright 2022 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//third_party/blink/renderer/modules/modules.gni")
blink_modules_sources("smart_card") {
sources = [
"smart_card_cancel_algorithm.cc",
"smart_card_cancel_algorithm.h",
"smart_card_connection.cc",
"smart_card_connection.h",
"smart_card_context.cc",
"smart_card_context.h",
"smart_card_error.cc",
"smart_card_error.h",
"smart_card_resource_manager.cc",
"smart_card_resource_manager.h",
"smart_card_util.cc",
"smart_card_util.h",
]
}
source_set("unit_tests") {
testonly = true
sources = [ "smart_card_error_unittest.cc" ]
configs += [
"//third_party/blink/renderer:config",
"//third_party/blink/renderer:inside_blink",
"//third_party/blink/renderer/core:blink_core_pch",
]
deps = [
"//base/test:test_support",
"//testing/gtest",
"//third_party/blink/renderer/core:testing",
"//third_party/blink/renderer/modules",
"//third_party/blink/renderer/platform:test_support",
]
}