Skip to content

Commit 5fb6163

Browse files
authored
chore: Rename RNS_ to RNSVG_ prefixes (#2714)
# Summary Rename `RNS_` to `RNSVG_` prefixes
1 parent 843c3bd commit 5fb6163

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

android/src/main/jni/CMakeLists.txt

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
cmake_minimum_required(VERSION 3.13)
22
set(CMAKE_VERBOSE_MAKEFILE ON)
33

4-
set(RNS_ANDROID_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../../..)
5-
set(RNS_COMMON_DIR ${RNS_ANDROID_DIR}/../common/cpp)
6-
set(RNS_GENERATED_DIR ${RNS_ANDROID_DIR}/build/generated)
7-
set(RNS_GENERATED_JNI_DIR ${RNS_GENERATED_DIR}/source/codegen/jni)
8-
set(RNS_GENERATED_REACT_DIR ${RNS_GENERATED_JNI_DIR}/react/renderer/components/rnsvg)
4+
set(RNSVG_ANDROID_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../../..)
5+
set(RNSVG_COMMON_DIR ${RNSVG_ANDROID_DIR}/../common/cpp)
6+
set(RNSVG_GENERATED_DIR ${RNSVG_ANDROID_DIR}/build/generated)
7+
set(RNSVG_GENERATED_JNI_DIR ${RNSVG_GENERATED_DIR}/source/codegen/jni)
8+
set(RNSVG_GENERATED_REACT_DIR ${RNSVG_GENERATED_JNI_DIR}/react/renderer/components/rnsvg)
99

10-
file(GLOB rnsvg_SRCS CONFIGURE_DEPENDS *.cpp ${RNS_COMMON_DIR}/react/renderer/components/rnsvg/*.cpp)
11-
file(GLOB rnsvg_codegen_SRCS CONFIGURE_DEPENDS ${RNS_GENERATED_REACT_DIR}/*cpp)
10+
file(GLOB rnsvg_SRCS CONFIGURE_DEPENDS *.cpp ${RNSVG_COMMON_DIR}/react/renderer/components/rnsvg/*.cpp)
11+
file(GLOB rnsvg_codegen_SRCS CONFIGURE_DEPENDS ${RNSVG_GENERATED_REACT_DIR}/*cpp)
1212

1313
add_library(
1414
react_codegen_rnsvg
@@ -21,9 +21,9 @@ target_include_directories(
2121
react_codegen_rnsvg
2222
PUBLIC
2323
.
24-
${RNS_COMMON_DIR}
25-
${RNS_GENERATED_JNI_DIR}
26-
${RNS_GENERATED_REACT_DIR}
24+
${RNSVG_COMMON_DIR}
25+
${RNSVG_GENERATED_JNI_DIR}
26+
${RNSVG_GENERATED_REACT_DIR}
2727
)
2828

2929
find_package(ReactAndroid REQUIRED CONFIG)

0 commit comments

Comments
 (0)