# Copyright 2017 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("optimization_guide_proto") { proto_in_dir = "//" sources = [ "common_types.proto", "hint_cache.proto", "hints.proto", "loading_predictor_metadata.proto", "models.proto", "page_entities_metadata.proto", "page_entities_model_metadata.proto", "page_topics_model_metadata.proto", "page_topics_override_list.proto", "push_notification.proto", ] } if (is_android) { proto_java_library("optimization_guide_proto_java") { proto_path = "//" sources = [ "common_types.proto", "hints.proto", "loading_predictor_metadata.proto", "models.proto", "push_notification.proto", ] } }