11cb0ef41Sopenharmony_ciinclude_rules = [
21cb0ef41Sopenharmony_ci  "+base/trace_event/common/trace_event_common.h",
31cb0ef41Sopenharmony_ci  "+src",
41cb0ef41Sopenharmony_ci  "-src/asmjs",
51cb0ef41Sopenharmony_ci  "+src/asmjs/asm-js.h",
61cb0ef41Sopenharmony_ci  "-src/baseline",
71cb0ef41Sopenharmony_ci  "+src/baseline/baseline.h",
81cb0ef41Sopenharmony_ci  "+src/baseline/baseline-batch-compiler.h",
91cb0ef41Sopenharmony_ci  "+src/baseline/bytecode-offset-iterator.h",
101cb0ef41Sopenharmony_ci  "-src/bigint",
111cb0ef41Sopenharmony_ci  "+src/bigint/bigint.h",
121cb0ef41Sopenharmony_ci  "-src/compiler",
131cb0ef41Sopenharmony_ci  "+src/compiler/pipeline.h",
141cb0ef41Sopenharmony_ci  "+src/compiler/code-assembler.h",
151cb0ef41Sopenharmony_ci  "+src/compiler/wasm-compiler.h",
161cb0ef41Sopenharmony_ci  "-src/heap",
171cb0ef41Sopenharmony_ci  "+src/heap/basic-memory-chunk.h",
181cb0ef41Sopenharmony_ci  "+src/heap/code-range.h",
191cb0ef41Sopenharmony_ci  "+src/heap/combined-heap.h",
201cb0ef41Sopenharmony_ci  "+src/heap/embedder-tracing.h",
211cb0ef41Sopenharmony_ci  "+src/heap/factory.h",
221cb0ef41Sopenharmony_ci  "+src/heap/factory-inl.h",
231cb0ef41Sopenharmony_ci  # TODO(v8:10496): Don't expose so much (through transitive includes) outside
241cb0ef41Sopenharmony_ci  # of heap/.
251cb0ef41Sopenharmony_ci  "+src/heap/heap.h",
261cb0ef41Sopenharmony_ci  "+src/heap/heap-inl.h",
271cb0ef41Sopenharmony_ci  "+src/heap/heap-write-barrier-inl.h",
281cb0ef41Sopenharmony_ci  "+src/heap/heap-write-barrier.h",
291cb0ef41Sopenharmony_ci  "+src/heap/local-factory-inl.h",
301cb0ef41Sopenharmony_ci  "+src/heap/local-factory.h",
311cb0ef41Sopenharmony_ci  "+src/heap/local-heap.h",
321cb0ef41Sopenharmony_ci  "+src/heap/local-heap-inl.h",
331cb0ef41Sopenharmony_ci  # TODO(v8:10496): Don't expose memory chunk outside of heap/.
341cb0ef41Sopenharmony_ci  "+src/heap/memory-chunk.h",
351cb0ef41Sopenharmony_ci  "+src/heap/memory-chunk-inl.h",
361cb0ef41Sopenharmony_ci  "+src/heap/parked-scope.h",
371cb0ef41Sopenharmony_ci  "+src/heap/read-only-heap-inl.h",
381cb0ef41Sopenharmony_ci  "+src/heap/read-only-heap.h",
391cb0ef41Sopenharmony_ci  "+src/heap/reference-summarizer.h",
401cb0ef41Sopenharmony_ci  "+src/heap/safepoint.h",
411cb0ef41Sopenharmony_ci  "+src/heap/base/stack.h",
421cb0ef41Sopenharmony_ci  "+src/heap/conservative-stack-visitor.h",
431cb0ef41Sopenharmony_ci  "-src/inspector",
441cb0ef41Sopenharmony_ci  "-src/interpreter",
451cb0ef41Sopenharmony_ci  "+src/interpreter/bytecode-array-iterator.h",
461cb0ef41Sopenharmony_ci  "+src/interpreter/bytecode-array-random-iterator.h",
471cb0ef41Sopenharmony_ci  "+src/interpreter/bytecode-decoder.h",
481cb0ef41Sopenharmony_ci  "+src/interpreter/bytecode-flags.h",
491cb0ef41Sopenharmony_ci  "+src/interpreter/bytecode-register.h",
501cb0ef41Sopenharmony_ci  "+src/interpreter/bytecodes.h",
511cb0ef41Sopenharmony_ci  "+src/interpreter/interpreter.h",
521cb0ef41Sopenharmony_ci  "+src/interpreter/interpreter-generator.h",
531cb0ef41Sopenharmony_ci  "+src/interpreter/setup-interpreter.h",
541cb0ef41Sopenharmony_ci  "-src/maglev",
551cb0ef41Sopenharmony_ci  "+src/maglev/maglev.h",
561cb0ef41Sopenharmony_ci  "+src/maglev/maglev-concurrent-dispatcher.h",
571cb0ef41Sopenharmony_ci  "-src/regexp",
581cb0ef41Sopenharmony_ci  "+src/regexp/regexp.h",
591cb0ef41Sopenharmony_ci  "+src/regexp/regexp-flags.h",
601cb0ef41Sopenharmony_ci  "+src/regexp/regexp-stack.h",
611cb0ef41Sopenharmony_ci  "+src/regexp/regexp-utils.h",
621cb0ef41Sopenharmony_ci  "-src/trap-handler",
631cb0ef41Sopenharmony_ci  "+src/trap-handler/handler-inside-posix.h",
641cb0ef41Sopenharmony_ci  "+src/trap-handler/handler-inside-win.h",
651cb0ef41Sopenharmony_ci  "+src/trap-handler/trap-handler.h",
661cb0ef41Sopenharmony_ci  "+src/trap-handler/trap-handler-simulator.h",
671cb0ef41Sopenharmony_ci  "+testing/gtest/include/gtest/gtest_prod.h",
681cb0ef41Sopenharmony_ci  "-src/libplatform",
691cb0ef41Sopenharmony_ci  "-include/libplatform",
701cb0ef41Sopenharmony_ci  "+builtins-generated",
711cb0ef41Sopenharmony_ci  "+torque-generated",
721cb0ef41Sopenharmony_ci  "+starboard",
731cb0ef41Sopenharmony_ci  # Using cppgc inside v8 is not (yet) allowed.
741cb0ef41Sopenharmony_ci  "-include/cppgc",
751cb0ef41Sopenharmony_ci  "+include/cppgc/platform.h",
761cb0ef41Sopenharmony_ci  "+include/cppgc/source-location.h",
771cb0ef41Sopenharmony_ci]
781cb0ef41Sopenharmony_ci
791cb0ef41Sopenharmony_cispecific_include_rules = {
801cb0ef41Sopenharmony_ci  "d8\.cc": [
811cb0ef41Sopenharmony_ci    "+include/libplatform/libplatform.h",
821cb0ef41Sopenharmony_ci    "+include/libplatform/v8-tracing.h",
831cb0ef41Sopenharmony_ci    "+perfetto/tracing.h"
841cb0ef41Sopenharmony_ci  ],
851cb0ef41Sopenharmony_ci  "d8-platforms\.cc": [
861cb0ef41Sopenharmony_ci    "+include/libplatform/libplatform.h",
871cb0ef41Sopenharmony_ci  ],
881cb0ef41Sopenharmony_ci  "builtins-trace\.cc": [
891cb0ef41Sopenharmony_ci    "+protos/perfetto",
901cb0ef41Sopenharmony_ci  ],
911cb0ef41Sopenharmony_ci  "system-jit-win\.cc": [
921cb0ef41Sopenharmony_ci    "+src/libplatform/tracing/recorder.h",
931cb0ef41Sopenharmony_ci  ],
941cb0ef41Sopenharmony_ci}
95