| include_rules = [ |
| "+base/trace_event/common/trace_event_common.h", |
| "+src", |
| "-src/asmjs", |
| "+src/asmjs/asm-js.h", |
| "-src/compiler", |
| "+src/compiler/pipeline.h", |
| "+src/compiler/code-assembler.h", |
| "+src/compiler/wasm-compiler.h", |
| "-src/heap", |
| "+src/heap/combined-heap.h", |
| "+src/heap/embedder-tracing.h", |
| "+src/heap/factory.h", |
| "+src/heap/factory-inl.h", |
| # TODO(v8:10496): Don't expose so much (through transitive includes) outside |
| # of heap/. |
| "+src/heap/heap.h", |
| "+src/heap/heap-inl.h", |
| "+src/heap/heap-write-barrier-inl.h", |
| "+src/heap/heap-write-barrier.h", |
| "+src/heap/local-factory-inl.h", |
| "+src/heap/local-factory.h", |
| "+src/heap/local-heap.h", |
| "+src/heap/local-heap-inl.h", |
| # TODO(v8:10496): Don't expose memory chunk outside of heap/. |
| "+src/heap/memory-chunk.h", |
| "+src/heap/memory-chunk-inl.h", |
| "+src/heap/read-only-heap-inl.h", |
| "+src/heap/read-only-heap.h", |
| "+src/heap/safepoint.h", |
| "+src/heap/base/stack.h", |
| "+src/heap/conservative-stack-visitor.h", |
| "-src/inspector", |
| "-src/interpreter", |
| "+src/interpreter/bytecode-array-accessor.h", |
| "+src/interpreter/bytecode-array-iterator.h", |
| "+src/interpreter/bytecode-array-random-iterator.h", |
| "+src/interpreter/bytecode-decoder.h", |
| "+src/interpreter/bytecode-flags.h", |
| "+src/interpreter/bytecode-register.h", |
| "+src/interpreter/bytecodes.h", |
| "+src/interpreter/interpreter.h", |
| "+src/interpreter/interpreter-generator.h", |
| "+src/interpreter/setup-interpreter.h", |
| "-src/regexp", |
| "+src/regexp/regexp.h", |
| "+src/regexp/regexp-stack.h", |
| "+src/regexp/regexp-utils.h", |
| "-src/trap-handler", |
| "+src/trap-handler/handler-inside-posix.h", |
| "+src/trap-handler/handler-inside-win.h", |
| "+src/trap-handler/trap-handler.h", |
| "+testing/gtest/include/gtest/gtest_prod.h", |
| "-src/libplatform", |
| "-include/libplatform", |
| "+builtins-generated", |
| "+torque-generated", |
| "+starboard", |
| ] |
| |
| specific_include_rules = { |
| "d8\.cc": [ |
| "+include/libplatform/libplatform.h", |
| "+include/libplatform/v8-tracing.h", |
| "+perfetto/tracing.h" |
| ], |
| "builtins-trace\.cc": [ |
| "+protos/perfetto", |
| ], |
| } |