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

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

Issue 2448133006: Tool added to extract network traffic annotations. (Closed)
Patch Set: Clang tool updated. Created 3 years, 8 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
OLDNEW
(Empty)
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
3 # found in the LICENSE file.
4
5 import("//third_party/protobuf/proto_library.gni")
6
7 # Works only on desktop platforms.
8 assert(is_win || is_linux || is_mac)
9
10 proto_library("chrome_settings_full_runtime") {
11 proto_out_dir = "/tools/traffic_annotation"
12
13 # cc_generator_options = "dllexport_decl=POLICY_PROTO_EXPORT:"
14 cc_include = "components/policy/proto/policy_proto_export.h"
15
16 sources = [
17 "$root_gen_dir" +
18 "/components/policy/proto/cloud_policy_full_runtime.proto",
19 "$root_gen_dir" +
20 "/components/policy/proto/chrome_settings_full_runtime.proto",
21 ]
22
23 use_protobuf_full = true
24
25 deps = [
26 "//components/policy:full_runtime_code_generate",
27 "//third_party/protobuf:protobuf_full",
28 ]
29 }
30
31 proto_library("traffic_annotation") {
32 sources = [
33 "../traffic_annotation.proto",
34 ]
35
36 import_dirs = [ "$root_gen_dir" + "/components/policy/proto" ]
37
38 deps = [
39 ":chrome_settings_full_runtime",
40 ]
41
42 use_protobuf_full = true
43 }
44
45 executable("traffic_annotation_auditor") {
46 sources = [
47 "traffic_annotation_auditor.cc",
48 ]
49
50 deps = [
51 ":traffic_annotation",
52 "//base",
53 "//net:traffic_annotation",
54 "//third_party/protobuf:protobuf_full",
55 ]
56 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698