Win port: Introduce //base/ctrl_c_handler.h
A simple wrapper to abstract signal handling
and provide a Windows alternative.
Bug: 174454879
Change-Id: I0af165dd262ba8830ad9852a2840eac810167e85
diff --git a/BUILD b/BUILD
index 8d3c5ea..d91e53f 100644
--- a/BUILD
+++ b/BUILD
@@ -291,6 +291,7 @@
srcs = [
"include/perfetto/ext/base/circular_queue.h",
"include/perfetto/ext/base/container_annotations.h",
+ "include/perfetto/ext/base/ctrl_c_handler.h",
"include/perfetto/ext/base/endian.h",
"include/perfetto/ext/base/event_fd.h",
"include/perfetto/ext/base/file_utils.h",
@@ -574,6 +575,7 @@
perfetto_cc_library(
name = "src_base_base",
srcs = [
+ "src/base/ctrl_c_handler.cc",
"src/base/event_fd.cc",
"src/base/file_utils.cc",
"src/base/logging.cc",