Index: tools/traffic_annotation/BUILD.gn |
diff --git a/tools/traffic_annotation/BUILD.gn b/tools/traffic_annotation/BUILD.gn |
new file mode 100644 |
index 0000000000000000000000000000000000000000..8f2a7438ab2c3ee5e4677e87d5c4145c01e90d02 |
--- /dev/null |
+++ b/tools/traffic_annotation/BUILD.gn |
@@ -0,0 +1,28 @@ |
+# Copyright 2016 The Chromium Authors. All rights reserved. |
+# 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") |
+ |
+# Works only on desktop platforms. |
+assert(is_win || is_linux || is_mac) |
+ |
+proto_library("traffic_annotation") { |
+ sources = [ |
+ "traffic_annotation.proto", |
+ ] |
+ use_protobuf_full = true |
+} |
+ |
+executable("traffic_annotation_auditor") { |
+ sources = [ |
+ "traffic_annotation_auditor.cc", |
+ ] |
+ |
+ deps = [ |
+ ":traffic_annotation", |
+ "//base", |
+ "//net:traffic_annotation_header", |
+ "//third_party/protobuf:protobuf_full", |
+ ] |
+} |