xref: /aosp_15_r20/external/cronet/base/test/clang_profiling_android.cc (revision 6777b5387eb2ff775bb5750e3f5d96f37fb7352b)
1 // Copyright 2023 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 #include "base/android/jni_android.h"
6 #include "base/base_jni/ClangProfiler_jni.h"
7 #include "base/test/clang_profiling.h"
8 
9 // Used in java tests when clang profiling is enabled.
10 namespace base {
11 
JNI_ClangProfiler_WriteClangProfilingProfile(JNIEnv * env)12 static void JNI_ClangProfiler_WriteClangProfilingProfile(JNIEnv* env) {
13   WriteClangProfilingProfile();
14 }
15 
16 }  // namespace base
17