| # 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. |
| |
| import("//third_party/protobuf/proto_library.gni") |
| |
| # Nothing outside //chrome/chrome_cleaner can depend on these targets. |
| visibility = [ "//chrome/chrome_cleaner/*" ] |
| |
| proto_library("shared_data_proto") { |
| sources = [ "shared_data.proto" ] |
| |
| link_deps = [ ":removal_status_proto" ] |
| } |
| |
| proto_library("chrome_cleaner_report_proto") { |
| sources = [ "chrome_cleaner_report.proto" ] |
| |
| link_deps = [ ":shared_data_proto" ] |
| } |
| |
| proto_library("removal_status_proto") { |
| sources = [ "removal_status.proto" ] |
| } |
| |
| proto_library("reporter_logs_proto") { |
| sources = [ "reporter_logs.proto" ] |
| |
| link_deps = [ ":shared_data_proto" ] |
| } |
| |
| proto_library("interface_logger_proto") { |
| sources = [ "interface_logger.proto" ] |
| } |
| |
| # A target that depends on all the protos and protobuf libs imported directly |
| # from Python scripts. |
| group("ensure_py_protos") { |
| deps = [ |
| ":chrome_cleaner_report_proto", |
| ":reporter_logs_proto", |
| "//third_party/protobuf:py_proto", |
| ] |
| } |