1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# 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",
]
}
}
|