Index: src/trap-handler/DEPS |
diff --git a/src/trap-handler/DEPS b/src/trap-handler/DEPS |
new file mode 100644 |
index 0000000000000000000000000000000000000000..681cbd8825f809612e701cbf923f4e53ca173e83 |
--- /dev/null |
+++ b/src/trap-handler/DEPS |
@@ -0,0 +1,17 @@ |
+# In order to make it easier to audit the signal handler code, we use very |
+# restrictive include rules to limit the amount of code that the signal handler |
+# can depend on. |
+ |
+include_rules = [ |
+ "-src", |
+ "-include", |
+ "+src/trap-handler", |
+] |
+ |
+specific_include_rules = { |
+ "trap-handler.h": [ |
+ "+src/base/build_config.h", |
+ "+src/globals.h", |
+ "+src/flags.h", |
+ ] |
+} |