# Copyright 2022 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

# This file is meant to be temporary during we migrate allocator_shim code
# into partition_allocator/. This file will be removed away once the
# migration gets done.

include_rules = [
    "+base/allocator/buildflags.h",
    "+base/allocator/early_zone_registration_mac.h",
    "+base/allocator/partition_alloc_features.h",
    "+base/allocator/partition_allocator/partition_alloc_base",
    "+base/base_export.h",
    "+base/bind.h",
    "+base/logging.h",
    "+base/mac/mach_logging.h",
    "+base/memory/nonscannable_memory.h",
    "+base/memory/page_size.h",
    "+base/process/memory.h",
    "+base/synchronization/lock.h",
    "+base/threading/platform_thread.h",
    "+base/threading/sequenced_task_runner_handle.h",
    "+base/time/time.h",
    "+base/types/strong_alias.h",
    "+build/chromecast_buildflags.h",
    "+third_party/apple_apsl/CFBase.h",
    "+third_party/apple_apsl/malloc.h",
]

specific_include_rules = {
  "allocator_shim_unittest\.cc$": [
    "+base/synchronization/waitable_event.h",
    "+base/threading/thread_local.h",
  ],
  "allocator_interception_mac_unittest\.mm$": [
    "+testing/gtest/include/gtest/gtest.h",
  ],
}
