| Index: tools/traffic_annotation/auditor/BUILD.gn
|
| diff --git a/tools/traffic_annotation/auditor/BUILD.gn b/tools/traffic_annotation/auditor/BUILD.gn
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..9155b3ae51162964dbd7f1ed12f2faea7c7ba01e
|
| --- /dev/null
|
| +++ b/tools/traffic_annotation/auditor/BUILD.gn
|
| @@ -0,0 +1,52 @@
|
| +# 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("cloud_policy_full_runtime") {
|
| + proto_out_dir = "/tools/traffic_annotation"
|
| +
|
| + # cc_generator_options = "dllexport_decl=POLICY_PROTO_EXPORT:"
|
| + cc_include = "components/policy/proto/policy_proto_export.h"
|
| +
|
| + sources = [
|
| + "$root_gen_dir" +
|
| + "/components/policy/proto/cloud_policy_full_runtime.proto",
|
| + ]
|
| +
|
| + deps = [
|
| + "//components/policy:cloud_policy_full_runtime_code_generate",
|
| + "//third_party/protobuf:protobuf_full",
|
| + ]
|
| +}
|
| +
|
| +proto_library("traffic_annotation") {
|
| + sources = [
|
| + "../traffic_annotation.proto",
|
| + ]
|
| +
|
| + import_dirs = [ "$root_gen_dir" + "/components/policy/proto" ]
|
| +
|
| + deps = [
|
| + ":cloud_policy_full_runtime",
|
| + ]
|
| +
|
| + use_protobuf_full = true
|
| +}
|
| +
|
| +executable("traffic_annotation_auditor") {
|
| + sources = [
|
| + "traffic_annotation_auditor.cc",
|
| + ]
|
| +
|
| + deps = [
|
| + ":traffic_annotation",
|
| + "//base",
|
| + "//net:traffic_annotation",
|
| + "//third_party/protobuf:protobuf_full",
|
| + ]
|
| +}
|
|
|