| # Copyright 2018 The Chromium Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| static_library("shortcut_parser_api") { |
| sources = [ |
| "shortcut_parser_api.cc", |
| "shortcut_parser_api.h", |
| ] |
| deps = [ |
| "//base", |
| "//chrome/chrome_cleaner/interfaces:parser_interface", |
| "//chrome/chrome_cleaner/os:common_os", |
| ] |
| } |
| |
| static_library("sandboxed_shortcut_parser") { |
| sources = [ |
| "sandboxed_shortcut_parser.cc", |
| "sandboxed_shortcut_parser.h", |
| ] |
| |
| deps = [ |
| ":shortcut_parser_api", |
| "//base", |
| "//chrome/chrome_cleaner/interfaces:parser_interface", |
| "//chrome/chrome_cleaner/ipc:mojo_task_runner", |
| "//chrome/chrome_cleaner/os:common_os", |
| "//chrome/chrome_cleaner/parsers/parser_utils:parse_tasks_remaining_counter", |
| "//mojo/public/cpp/bindings", |
| ] |
| } |
| |
| static_library("fake_shortcut_parser") { |
| testonly = true |
| sources = [ |
| "fake_shortcut_parser.cc", |
| "fake_shortcut_parser.h", |
| ] |
| deps = [ |
| ":shortcut_parser_api", |
| "//base", |
| "//chrome/chrome_cleaner/interfaces:parser_interface", |
| "//testing/gmock", |
| ] |
| } |
| |
| source_set("unittest_sources") { |
| testonly = true |
| |
| sources = [ |
| "sandboxed_shortcut_parser_unittest.cc", |
| ] |
| deps = [ |
| ":sandboxed_shortcut_parser", |
| "//base", |
| "//base/test:test_support", |
| "//chrome/chrome_cleaner/interfaces:parser_interface", |
| "//chrome/chrome_cleaner/ipc:mojo_task_runner", |
| "//chrome/chrome_cleaner/os:common_os", |
| "//chrome/chrome_cleaner/parsers/broker:parser_sandbox_broker", |
| "//chrome/chrome_cleaner/parsers/json_parser", |
| "//chrome/chrome_cleaner/parsers/json_parser:json_splicer", |
| "//chrome/chrome_cleaner/parsers/shortcut_parser:sandboxed_lnk_parser_test_util", |
| "//chrome/chrome_cleaner/parsers/shortcut_parser/target:lnk_parser", |
| "//chrome/chrome_cleaner/parsers/target:parser_sandbox_target", |
| "//mojo/public/cpp/bindings:bindings", |
| "//sandbox/win:sandbox", |
| "//testing/gtest", |
| ] |
| } |