• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# In order to make it easier to audit the signal handler code, we use very
2# restrictive include rules to limit the amount of code that the signal handler
3# can depend on.
4
5include_rules = [
6  "-src",
7  "-include",
8  "+src/trap-handler",
9]
10
11specific_include_rules = {
12  "trap-handler.h": [
13    "+src/base/build_config.h",
14    "+src/common/globals.h",
15    "+src/flags/flags.h",
16  ],
17  "handler-inside-posix.h": [
18    # To access V8_OS_LINUX. This file is already included in build_config.h.
19    "+include/v8config.h",
20  ],
21  "handler-inside-win.h": [
22    "+src/base/macros.h",
23  ]
24}
25