Skip to content

Commit

Permalink
Merge pull request #58 from mozilla/tabs-in-ios
Browse files Browse the repository at this point in the history
Add tabs generation logic for the tabs iOS integration
  • Loading branch information
lougeniaC64 authored May 25, 2022
2 parents 3765420 + ab0af74 commit a258e46
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions generate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ cp -r "$APP_SERVICES_DIR/components/logins/ios/Logins" "$OUT_DIR"
# Autofill
#
###
## Not of our consumers currently use autofill, and the swift code has a name conflict with
## None of our consumers currently use autofill, and the swift code has a name conflict with
## another component, so for now, commented out.

# "${UNIFFI_BINDGEN[@]}" generate -l swift -o "$OUT_DIR/Generated" "$APP_SERVICES_DIR/components/autofill/src/autofill.udl"
Expand All @@ -98,10 +98,11 @@ cp -r "$APP_SERVICES_DIR/components/logins/ios/Logins" "$OUT_DIR"
# Tabs
#
###
## Not of our consumers currently use tabs, and the swift code has a name conflict with
## another component, so for now, commented out.

# "${UNIFFI_BINDGEN[@]}" generate -l swift -o "$OUT_DIR/Generated" "$APP_SERVICES_DIR/components/tabs/src/tabs.udl"
"${UNIFFI_BINDGEN[@]}" generate -l swift -o "$OUT_DIR/Generated" "$APP_SERVICES_DIR/components/tabs/src/tabs.udl"

# Copy the hand-written Swift, since it all needs to be together in one directory.
cp -r "$APP_SERVICES_DIR/components/tabs/ios/Tabs" "$OUT_DIR"

###
#
Expand Down

0 comments on commit a258e46

Please sign in to comment.