File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -8,8 +8,8 @@ find_package(hermes-engine REQUIRED CONFIG)
88
99add_library (weak-node-api INTERFACE )
1010target_include_directories (weak-node-api INTERFACE
11- ../weak-node-api
12- ../weak-node-api/include
11+ ../../ weak-node-api/ generated
12+ ../../ weak-node-api/include
1313)
1414
1515add_library (node-api-host SHARED
Original file line number Diff line number Diff line change @@ -61,8 +61,11 @@ android {
6161 sourceSets {
6262 main {
6363 manifest. srcFile " src/main/AndroidManifestNew.xml"
64- // Include the weak-node-api to enable a dynamic load
65- jniLibs. srcDirs + = [" ../weak-node-api/weak-node-api.android.node" ]
64+ // Include the weak-node-api native libraries directly
65+ jniLibs. srcDirs + = [
66+ " ../../weak-node-api/build/Debug/weak-node-api.android.node" ,
67+ " ../../weak-node-api/build/Release/weak-node-api.android.node"
68+ ]
6669 }
6770 }
6871 }
You can’t perform that action at this time.
0 commit comments