1*6777b538SAndroid Build Coastguard Worker // Copyright 2023 The Chromium Authors 2*6777b538SAndroid Build Coastguard Worker // Use of this source code is governed by a BSD-style license that can be 3*6777b538SAndroid Build Coastguard Worker // found in the LICENSE file. 4*6777b538SAndroid Build Coastguard Worker 5*6777b538SAndroid Build Coastguard Worker #include "base/android/jni_android.h" 6*6777b538SAndroid Build Coastguard Worker #include "base/base_jni/ClangProfiler_jni.h" 7*6777b538SAndroid Build Coastguard Worker #include "base/test/clang_profiling.h" 8*6777b538SAndroid Build Coastguard Worker 9*6777b538SAndroid Build Coastguard Worker // Used in java tests when clang profiling is enabled. 10*6777b538SAndroid Build Coastguard Worker namespace base { 11*6777b538SAndroid Build Coastguard Worker JNI_ClangProfiler_WriteClangProfilingProfile(JNIEnv * env)12*6777b538SAndroid Build Coastguard Workerstatic void JNI_ClangProfiler_WriteClangProfilingProfile(JNIEnv* env) { 13*6777b538SAndroid Build Coastguard Worker WriteClangProfilingProfile(); 14*6777b538SAndroid Build Coastguard Worker } 15*6777b538SAndroid Build Coastguard Worker 16*6777b538SAndroid Build Coastguard Worker } // namespace base 17