1*3ac0a46fSAndroid Build Coastguard Worker // Copyright 2023 The PDFium Authors 2*3ac0a46fSAndroid Build Coastguard Worker // Use of this source code is governed by a BSD-style license that can be 3*3ac0a46fSAndroid Build Coastguard Worker // found in the LICENSE file. 4*3ac0a46fSAndroid Build Coastguard Worker 5*3ac0a46fSAndroid Build Coastguard Worker #ifndef TESTING_ALLOCATOR_SHIM_CONFIG_H_ 6*3ac0a46fSAndroid Build Coastguard Worker #define TESTING_ALLOCATOR_SHIM_CONFIG_H_ 7*3ac0a46fSAndroid Build Coastguard Worker 8*3ac0a46fSAndroid Build Coastguard Worker #if !defined(PDF_USE_PARTITION_ALLOC) 9*3ac0a46fSAndroid Build Coastguard Worker #error "Included under the wrong build options" 10*3ac0a46fSAndroid Build Coastguard Worker #endif 11*3ac0a46fSAndroid Build Coastguard Worker 12*3ac0a46fSAndroid Build Coastguard Worker namespace pdfium { 13*3ac0a46fSAndroid Build Coastguard Worker 14*3ac0a46fSAndroid Build Coastguard Worker void ConfigurePartitionAllocShimPartitionForTest(); 15*3ac0a46fSAndroid Build Coastguard Worker 16*3ac0a46fSAndroid Build Coastguard Worker } // namespace pdfium 17*3ac0a46fSAndroid Build Coastguard Worker 18*3ac0a46fSAndroid Build Coastguard Worker #endif // TESTING_ALLOCATOR_SHIM_CONFIG_H_ 19