1# Copyright 2021 The Chromium Authors 2# Use of this source code is governed by a BSD-style license that can be 3# found in the LICENSE file. 4 5# PartitionAlloc library must not depend on Chromium 6# project in order to be a standalone library. 7noparent = True 8 9include_rules = [ 10 # `partition_alloc` can depends on itself, via the `include_dirs` it declares. 11 "+partition_alloc", 12 13 # Build config to infer the architecture and operating system in use. 14 "+build/build_config.h", 15] 16 17specific_include_rules = { 18 ".*_(perf|unit)test\.cc$": [ 19 "+base/allocator/allocator_shim_default_dispatch_to_partition_alloc.h", 20 "+base/allocator/dispatcher/dispatcher.h", 21 "+base/debug/allocation_trace.h", 22 "+base/debug/debugging_buildflags.h", 23 "+base/debug/proc_maps_linux.h", 24 "+base/system/sys_info.h", 25 "+base/test/gtest_util.h", 26 "+base/timer/lap_timer.h", 27 "+base/win/windows_version.h", 28 "+testing/gmock/include/gmock/gmock.h", 29 "+testing/gtest/include/gtest/gtest.h", 30 "+testing/perf/perf_result_reporter.h", 31 ], 32 "extended_api\.cc$": [ 33 "+base/allocator/allocator_shim_default_dispatch_to_partition_alloc.h", 34 ], 35 "raw_(ptr|ref)_unittest\.cc$": [ 36 "+base", 37 "+third_party/abseil-cpp/absl/types/optional.h", 38 "+third_party/abseil-cpp/absl/types/variant.h", 39 ], 40 "raw_ptr_test_support\.h$": [ 41 "+testing/gmock/include/gmock/gmock.h", 42 "+third_party/abseil-cpp/absl/types/optional.h", 43 ] 44} 45 46# In the context of a module-level DEPS, the `deps` variable must be defined. 47# Some tools relies on it. For instance dawn/tools/fetch_dawn_dependencies.py 48# This has no use in other contexts. 49deps = {} 50