Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(222)

Side by Side Diff: tools/traffic_annotation/auditor/BUILD.gn

Issue 2866183003: Syntax and coverage checking added to Network Traffic Annotations. (Closed)
Patch Set: Protobuf build updated. Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/protobuf/BUILD.gn ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//third_party/protobuf/proto_library.gni") 5 import("//third_party/protobuf/proto_library.gni")
6 6
7 # Works only on desktop platforms. 7 # Works only on desktop platforms.
8 assert(is_win || is_linux || is_mac) 8 assert(is_win || is_linux || is_mac)
9 9
10 proto_library("chrome_settings_full_runtime") { 10 proto_library("chrome_settings_full_runtime") {
11 proto_out_dir = "/tools/traffic_annotation" 11 proto_out_dir = "/tools/traffic_annotation"
12 12
13 cc_include = "components/policy/proto/policy_proto_export.h" 13 cc_include = "components/policy/proto/policy_proto_export.h"
14 14
15 sources = [ 15 sources = [
16 "$root_gen_dir" + 16 "$root_gen_dir" +
17 "/components/policy/proto/cloud_policy_full_runtime.proto", 17 "/components/policy/proto/cloud_policy_full_runtime.proto",
18 "$root_gen_dir" + 18 "$root_gen_dir" +
19 "/components/policy/proto/chrome_settings_full_runtime.proto", 19 "/components/policy/proto/chrome_settings_full_runtime.proto",
20 ] 20 ]
21 21
22 use_protobuf_full = true 22 # use_protobuf_full = true
23 23
24 deps = [ 24 deps = [
25 "//components/policy:full_runtime_code_generate", 25 "//components/policy:full_runtime_code_generate",
26 "//third_party/protobuf:protobuf_full", 26 "//third_party/protobuf:protobuf_lite",
27 ] 27 ]
28 } 28 }
29 29
30 proto_library("traffic_annotation") { 30 proto_library("traffic_annotation") {
31 sources = [ 31 sources = [
32 "../traffic_annotation.proto", 32 "../traffic_annotation.proto",
33 ] 33 ]
34 34
35 import_dirs = [ "$root_gen_dir" + "/components/policy/proto" ] 35 import_dirs = [ "$root_gen_dir" + "/components/policy/proto" ]
36 36
37 deps = [ 37 deps = [
38 ":chrome_settings_full_runtime", 38 ":chrome_settings_full_runtime",
39 ] 39 ]
40 40
41 use_protobuf_full = true 41 # use_protobuf_full = true
42 } 42 }
43 43
44 group("traffic_annotation_auditor") { 44 group("traffic_annotation_auditor") {
45 deps = [ 45 deps = [
46 ":traffic_annotation", 46 ":traffic_annotation",
47 "//third_party/protobuf:protobuf_full", 47 "//third_party/protobuf:protobuf_lite",
48 ] 48 ]
49 } 49 }
OLDNEW
« no previous file with comments | « third_party/protobuf/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698