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 flags to infer the architecture and operating system in use. 14 "+build/build_config.h", 15 "+build/buildflag.h", 16] 17 18specific_include_rules = { 19 ".*_(perf|unit)test\.cc$": [ 20 "+base/allocator/allocator_shim_default_dispatch_to_partition_alloc.h", 21 "+base/allocator/dispatcher/dispatcher.h", 22 "+base/debug/allocation_trace.h", 23 "+base/debug/debugging_buildflags.h", 24 "+base/debug/proc_maps_linux.h", 25 "+base/system/sys_info.h", 26 "+base/test/gtest_util.h", 27 "+base/timer/lap_timer.h", 28 "+base/win/windows_version.h", 29 "+testing/gmock/include/gmock/gmock.h", 30 "+testing/gtest/include/gtest/gtest.h", 31 "+testing/perf/perf_result_reporter.h", 32 ], 33 "extended_api\.cc$": [ 34 "+base/allocator/allocator_shim_default_dispatch_to_partition_alloc.h", 35 ], 36 "raw_(ptr|ref)_unittest\.cc$": [ 37 "+base", 38 "+third_party/abseil-cpp/absl/types/optional.h", 39 "+third_party/abseil-cpp/absl/types/variant.h", 40 ], 41 "raw_ptr_test_support\.h$": [ 42 "+testing/gmock/include/gmock/gmock.h", 43 "+third_party/abseil-cpp/absl/types/optional.h", 44 ] 45} 46 47# In the context of a module-level DEPS, the `deps` variable must be defined. 48# Some tools relies on it. For instance dawn/tools/fetch_dawn_dependencies.py 49# This has no use in other contexts. 50deps = {} 51