Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android cli #103

Merged
merged 9 commits into from
Mar 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ jobs:
- name: Prepare CI for Core and FFI
run: ./scripts/prepare_ci.sh
- name: Build for Android
run: ./scripts/build_android.sh config-android-ci.toml
run: ./scripts/build_android.sh config-ci.toml
- name: Run core tests
run: cd mopro-core && cargo test -- --nocapture
- name: Run FFI tests
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,9 @@ By creating a `toml` configuration file you can specify what build settings you

[build]
# For iOS device_type can be x86_64, simulator, device
# For Android device_type can be x86_64, arm, arm64
device_type = "simulator" # Options: x86_64, simulator, device, arm, arm64
ios_device_type = "simulator" # Options: x86_64, simulator, device
# For Android device_type can be x86_64, x86, arm, arm64
android_device_type = "arm64" # Options: x86_64, x86, arm, arm64

# debug is for Rust library to be in debug mode and release for release mode
# We recommend release mode by default for performance
Expand Down
5 changes: 3 additions & 2 deletions anon-aadhaar-config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@

[build]
# For iOS device_type can be x86_64, simulator, device
# For Android device_type can be x86_64, arm, arm64
device_type = "x86_64" # Options: x86_64, simulator, device, arm, arm64
ios_device_type = "x86_64" # Options: x86_64, simulator, device
# For Android device_type can be x86_64, x86, arm, arm64
android_device_type = "x86_64" # Options: x86_64, x86, arm, arm64

# debug is for Rust library to be in debug mode and release for release mode
# We recommend release mode by default for performance
Expand Down
22 changes: 0 additions & 22 deletions config-android-ci.toml

This file was deleted.

5 changes: 3 additions & 2 deletions config-ci.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@

[build]
# For iOS device_type can be x86_64, simulator, device
# For Android device_type can be x86_64, arm, arm64
device_type = "x86_64" # Options: x86_64, simulator, device, arm, arm64
ios_device_type = "x86_64" # Options: x86_64, simulator, device
# For Android device_type can be x86_64, x86, arm, arm64
android_device_type = "x86_64" # Options: x86_64, x86, arm, arm64

# debug is for Rust library to be in debug mode and release for release mode
# We recommend release mode by default for performance
Expand Down
5 changes: 3 additions & 2 deletions config-complex.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@

[build]
# For iOS device_type can be x86_64, simulator, device
# For Android device_type can be x86_64, arm, arm64
device_type = "device" # Options: x86_64, simulator, device, arm, arm64
ios_device_type = "device" # Options: x86_64, simulator, device
# For Android device_type can be x86_64, x86, arm, arm64
android_device_type = "arm64"# Options: x86_64, x86, arm, arm64

# debug is for Rust library to be in debug mode and release for release mode
# We recommend release mode by default for performance
Expand Down
22 changes: 0 additions & 22 deletions config-example-android.toml

This file was deleted.

5 changes: 3 additions & 2 deletions config-example.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@

[build]
# For iOS device_type can be x86_64, simulator, device
# For Android device_type can be x86_64, arm, arm64
device_type = "simulator" # Options: x86_64, simulator, device, arm, arm64
ios_device_type = "simulator" # Options: x86_64, simulator, device
# For Android device_type can be x86_64, x86, arm, arm64
android_device_type = "arm64" # Options: x86_64, x86, arm, arm64

# debug is for Rust library to be in debug mode and release for release mode
# We recommend release mode by default for performance
Expand Down
3 changes: 3 additions & 0 deletions mopro-android/Example/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,6 @@
.externalNativeBuild
.cxx
local.properties
gradle
gradlew.bat
gradlew
2 changes: 0 additions & 2 deletions mopro-android/Example/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@

<application
android:allowBackup="true"
android:dataExtractionRules="@xml/data_extraction_rules"
android:fullBackupContent="@xml/backup_rules"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
Expand Down
13 changes: 0 additions & 13 deletions mopro-android/Example/app/src/main/res/xml/backup_rules.xml

This file was deleted.

This file was deleted.

Binary file not shown.

This file was deleted.

185 changes: 0 additions & 185 deletions mopro-android/Example/gradlew

This file was deleted.

Loading
Loading