# 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_files = [
"answer_data.proto",
"answer_type.proto",
"chrome_searchbox_stats.proto",
"entity_info.proto",
"groups.proto",
"navigational_intent.proto",
"rich_answer_template.proto",
"rich_suggest_template.proto",
"search_context.proto",
"types.proto",
]
proto_library("omnibox_proto") {
sources = _proto_files
proto_in_dir = "."
}
if (is_android) {
proto_java_library("omnibox_proto_java") {
proto_path = "."
sources = _proto_files
}
}