# Copyright 2022 The Chromium Authors
# 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")
if (is_android) {
import("//build/config/android/rules.gni")
}
proto_library("proto") {
proto_in_dir = "//"
sources = [
"aggregation.proto",
"model_metadata.proto",
"output_config.proto",
"prediction_result.proto",
"segmentation_platform.proto",
"types.proto",
]
}
if (is_android) {
proto_java_library("segmentation_platform_proto_java") {
proto_path = "//"
sources = [
"output_config.proto",
"prediction_result.proto",
"segmentation_platform.proto",
]
}
}