DEPS 582 Bytes
Newer Older
eholk's avatar
eholk committed
1 2 3 4 5 6 7 8 9 10 11 12 13
# 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",
14 15
    "+src/common/globals.h",
    "+src/flags/flags.h",
16
  ],
17 18 19 20
  "handler-inside-posix.h": [
    # To access V8_OS_LINUX. This file is already included in build_config.h.
    "+include/v8config.h",
  ],
21 22
  "handler-inside-win.h": [
    "+src/base/macros.h",
eholk's avatar
eholk committed
23 24
  ]
}