xref: /aosp_15_r20/external/cronet/third_party/jni_zero/jni_export.h (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 #ifndef JNI_ZERO_JNI_EXPORT_H_
6 #define JNI_ZERO_JNI_EXPORT_H_
7 
8 #if defined(COMPONENT_BUILD)
9 #define JNI_ZERO_COMPONENT_BUILD_EXPORT __attribute__((visibility("default")))
10 #else
11 #define JNI_ZERO_COMPONENT_BUILD_EXPORT
12 #endif
13 
14 #endif  // JNI_ZERO_JNI_EXPORT_H_
15