Android vscode workflow (#912)

* fix: fix linux build

* Merge pull request #599 from AppFlowy-IO/refactor/grid_decode_cell_data

Refactor/grid decode cell data

* feat:  configured android vscode workflow

* chore: clean up android vscode

* fix: fixed typo

* chore: remove unused code

Co-authored-by: Nathan.fooo <86001920+appflowy@users.noreply.github.com>
Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
This commit is contained in:
Sean Riley Hawkins
2022-09-01 06:27:09 +02:00
committed by GitHub
parent 70f9a289a4
commit 69e3aed6b5
27 changed files with 287 additions and 36 deletions

View File

@ -5,4 +5,20 @@
rustflags=["-C", "link-arg=-mmacosx-version-min=10.11"]
[target.aarch64-apple-darwin]
rustflags=["-C", "link-arg=-mmacosx-version-min=10.11"]
rustflags=["-C", "link-arg=-mmacosx-version-min=10.11"]
[target.aarch64-linux-android]
ar = "path-to-ndk/llvm-ar"
linker = "path-to-ndk/aarch64-linux-android29-clang"
[target.armv7-linux-androideabi]
ar = "path-to-ndk/llvm-ar"
linker = "path-to-ndk/armv7a-linux-androideabi29-clang"
[target.i686-linux-android]
ar = "path-to-ndk/llvm-ar"
linker = "path-to-ndk/i686-linux-android29-clang"
[target.x86_64-linux-android]
ar = "path-to-ndk/llvm-ar"
linker = "path-to-ndk/x86_64-linux-android29-clang"

View File

@ -1796,6 +1796,7 @@ dependencies = [
"lazy_static",
"libsqlite3-sys",
"log",
"openssl",
"r2d2",
"scheduled-thread-pool",
]
@ -2096,6 +2097,15 @@ version = "0.1.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf"
[[package]]
name = "openssl-src"
version = "111.22.0+1.1.1q"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8f31f0d509d1c1ae9cada2f9539ff8f37933831fd5098879e482aa687d659853"
dependencies = [
"cc",
]
[[package]]
name = "openssl-sys"
version = "0.9.72"
@ -2105,6 +2115,7 @@ dependencies = [
"autocfg",
"cc",
"libc",
"openssl-src",
"pkg-config",
"vcpkg",
]

View File

@ -38,4 +38,4 @@ http_sync = ["flowy-sdk/http_sync", "flowy-sdk/use_bunyan"]
#use_protobuf= ["protobuf"]
[build-dependencies]
lib-infra = { path = "../../../shared-lib/lib-infra", features = ["protobuf_file_gen", "dart"] }
lib-infra = { path = "../../../shared-lib/lib-infra", features = ["protobuf_file_gen", "dart"] }

View File

@ -15,6 +15,6 @@ lazy_static = "1.4.0"
scheduled-thread-pool = "0.2.5"
error-chain = "=0.12.0"
log = "0.4.11"
openssl = { version = "0.10.38", features = ["vendored"] }
#[features]
#windows = ["libsqlite3-sys/bundled-windows"]