| # Copyright 2023 The Chromium Authors |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| assert(is_chromeos) |
| |
| component("shortcut") { |
| output_name = "SHORTCUT" |
| sources = [ |
| "shortcut.cc", |
| "shortcut.h", |
| "shortcut_registry_cache.cc", |
| "shortcut_registry_cache.h", |
| "shortcut_update.cc", |
| "shortcut_update.h", |
| ] |
| |
| defines = [ "IS_SHORTCUT_IMPL" ] |
| |
| deps = [ |
| "//base", |
| "//components/crx_file", |
| "//components/services/app_service/public/cpp:macros", |
| "//third_party/abseil-cpp:absl", |
| ] |
| } |
| |
| source_set("unit_tests") { |
| testonly = true |
| |
| sources = [ |
| "shortcut_registry_cache_unittest.cc", |
| "shortcut_unittest.cc", |
| "shortcut_update_unittest.cc", |
| ] |
| |
| deps = [ |
| ":shortcut", |
| "//testing/gtest", |
| ] |
| } |