# Copyright 2026 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("call_to_action") {
  sources = [
    "call_to_action_lock.cc",
    "call_to_action_lock.h",
  ]
  deps = [
    "//base",
    "//chrome/browser/ui/browser_window",
    "//ui/base",
    "//ui/base/unowned_user_data",
  ]
}

if (!is_android) {
  source_set("browser_tests") {
    testonly = true
    defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ]
    sources = [ "call_to_action_lock_browsertest.cc" ]
    deps = [
      ":call_to_action",
      "//chrome/browser",
      "//chrome/browser/ui",
      "//chrome/test:test_support",
      "//content/test:test_support",
      "//testing/gtest",
    ]
  }
}
