| # 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("json_splicer") { |
| sources = [ |
| "json_splicer.cc", |
| "json_splicer.h", |
| ] |
| |
| deps = [ |
| "//base:base", |
| ] |
| } |
| |
| static_library("json_parser") { |
| sources = [ |
| "json_parser_api.h", |
| "sandboxed_json_parser.cc", |
| "sandboxed_json_parser.h", |
| "test_json_parser.cc", |
| "test_json_parser.h", |
| ] |
| |
| deps = [ |
| "//base:base", |
| "//chrome/chrome_cleaner/constants:common_strings", |
| "//chrome/chrome_cleaner/interfaces:parser_interface", |
| "//chrome/chrome_cleaner/ipc:mojo_task_runner", |
| "//chrome/chrome_cleaner/ipc:sandbox", |
| "//chrome/chrome_cleaner/os:common_os", |
| "//chrome/chrome_cleaner/parsers/broker:parser_sandbox_broker", |
| "//chrome/chrome_cleaner/parsers/target:parser_sandbox_target", |
| "//chrome/chrome_cleaner/settings:settings_types", |
| "//components/chrome_cleaner/public/constants", |
| "//mojo/public/cpp/bindings", |
| ] |
| } |
| |
| source_set("unittest_sources") { |
| testonly = true |
| |
| sources = [ |
| "json_splicer_unittest.cc", |
| ] |
| |
| deps = [ |
| ":json_parser", |
| ":json_splicer", |
| "//base:base", |
| "//base/test:test_support", |
| "//chrome/chrome_cleaner/interfaces:parser_interface", |
| "//chrome/chrome_cleaner/ipc:mojo_task_runner", |
| "//chrome/chrome_cleaner/parsers/broker:parser_sandbox_broker", |
| "//chrome/chrome_cleaner/parsers/target:parser_sandbox_target", |
| "//mojo/public/cpp/bindings", |
| "//sandbox/win:sandbox", |
| "//testing/gtest", |
| ] |
| } |