diff --git a/packages/react-native/ReactAndroid/src/main/java/com/facebook/soloader/annotation/SoLoaderLibrary.kt b/packages/react-native/ReactAndroid/src/main/java/com/facebook/soloader/annotation/SoLoaderLibrary.kt new file mode 100644 index 00000000000..d1278aeea1c --- /dev/null +++ b/packages/react-native/ReactAndroid/src/main/java/com/facebook/soloader/annotation/SoLoaderLibrary.kt @@ -0,0 +1,17 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + +package com.facebook.soloader.annotation + +/** + * Stub annotation for open-source Gradle builds. The real implementation lives in + * fbandroid/java/com/facebook/soloader/annotation/ and is used by the internal Buck build for + * compile-time validation of native library merging. + */ +@Retention(AnnotationRetention.SOURCE) +@Target(AnnotationTarget.CLASS) +internal annotation class SoLoaderLibrary(vararg val value: String)