| OLD | NEW |
| (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 } |
| OLD | NEW |