Skip to content

Commit 290b9ab

Browse files
mdvaccazoontek
authored andcommitted
Add SoLoaderLibrary annotation stub for Gradle builds (facebook#55859)
Summary: Pull Request resolved: facebook#55859 changelog: [internal] internal Reviewed By: fkgozali Differential Revision: D94950035 fbshipit-source-id: 2b40364646ea2656dc073bb7bc79d3165e953ee4
1 parent 9bc3694 commit 290b9ab

File tree

1 file changed

+17
-0
lines changed
  • packages/react-native/ReactAndroid/src/main/java/com/facebook/soloader/annotation

1 file changed

+17
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
/*
2+
* Copyright (c) Meta Platforms, Inc. and affiliates.
3+
*
4+
* This source code is licensed under the MIT license found in the
5+
* LICENSE file in the root directory of this source tree.
6+
*/
7+
8+
package com.facebook.soloader.annotation
9+
10+
/**
11+
* Stub annotation for open-source Gradle builds. The real implementation lives in
12+
* fbandroid/java/com/facebook/soloader/annotation/ and is used by the internal Buck build for
13+
* compile-time validation of native library merging.
14+
*/
15+
@Retention(AnnotationRetention.SOURCE)
16+
@Target(AnnotationTarget.CLASS)
17+
internal annotation class SoLoaderLibrary(vararg val value: String)

0 commit comments

Comments
 (0)