chromium/ios/web/browsing_data/BUILD.gn

# 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("browsing_data") {
  sources = [
    "browsing_data_removing_util.mm",
    "system_cookie_store_util.mm",
  ]

  deps = [
    "//base",
    "//ios/net",
    "//ios/web/common",
    "//ios/web/common:uikit",
    "//ios/web/net/cookies",
    "//ios/web/public",
    "//ios/web/public/browsing_data",
    "//ios/web/web_state/ui:wk_web_view_configuration_provider",
  ]

  frameworks = [ "WebKit.framework" ]
}

source_set("browsing_data_unittests") {
  testonly = true
  deps = [
    ":browsing_data",
    "//base/test:test_support",
    "//ios/net",
    "//ios/net:test_support",
    "//ios/web/common",
    "//ios/web/common:uikit",
    "//ios/web/net/cookies",
    "//ios/web/public/browsing_data",
    "//ios/web/public/test",
    "//ios/web/public/test:test_fixture",
    "//ios/web/public/test/fakes",
    "//testing/gtest",
  ]

  sources = [
    "browsing_data_removing_util_unittest.mm",
    "system_cookie_store_util_unittest.mm",
  ]
}