1 # Copyright (C) 2019 The Android Open Source Project 2 # 3 # Licensed under the Apache License, Version 2.0 (the "License"); 4 # you may not use this file except in compliance with the License. 5 # You may obtain a copy of the License at 6 # 7 # http://www.apache.org/licenses/LICENSE-2.0 8 # 9 # Unless required by applicable law or agreed to in writing, software 10 # distributed under the License is distributed on an "AS IS" BASIS, 11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 # See the License for the specific language governing permissions and 13 # limitations under the License. 14 # 15 # This file is automatically generated by tools/gen_build. Do not edit. 16 17 load("//tools/build_defs/proto/cpp:cc_proto_library.bzl", "cc_proto_library") 18 load("//third_party/perfetto/google:build_defs.bzl", "pbzero_cc_proto_library") 19 20 package(default_visibility = ["//third_party/perfetto:__subpackages__"]) 21 22 licenses(["notice"]) # Apache 2.0 23 24 exports_files(["LICENSE"]) 25 26 # GN target: //protos/perfetto/common:lite_gen 27 proto_library( 28 name = "common", 29 srcs = [ 30 "perfetto/common/android_log_constants.proto", 31 "perfetto/common/commit_data_request.proto", 32 "perfetto/common/descriptor.proto", 33 "perfetto/common/observable_events.proto", 34 "perfetto/common/sys_stats_counters.proto", 35 "perfetto/common/trace_stats.proto", 36 ], 37 has_services = 1, 38 cc_api_version = 2, 39 cc_generic_services = 1, 40 visibility = [ 41 "//visibility:public", 42 ], 43 ) 44 45 # GN target: //protos/perfetto/common:lite_gen 46 cc_proto_library( 47 name = "common_cc_proto", 48 visibility = [ 49 "//visibility:public", 50 ], 51 deps = [ 52 "//third_party/perfetto/protos:common", 53 ], 54 ) 55 56 # GN target: //protos/perfetto/common:zero_gen 57 proto_library( 58 name = "common_zero", 59 srcs = [ 60 "perfetto/common/android_log_constants.proto", 61 "perfetto/common/commit_data_request.proto", 62 "perfetto/common/descriptor.proto", 63 "perfetto/common/observable_events.proto", 64 "perfetto/common/sys_stats_counters.proto", 65 "perfetto/common/trace_stats.proto", 66 ], 67 ) 68 69 # GN target: //protos/perfetto/common:zero_gen 70 pbzero_cc_proto_library( 71 name = "common_zero_cc_proto", 72 src_proto_library = "//third_party/perfetto/protos:common_zero", 73 deps = [ 74 "//third_party/perfetto:libprotozero", 75 "//third_party/perfetto/google:gtest_prod", 76 ], 77 ) 78 79 # GN target: //protos/perfetto/config:lite_gen 80 proto_library( 81 name = "config", 82 srcs = [ 83 "perfetto/config/android/android_log_config.proto", 84 "perfetto/config/android/packages_list_config.proto", 85 "perfetto/config/chrome/chrome_config.proto", 86 "perfetto/config/data_source_config.proto", 87 "perfetto/config/data_source_descriptor.proto", 88 "perfetto/config/ftrace/ftrace_config.proto", 89 "perfetto/config/inode_file/inode_file_config.proto", 90 "perfetto/config/power/android_power_config.proto", 91 "perfetto/config/process_stats/process_stats_config.proto", 92 "perfetto/config/profiling/heapprofd_config.proto", 93 "perfetto/config/sys_stats/sys_stats_config.proto", 94 "perfetto/config/test_config.proto", 95 "perfetto/config/trace_config.proto", 96 ], 97 has_services = 1, 98 cc_api_version = 2, 99 cc_generic_services = 1, 100 visibility = [ 101 "//visibility:public", 102 ], 103 deps = [ 104 "//third_party/perfetto/protos:common", 105 ], 106 ) 107 108 # GN target: //protos/perfetto/config:lite_gen 109 cc_proto_library( 110 name = "config_cc_proto", 111 visibility = [ 112 "//visibility:public", 113 ], 114 deps = [ 115 "//third_party/perfetto/protos:config", 116 ], 117 ) 118 119 # GN target: //protos/perfetto/config:merged_config_gen 120 proto_library( 121 name = "config_merged_config_gen", 122 srcs = [ 123 "perfetto/config/perfetto_config.proto", 124 ], 125 has_services = 1, 126 cc_api_version = 2, 127 cc_generic_services = 1, 128 visibility = [ 129 "//visibility:public", 130 ], 131 ) 132 133 # GN target: //protos/perfetto/config:merged_config_gen 134 cc_proto_library( 135 name = "config_merged_config_gen_cc_proto", 136 visibility = [ 137 "//visibility:public", 138 ], 139 deps = [ 140 "//third_party/perfetto/protos:config_merged_config_gen", 141 ], 142 ) 143 144 # GN target: //protos/perfetto/config:zero_gen 145 proto_library( 146 name = "config_zero", 147 srcs = [ 148 "perfetto/config/android/android_log_config.proto", 149 "perfetto/config/android/packages_list_config.proto", 150 "perfetto/config/chrome/chrome_config.proto", 151 "perfetto/config/data_source_config.proto", 152 "perfetto/config/data_source_descriptor.proto", 153 "perfetto/config/ftrace/ftrace_config.proto", 154 "perfetto/config/inode_file/inode_file_config.proto", 155 "perfetto/config/power/android_power_config.proto", 156 "perfetto/config/process_stats/process_stats_config.proto", 157 "perfetto/config/profiling/heapprofd_config.proto", 158 "perfetto/config/sys_stats/sys_stats_config.proto", 159 "perfetto/config/test_config.proto", 160 "perfetto/config/trace_config.proto", 161 ], 162 deps = [ 163 "//third_party/perfetto/protos:common_zero", 164 ], 165 ) 166 167 # GN target: //protos/perfetto/config:zero_gen 168 pbzero_cc_proto_library( 169 name = "config_zero_cc_proto", 170 src_proto_library = "//third_party/perfetto/protos:config_zero", 171 deps = [ 172 "//third_party/perfetto:libprotozero", 173 "//third_party/perfetto/google:gtest_prod", 174 ], 175 ) 176 177 # GN target: //protos/perfetto/metrics/android:zero_gen 178 proto_library( 179 name = "metrics_android_zero", 180 srcs = [ 181 "perfetto/metrics/android/mem_metric.proto", 182 ], 183 ) 184 185 # GN target: //protos/perfetto/metrics/android:zero_gen 186 pbzero_cc_proto_library( 187 name = "metrics_android_zero_cc_proto", 188 src_proto_library = "//third_party/perfetto/protos:metrics_android_zero", 189 deps = [ 190 "//third_party/perfetto:libprotozero", 191 "//third_party/perfetto/google:gtest_prod", 192 ], 193 ) 194 195 # GN target: //protos/perfetto/metrics:zero_gen 196 proto_library( 197 name = "metrics_zero", 198 srcs = [ 199 "perfetto/metrics/metrics.proto", 200 ], 201 deps = [ 202 "//third_party/perfetto/protos:metrics_android_zero", 203 ], 204 ) 205 206 # GN target: //protos/perfetto/metrics:zero_gen 207 pbzero_cc_proto_library( 208 name = "metrics_zero_cc_proto", 209 src_proto_library = "//third_party/perfetto/protos:metrics_zero", 210 deps = [ 211 "//third_party/perfetto:libprotozero", 212 "//third_party/perfetto/google:gtest_prod", 213 ], 214 ) 215 216 # GN target: //protos/third_party/pprof:lite_gen 217 proto_library( 218 name = "protos_third_party_pprof", 219 srcs = [ 220 "third_party/pprof/profile.proto", 221 ], 222 has_services = 1, 223 cc_api_version = 2, 224 cc_generic_services = 1, 225 visibility = [ 226 "//visibility:public", 227 ], 228 ) 229 230 # GN target: //protos/third_party/pprof:lite_gen 231 cc_proto_library( 232 name = "protos_third_party_pprof_cc_proto", 233 visibility = [ 234 "//visibility:public", 235 ], 236 deps = [ 237 "//third_party/perfetto/protos:protos_third_party_pprof", 238 ], 239 ) 240 241 # GN target: //protos/perfetto/trace:lite_gen 242 proto_library( 243 name = "trace", 244 srcs = [ 245 "perfetto/trace/test_event.proto", 246 "perfetto/trace/trace.proto", 247 "perfetto/trace/trace_packet.proto", 248 ], 249 has_services = 1, 250 cc_api_version = 2, 251 cc_generic_services = 1, 252 visibility = [ 253 "//visibility:public", 254 ], 255 deps = [ 256 "//third_party/perfetto/protos:common", 257 "//third_party/perfetto/protos:config", 258 "//third_party/perfetto/protos:trace_android", 259 "//third_party/perfetto/protos:trace_chrome", 260 "//third_party/perfetto/protos:trace_filesystem", 261 "//third_party/perfetto/protos:trace_ftrace", 262 "//third_party/perfetto/protos:trace_interned_data", 263 "//third_party/perfetto/protos:trace_minimal", 264 "//third_party/perfetto/protos:trace_power", 265 "//third_party/perfetto/protos:trace_profiling", 266 "//third_party/perfetto/protos:trace_ps", 267 "//third_party/perfetto/protos:trace_sys_stats", 268 "//third_party/perfetto/protos:trace_track_event", 269 ], 270 ) 271 272 # GN target: //protos/perfetto/trace/android:lite_gen 273 proto_library( 274 name = "trace_android", 275 srcs = [ 276 "perfetto/trace/android/android_log.proto", 277 "perfetto/trace/android/packages_list.proto", 278 ], 279 has_services = 1, 280 cc_api_version = 2, 281 cc_generic_services = 1, 282 visibility = [ 283 "//visibility:public", 284 ], 285 deps = [ 286 "//third_party/perfetto/protos:common", 287 ], 288 ) 289 290 # GN target: //protos/perfetto/trace/android:lite_gen 291 cc_proto_library( 292 name = "trace_android_cc_proto", 293 visibility = [ 294 "//visibility:public", 295 ], 296 deps = [ 297 "//third_party/perfetto/protos:trace_android", 298 ], 299 ) 300 301 # GN target: //protos/perfetto/trace/android:zero_gen 302 proto_library( 303 name = "trace_android_zero", 304 srcs = [ 305 "perfetto/trace/android/android_log.proto", 306 "perfetto/trace/android/packages_list.proto", 307 ], 308 deps = [ 309 "//third_party/perfetto/protos:common_zero", 310 ], 311 ) 312 313 # GN target: //protos/perfetto/trace/android:zero_gen 314 pbzero_cc_proto_library( 315 name = "trace_android_zero_cc_proto", 316 src_proto_library = "//third_party/perfetto/protos:trace_android_zero", 317 deps = [ 318 "//third_party/perfetto:libprotozero", 319 "//third_party/perfetto/google:gtest_prod", 320 ], 321 ) 322 323 # GN target: //protos/perfetto/trace:lite_gen 324 cc_proto_library( 325 name = "trace_cc_proto", 326 visibility = [ 327 "//visibility:public", 328 ], 329 deps = [ 330 "//third_party/perfetto/protos:trace", 331 ], 332 ) 333 334 # GN target: //protos/perfetto/trace/chrome:lite_gen 335 proto_library( 336 name = "trace_chrome", 337 srcs = [ 338 "perfetto/trace/chrome/chrome_trace_event.proto", 339 ], 340 has_services = 1, 341 cc_api_version = 2, 342 cc_generic_services = 1, 343 visibility = [ 344 "//visibility:public", 345 ], 346 ) 347 348 # GN target: //protos/perfetto/trace/chrome:lite_gen 349 cc_proto_library( 350 name = "trace_chrome_cc_proto", 351 visibility = [ 352 "//visibility:public", 353 ], 354 deps = [ 355 "//third_party/perfetto/protos:trace_chrome", 356 ], 357 ) 358 359 # GN target: //protos/perfetto/trace/chrome:zero_gen 360 proto_library( 361 name = "trace_chrome_zero", 362 srcs = [ 363 "perfetto/trace/chrome/chrome_trace_event.proto", 364 ], 365 deps = [ 366 "//third_party/perfetto/protos:trace_interned_data_zero", 367 "//third_party/perfetto/protos:trace_track_event_zero", 368 ], 369 ) 370 371 # GN target: //protos/perfetto/trace/chrome:zero_gen 372 pbzero_cc_proto_library( 373 name = "trace_chrome_zero_cc_proto", 374 src_proto_library = "//third_party/perfetto/protos:trace_chrome_zero", 375 deps = [ 376 "//third_party/perfetto:libprotozero", 377 "//third_party/perfetto/google:gtest_prod", 378 ], 379 ) 380 381 # GN target: //protos/perfetto/trace/filesystem:lite_gen 382 proto_library( 383 name = "trace_filesystem", 384 srcs = [ 385 "perfetto/trace/filesystem/inode_file_map.proto", 386 ], 387 has_services = 1, 388 cc_api_version = 2, 389 cc_generic_services = 1, 390 visibility = [ 391 "//visibility:public", 392 ], 393 ) 394 395 # GN target: //protos/perfetto/trace/filesystem:lite_gen 396 cc_proto_library( 397 name = "trace_filesystem_cc_proto", 398 visibility = [ 399 "//visibility:public", 400 ], 401 deps = [ 402 "//third_party/perfetto/protos:trace_filesystem", 403 ], 404 ) 405 406 # GN target: //protos/perfetto/trace/filesystem:zero_gen 407 proto_library( 408 name = "trace_filesystem_zero", 409 srcs = [ 410 "perfetto/trace/filesystem/inode_file_map.proto", 411 ], 412 ) 413 414 # GN target: //protos/perfetto/trace/filesystem:zero_gen 415 pbzero_cc_proto_library( 416 name = "trace_filesystem_zero_cc_proto", 417 src_proto_library = "//third_party/perfetto/protos:trace_filesystem_zero", 418 deps = [ 419 "//third_party/perfetto:libprotozero", 420 "//third_party/perfetto/google:gtest_prod", 421 ], 422 ) 423 424 # GN target: //protos/perfetto/trace/ftrace:lite_gen 425 proto_library( 426 name = "trace_ftrace", 427 srcs = [ 428 "perfetto/trace/ftrace/binder.proto", 429 "perfetto/trace/ftrace/block.proto", 430 "perfetto/trace/ftrace/cgroup.proto", 431 "perfetto/trace/ftrace/clk.proto", 432 "perfetto/trace/ftrace/compaction.proto", 433 "perfetto/trace/ftrace/ext4.proto", 434 "perfetto/trace/ftrace/f2fs.proto", 435 "perfetto/trace/ftrace/fence.proto", 436 "perfetto/trace/ftrace/filemap.proto", 437 "perfetto/trace/ftrace/ftrace.proto", 438 "perfetto/trace/ftrace/ftrace_event.proto", 439 "perfetto/trace/ftrace/ftrace_event_bundle.proto", 440 "perfetto/trace/ftrace/ftrace_stats.proto", 441 "perfetto/trace/ftrace/generic.proto", 442 "perfetto/trace/ftrace/i2c.proto", 443 "perfetto/trace/ftrace/ipi.proto", 444 "perfetto/trace/ftrace/irq.proto", 445 "perfetto/trace/ftrace/kmem.proto", 446 "perfetto/trace/ftrace/lowmemorykiller.proto", 447 "perfetto/trace/ftrace/mdss.proto", 448 "perfetto/trace/ftrace/mm_event.proto", 449 "perfetto/trace/ftrace/oom.proto", 450 "perfetto/trace/ftrace/power.proto", 451 "perfetto/trace/ftrace/raw_syscalls.proto", 452 "perfetto/trace/ftrace/regulator.proto", 453 "perfetto/trace/ftrace/sched.proto", 454 "perfetto/trace/ftrace/signal.proto", 455 "perfetto/trace/ftrace/sync.proto", 456 "perfetto/trace/ftrace/systrace.proto", 457 "perfetto/trace/ftrace/task.proto", 458 "perfetto/trace/ftrace/test_bundle_wrapper.proto", 459 "perfetto/trace/ftrace/vmscan.proto", 460 "perfetto/trace/ftrace/workqueue.proto", 461 ], 462 has_services = 1, 463 cc_api_version = 2, 464 cc_generic_services = 1, 465 visibility = [ 466 "//visibility:public", 467 ], 468 ) 469 470 # GN target: //protos/perfetto/trace/ftrace:lite_gen 471 cc_proto_library( 472 name = "trace_ftrace_cc_proto", 473 visibility = [ 474 "//visibility:public", 475 ], 476 deps = [ 477 "//third_party/perfetto/protos:trace_ftrace", 478 ], 479 ) 480 481 # GN target: //protos/perfetto/trace/ftrace:zero_gen 482 proto_library( 483 name = "trace_ftrace_zero", 484 srcs = [ 485 "perfetto/trace/ftrace/binder.proto", 486 "perfetto/trace/ftrace/block.proto", 487 "perfetto/trace/ftrace/cgroup.proto", 488 "perfetto/trace/ftrace/clk.proto", 489 "perfetto/trace/ftrace/compaction.proto", 490 "perfetto/trace/ftrace/ext4.proto", 491 "perfetto/trace/ftrace/f2fs.proto", 492 "perfetto/trace/ftrace/fence.proto", 493 "perfetto/trace/ftrace/filemap.proto", 494 "perfetto/trace/ftrace/ftrace.proto", 495 "perfetto/trace/ftrace/ftrace_event.proto", 496 "perfetto/trace/ftrace/ftrace_event_bundle.proto", 497 "perfetto/trace/ftrace/ftrace_stats.proto", 498 "perfetto/trace/ftrace/generic.proto", 499 "perfetto/trace/ftrace/i2c.proto", 500 "perfetto/trace/ftrace/ipi.proto", 501 "perfetto/trace/ftrace/irq.proto", 502 "perfetto/trace/ftrace/kmem.proto", 503 "perfetto/trace/ftrace/lowmemorykiller.proto", 504 "perfetto/trace/ftrace/mdss.proto", 505 "perfetto/trace/ftrace/mm_event.proto", 506 "perfetto/trace/ftrace/oom.proto", 507 "perfetto/trace/ftrace/power.proto", 508 "perfetto/trace/ftrace/raw_syscalls.proto", 509 "perfetto/trace/ftrace/regulator.proto", 510 "perfetto/trace/ftrace/sched.proto", 511 "perfetto/trace/ftrace/signal.proto", 512 "perfetto/trace/ftrace/sync.proto", 513 "perfetto/trace/ftrace/systrace.proto", 514 "perfetto/trace/ftrace/task.proto", 515 "perfetto/trace/ftrace/test_bundle_wrapper.proto", 516 "perfetto/trace/ftrace/vmscan.proto", 517 "perfetto/trace/ftrace/workqueue.proto", 518 ], 519 ) 520 521 # GN target: //protos/perfetto/trace/ftrace:zero_gen 522 pbzero_cc_proto_library( 523 name = "trace_ftrace_zero_cc_proto", 524 src_proto_library = "//third_party/perfetto/protos:trace_ftrace_zero", 525 deps = [ 526 "//third_party/perfetto:libprotozero", 527 "//third_party/perfetto/google:gtest_prod", 528 ], 529 ) 530 531 # GN target: //protos/perfetto/trace/interned_data:lite_gen 532 proto_library( 533 name = "trace_interned_data", 534 srcs = [ 535 "perfetto/trace/interned_data/interned_data.proto", 536 ], 537 has_services = 1, 538 cc_api_version = 2, 539 cc_generic_services = 1, 540 visibility = [ 541 "//visibility:public", 542 ], 543 deps = [ 544 "//third_party/perfetto/protos:trace_track_event", 545 ], 546 ) 547 548 # GN target: //protos/perfetto/trace/interned_data:lite_gen 549 cc_proto_library( 550 name = "trace_interned_data_cc_proto", 551 visibility = [ 552 "//visibility:public", 553 ], 554 deps = [ 555 "//third_party/perfetto/protos:trace_interned_data", 556 ], 557 ) 558 559 # GN target: //protos/perfetto/trace/interned_data:zero_gen 560 proto_library( 561 name = "trace_interned_data_zero", 562 srcs = [ 563 "perfetto/trace/interned_data/interned_data.proto", 564 ], 565 deps = [ 566 "//third_party/perfetto/protos:trace_track_event_zero", 567 ], 568 ) 569 570 # GN target: //protos/perfetto/trace/interned_data:zero_gen 571 pbzero_cc_proto_library( 572 name = "trace_interned_data_zero_cc_proto", 573 src_proto_library = "//third_party/perfetto/protos:trace_interned_data_zero", 574 deps = [ 575 "//third_party/perfetto:libprotozero", 576 "//third_party/perfetto/google:gtest_prod", 577 ], 578 ) 579 580 # GN target: //protos/perfetto/trace:merged_trace_gen 581 proto_library( 582 name = "trace_merged_trace_gen", 583 srcs = [ 584 "perfetto/trace/perfetto_trace.proto", 585 ], 586 has_services = 1, 587 cc_api_version = 2, 588 cc_generic_services = 1, 589 visibility = [ 590 "//visibility:public", 591 ], 592 ) 593 594 # GN target: //protos/perfetto/trace:merged_trace_gen 595 cc_proto_library( 596 name = "trace_merged_trace_gen_cc_proto", 597 visibility = [ 598 "//visibility:public", 599 ], 600 deps = [ 601 "//third_party/perfetto/protos:trace_merged_trace_gen", 602 ], 603 ) 604 605 # GN target: //protos/perfetto/trace:minimal_lite_gen 606 proto_library( 607 name = "trace_minimal", 608 srcs = [ 609 "perfetto/trace/clock_snapshot.proto", 610 "perfetto/trace/system_info.proto", 611 "perfetto/trace/trigger.proto", 612 ], 613 has_services = 1, 614 cc_api_version = 2, 615 cc_generic_services = 1, 616 visibility = [ 617 "//visibility:public", 618 ], 619 deps = [ 620 "//third_party/perfetto/protos:common", 621 "//third_party/perfetto/protos:config", 622 ], 623 ) 624 625 # GN target: //protos/perfetto/trace:minimal_lite_gen 626 cc_proto_library( 627 name = "trace_minimal_cc_proto", 628 visibility = [ 629 "//visibility:public", 630 ], 631 deps = [ 632 "//third_party/perfetto/protos:trace_minimal", 633 ], 634 ) 635 636 # GN target: //protos/perfetto/trace/power:lite_gen 637 proto_library( 638 name = "trace_power", 639 srcs = [ 640 "perfetto/trace/power/battery_counters.proto", 641 "perfetto/trace/power/power_rails.proto", 642 ], 643 has_services = 1, 644 cc_api_version = 2, 645 cc_generic_services = 1, 646 visibility = [ 647 "//visibility:public", 648 ], 649 ) 650 651 # GN target: //protos/perfetto/trace/power:lite_gen 652 cc_proto_library( 653 name = "trace_power_cc_proto", 654 visibility = [ 655 "//visibility:public", 656 ], 657 deps = [ 658 "//third_party/perfetto/protos:trace_power", 659 ], 660 ) 661 662 # GN target: //protos/perfetto/trace/power:zero_gen 663 proto_library( 664 name = "trace_power_zero", 665 srcs = [ 666 "perfetto/trace/power/battery_counters.proto", 667 "perfetto/trace/power/power_rails.proto", 668 ], 669 ) 670 671 # GN target: //protos/perfetto/trace/power:zero_gen 672 pbzero_cc_proto_library( 673 name = "trace_power_zero_cc_proto", 674 src_proto_library = "//third_party/perfetto/protos:trace_power_zero", 675 deps = [ 676 "//third_party/perfetto:libprotozero", 677 "//third_party/perfetto/google:gtest_prod", 678 ], 679 ) 680 681 # GN target: //protos/perfetto/trace/profiling:lite_gen 682 proto_library( 683 name = "trace_profiling", 684 srcs = [ 685 "perfetto/trace/profiling/profile_packet.proto", 686 ], 687 has_services = 1, 688 cc_api_version = 2, 689 cc_generic_services = 1, 690 visibility = [ 691 "//visibility:public", 692 ], 693 ) 694 695 # GN target: //protos/perfetto/trace/profiling:lite_gen 696 cc_proto_library( 697 name = "trace_profiling_cc_proto", 698 visibility = [ 699 "//visibility:public", 700 ], 701 deps = [ 702 "//third_party/perfetto/protos:trace_profiling", 703 ], 704 ) 705 706 # GN target: //protos/perfetto/trace/profiling:zero_gen 707 proto_library( 708 name = "trace_profiling_zero", 709 srcs = [ 710 "perfetto/trace/profiling/profile_packet.proto", 711 ], 712 ) 713 714 # GN target: //protos/perfetto/trace/profiling:zero_gen 715 pbzero_cc_proto_library( 716 name = "trace_profiling_zero_cc_proto", 717 src_proto_library = "//third_party/perfetto/protos:trace_profiling_zero", 718 deps = [ 719 "//third_party/perfetto:libprotozero", 720 "//third_party/perfetto/google:gtest_prod", 721 ], 722 ) 723 724 # GN target: //protos/perfetto/trace/ps:lite_gen 725 proto_library( 726 name = "trace_ps", 727 srcs = [ 728 "perfetto/trace/ps/process_stats.proto", 729 "perfetto/trace/ps/process_tree.proto", 730 ], 731 has_services = 1, 732 cc_api_version = 2, 733 cc_generic_services = 1, 734 visibility = [ 735 "//visibility:public", 736 ], 737 ) 738 739 # GN target: //protos/perfetto/trace/ps:lite_gen 740 cc_proto_library( 741 name = "trace_ps_cc_proto", 742 visibility = [ 743 "//visibility:public", 744 ], 745 deps = [ 746 "//third_party/perfetto/protos:trace_ps", 747 ], 748 ) 749 750 # GN target: //protos/perfetto/trace/ps:zero_gen 751 proto_library( 752 name = "trace_ps_zero", 753 srcs = [ 754 "perfetto/trace/ps/process_stats.proto", 755 "perfetto/trace/ps/process_tree.proto", 756 ], 757 ) 758 759 # GN target: //protos/perfetto/trace/ps:zero_gen 760 pbzero_cc_proto_library( 761 name = "trace_ps_zero_cc_proto", 762 src_proto_library = "//third_party/perfetto/protos:trace_ps_zero", 763 deps = [ 764 "//third_party/perfetto:libprotozero", 765 "//third_party/perfetto/google:gtest_prod", 766 ], 767 ) 768 769 # GN target: //protos/perfetto/trace/sys_stats:lite_gen 770 proto_library( 771 name = "trace_sys_stats", 772 srcs = [ 773 "perfetto/trace/sys_stats/sys_stats.proto", 774 ], 775 has_services = 1, 776 cc_api_version = 2, 777 cc_generic_services = 1, 778 visibility = [ 779 "//visibility:public", 780 ], 781 deps = [ 782 "//third_party/perfetto/protos:common", 783 ], 784 ) 785 786 # GN target: //protos/perfetto/trace/sys_stats:lite_gen 787 cc_proto_library( 788 name = "trace_sys_stats_cc_proto", 789 visibility = [ 790 "//visibility:public", 791 ], 792 deps = [ 793 "//third_party/perfetto/protos:trace_sys_stats", 794 ], 795 ) 796 797 # GN target: //protos/perfetto/trace/sys_stats:zero_gen 798 proto_library( 799 name = "trace_sys_stats_zero", 800 srcs = [ 801 "perfetto/trace/sys_stats/sys_stats.proto", 802 ], 803 deps = [ 804 "//third_party/perfetto/protos:common_zero", 805 ], 806 ) 807 808 # GN target: //protos/perfetto/trace/sys_stats:zero_gen 809 pbzero_cc_proto_library( 810 name = "trace_sys_stats_zero_cc_proto", 811 src_proto_library = "//third_party/perfetto/protos:trace_sys_stats_zero", 812 deps = [ 813 "//third_party/perfetto:libprotozero", 814 "//third_party/perfetto/google:gtest_prod", 815 ], 816 ) 817 818 # GN target: //protos/perfetto/trace/track_event:lite_gen 819 proto_library( 820 name = "trace_track_event", 821 srcs = [ 822 "perfetto/trace/track_event/debug_annotation.proto", 823 "perfetto/trace/track_event/process_descriptor.proto", 824 "perfetto/trace/track_event/task_execution.proto", 825 "perfetto/trace/track_event/thread_descriptor.proto", 826 "perfetto/trace/track_event/track_event.proto", 827 ], 828 has_services = 1, 829 cc_api_version = 2, 830 cc_generic_services = 1, 831 visibility = [ 832 "//visibility:public", 833 ], 834 ) 835 836 # GN target: //protos/perfetto/trace/track_event:lite_gen 837 cc_proto_library( 838 name = "trace_track_event_cc_proto", 839 visibility = [ 840 "//visibility:public", 841 ], 842 deps = [ 843 "//third_party/perfetto/protos:trace_track_event", 844 ], 845 ) 846 847 # GN target: //protos/perfetto/trace/track_event:zero_gen 848 proto_library( 849 name = "trace_track_event_zero", 850 srcs = [ 851 "perfetto/trace/track_event/debug_annotation.proto", 852 "perfetto/trace/track_event/process_descriptor.proto", 853 "perfetto/trace/track_event/task_execution.proto", 854 "perfetto/trace/track_event/thread_descriptor.proto", 855 "perfetto/trace/track_event/track_event.proto", 856 ], 857 ) 858 859 # GN target: //protos/perfetto/trace/track_event:zero_gen 860 pbzero_cc_proto_library( 861 name = "trace_track_event_zero_cc_proto", 862 src_proto_library = "//third_party/perfetto/protos:trace_track_event_zero", 863 deps = [ 864 "//third_party/perfetto:libprotozero", 865 "//third_party/perfetto/google:gtest_prod", 866 ], 867 ) 868 869 # GN target: //protos/perfetto/trace:zero_gen 870 proto_library( 871 name = "trace_zero", 872 srcs = [ 873 "perfetto/trace/clock_snapshot.proto", 874 "perfetto/trace/system_info.proto", 875 "perfetto/trace/test_event.proto", 876 "perfetto/trace/trace.proto", 877 "perfetto/trace/trace_packet.proto", 878 "perfetto/trace/trigger.proto", 879 ], 880 deps = [ 881 "//third_party/perfetto/protos:common_zero", 882 "//third_party/perfetto/protos:config_zero", 883 "//third_party/perfetto/protos:trace_android_zero", 884 "//third_party/perfetto/protos:trace_chrome_zero", 885 "//third_party/perfetto/protos:trace_filesystem_zero", 886 "//third_party/perfetto/protos:trace_ftrace_zero", 887 "//third_party/perfetto/protos:trace_interned_data_zero", 888 "//third_party/perfetto/protos:trace_power_zero", 889 "//third_party/perfetto/protos:trace_profiling_zero", 890 "//third_party/perfetto/protos:trace_ps_zero", 891 "//third_party/perfetto/protos:trace_sys_stats_zero", 892 "//third_party/perfetto/protos:trace_track_event_zero", 893 ], 894 ) 895 896 # GN target: //protos/perfetto/trace:zero_gen 897 pbzero_cc_proto_library( 898 name = "trace_zero_cc_proto", 899 src_proto_library = "//third_party/perfetto/protos:trace_zero", 900 deps = [ 901 "//third_party/perfetto:libprotozero", 902 "//third_party/perfetto/google:gtest_prod", 903 ], 904 ) 905