| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 import("//third_party/protobuf/proto_library.gni") | 5 import("//third_party/protobuf/proto_library.gni") |
| 6 | 6 |
| 7 component("tracing") { | 7 component("tracing") { |
| 8 sources = [ | 8 sources = [ |
| 9 "child/child_memory_dump_manager_delegate_impl.cc", | 9 "child/child_memory_dump_manager_delegate_impl.cc", |
| 10 "child/child_memory_dump_manager_delegate_impl.h", | 10 "child/child_memory_dump_manager_delegate_impl.h", |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 } | 59 } |
| 60 | 60 |
| 61 # For unit testing of generated stubs. | 61 # For unit testing of generated stubs. |
| 62 proto_library("proto_zero_testing_messages") { | 62 proto_library("proto_zero_testing_messages") { |
| 63 visibility = [ "//components/tracing/*" ] | 63 visibility = [ "//components/tracing/*" ] |
| 64 | 64 |
| 65 sources = [ | 65 sources = [ |
| 66 "test/example_proto/library.proto", | 66 "test/example_proto/library.proto", |
| 67 "test/example_proto/library_internals/galaxies.proto", | 67 "test/example_proto/library_internals/galaxies.proto", |
| 68 "test/example_proto/test_messages.proto", | 68 "test/example_proto/test_messages.proto", |
| 69 "test/example_proto/upper_import.proto", |
| 69 ] | 70 ] |
| 70 | 71 |
| 72 proto_in_dir = "test/example_proto" |
| 73 |
| 71 generator_plugin_label = "tools/proto_zero_plugin:proto_zero_plugin" | 74 generator_plugin_label = "tools/proto_zero_plugin:proto_zero_plugin" |
| 72 generator_plugin_suffix = ".pbzero" | 75 generator_plugin_suffix = ".pbzero" |
| 73 generate_cc = false | 76 generate_cc = true |
| 74 generate_python = false | 77 generate_python = false |
| 75 } | 78 } |
| 76 | 79 |
| 77 source_set("unit_tests") { | 80 source_set("unit_tests") { |
| 78 testonly = true | 81 testonly = true |
| 79 | 82 |
| 80 sources = [ | 83 sources = [ |
| 81 "child/child_trace_message_filter_unittest.cc", | 84 "child/child_trace_message_filter_unittest.cc", |
| 82 "common/graphics_memory_dump_provider_android_unittest.cc", | 85 "common/graphics_memory_dump_provider_android_unittest.cc", |
| 83 "common/process_metrics_memory_dump_provider_unittest.cc", | 86 "common/process_metrics_memory_dump_provider_unittest.cc", |
| (...skipping 12 matching lines...) Expand all Loading... |
| 96 "//ipc", | 99 "//ipc", |
| 97 "//testing/gmock:gmock", | 100 "//testing/gmock:gmock", |
| 98 "//testing/gtest", | 101 "//testing/gtest", |
| 99 ] | 102 ] |
| 100 | 103 |
| 101 if (!is_android) { | 104 if (!is_android) { |
| 102 sources += [ "browser/trace_config_file_unittest.cc" ] | 105 sources += [ "browser/trace_config_file_unittest.cc" ] |
| 103 deps += [ ":startup_tracing" ] | 106 deps += [ ":startup_tracing" ] |
| 104 } | 107 } |
| 105 } | 108 } |
| OLD | NEW |