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

Side by Side Diff: components/tracing/proto_zero_test/BUILD.gn

Issue 2083373002: proto_zero_plugin [NOT FOR REVIEW]. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: full_featured_will_split_into_smaller_CLs_for_review Created 4 years, 5 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 proto_library("proto_zero_test_mock_messages") {
8 visibility = [ "//components/tracing/proto_zero_test/*" ]
9
10 sources = [
11 "mock_messages.proto",
12 ]
13
14 proto_out_dir = "components/tracing/proto_zero_test"
15 generator_plugin = "proto_zero_plugin"
16 generator_plugin_suffix = ".zeropb"
17 generate_cc = false
18 generate_python = false
19
20 deps = [
21 "//components/tracing/proto_zero_plugin:proto_zero_plugin($host_toolchain)",
22 ]
23 }
24
25 source_set("unit_tests") {
26 testonly = true
27
28 sources = [
29 "mock_messages_unittest.cc",
30 ]
31
32 deps = [
33 ":proto_zero_test_mock_messages",
34 "//base/test:test_support",
35 "//testing/gtest",
36 ]
37 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698