File tree 4 files changed +4
-5
lines changed
Sources/MozillaRustComponentsWrapper/Viaduct
4 files changed +4
-5
lines changed File renamed without changes.
Original file line number Diff line number Diff line change @@ -149,7 +149,7 @@ UNIFFI_BINDGEN_LIBRARY="$TARGET_DIR/aarch64-apple-ios/$BUILD_PROFILE/$LIB_NAME"
149
149
150
150
# First move the non-generated headers (these are all common between both firefox-ios and Focus)
151
151
cp " $WORKING_DIR /$FRAMEWORK_NAME .h" " $COMMON /Headers"
152
- cp " $REPO_ROOT /components/viaduct/ios /RustViaductFFI.h" " $COMMON /Headers"
152
+ cp " $THIS_DIR /Sources/MozillaRustComponentsWrapper/Viaduct /RustViaductFFI.h" " $COMMON /Headers"
153
153
154
154
# Next, generate files with uniffi-bindgen (forward --generate-swift-sources if present)
155
155
# You generally want to generate the swift sources if you want to see/test the generated uniffi code
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ if [[ "$BUILD_SOURCES" == true ]]; then
54
54
fi
55
55
56
56
# Hack to copy in the RustViaductFFI.h (https://bugzilla.mozilla.org/show_bug.cgi?id=1925601)
57
- cp " $THIS_DIR /../../components/viaduct/ios /RustViaductFFI.h" " $COMMON /Headers"
57
+ cp " $THIS_DIR /Sources/MozillaRustComponentsWrapper/Viaduct /RustViaductFFI.h" " $COMMON /Headers"
58
58
echo " original modulemap"
59
59
cat " $COMMON /Modules/module.modulemap"
60
60
TWEAKED_MODULEMAP=$( cat <( head -n1 " $COMMON /Modules/module.modulemap" ) <( echo " header \" RustViaductFFI.h\" " ) <( tail -n +2 " $COMMON /Modules/module.modulemap" ) )
Original file line number Diff line number Diff line change 24
24
WRAPPER_DIR / "Viaduct" ,
25
25
]
26
26
27
- # List of udl_paths to generate bindings for
28
27
FOCUS_SOURCE_TO_COPY = [
29
- "components/nimbus/ios/ Nimbus" ,
30
- "components/viaduct/ios/* " ,
28
+ WRAPPER_DIR / " Nimbus" ,
29
+ WRAPPER_DIR / "Viaduct " ,
31
30
]
32
31
33
32
You can’t perform that action at this time.
0 commit comments