# Copyright 2019 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
source_set("session") {
deps = [
":hash_util",
"//base",
"//ios/web/common:features",
"//ios/web/navigation:wk_navigation_util",
"//ios/web/public",
"//ios/web/public/security",
"//ios/web/public/session",
"//ios/web/public/session/proto:proto_util",
"//net",
]
sources = [
"crw_session_certificate_policy_cache_storage.mm",
"crw_session_storage.mm",
"crw_session_user_data.mm",
"session_certificate.cc",
"session_certificate.h",
"session_certificate_policy_cache_impl.cc",
"session_certificate_policy_cache_impl.h",
]
}
source_set("hash_util") {
visibility = [ ":session" ]
sources = [ "hash_util.h" ]
deps = [
"//base",
"//net",
]
}
source_set("unittests") {
testonly = true
deps = [
"//ios/web/public",
"//ios/web/public/security",
"//ios/web/public/session",
"//ios/web/public/session/proto",
"//ios/web/public/test",
"//ios/web/public/test/fakes",
"//ios/web/session",
"//net",
"//net:test_support",
"//testing/gtest",
]
sources = [
"crw_session_certificate_policy_cache_storage_unittest.mm",
"serializable_user_data_manager_unittest.mm",
"session_certificate_policy_cache_impl_unittest.mm",
]
}