include_rules = [
  "+base/containers/heap_array.h",
  "+base/notimplemented.h",
  "+base/types/fixed_array.h",
  "+components/viz/common/resources/shared_image_format.h",
  "+gpu/command_buffer/client/client_shared_image.h",
  "+gpu/command_buffer/client/shared_image_interface.h",
  "+gpu/command_buffer/common/capabilities.h",
  "+gpu/command_buffer/common/sync_token.h",
  "+services/webnn/public/cpp",
  "+services/webnn/public/mojom",
]

specific_include_rules = {
  # Additional allowed list of include for ml trace unit test,
  # we need them for parsing the trace.
  "ml_trace_unittest.cc" : [
    "+base/json/json_reader.h",
    "+base/memory/ref_counted_memory.h",
    "+base/strings/stringprintf.h",
  ],
  # Additional allowed list of include for ml graph dump,
  # we need them for dumping the graph.
  "ml_graph_dump\\.h" : [
    "+base/values.h",
  ],
  "ml_graph_dump\\.cc" : [
    "+fp16/fp16.h",
    "+base/json/json_writer.h",
  ],
  "ml_graph_test\\.cc" : [
    "+base/values.h",
  ],
  "webnn_introspection_impl\\.h" : [
    "+base/no_destructor.h",
  ],
  # Required to check if SyncPointGraphValidation is enabled.
  "ml_tensor\\.cc" : [
    "+gpu/config/gpu_finch_features.h"
  ]
}