Firefox Application Services
Перейти к файлу
Nick Alexander 2921db3571
Do not force Android packaging tasks to re-run on every build.
There where two issues.  The most obvious is that the task name that
merges JNI libraries has evolved; it's now `merge{...}JniLibFolders`.

The second, which really caught me out, is that when both
`main.jniLibs.srcDirs` and `debug.jniLibs.srcDirs` contain the same
path, then the Android source set merger silently fails.  I don't
really understand what's happening here, I just know that using only
`main.jniLibs.srcDirs` solves the issue.

Fixes #2659.
2020-03-02 12:08:26 +11:00
.circleci Move fenix to the full megazord. Fixes #1466 2020-02-26 10:49:32 -08:00
.github WIP Add explicit documentation for our testing strategy. 2020-01-17 14:19:24 +11:00
.vscode Add rust support 2019-05-30 11:48:42 -04:00
automation Print sccache stats 2020-02-21 13:07:53 -05:00
build-scripts Use default bash login PATH 2019-10-30 16:03:15 -04:00
components Do not force Android packaging tasks to re-run on every build. 2020-03-02 12:08:26 +11:00
docs update from IRC to Matrix sync channel, add a section for finding issues 2020-02-28 15:16:10 -05:00
gradle/wrapper Remote Tabs FFI 2019-11-12 16:09:48 -05:00
libs Revert "Update NSS to 3.48" 2020-01-08 15:57:13 -05:00
megazords Do not force Android packaging tasks to re-run on every build. 2020-03-02 12:08:26 +11:00
testing Fix cargo clippy/fmt 2020-01-31 13:38:00 +01:00
tools Move fenix to the full megazord. Fixes #1466 2020-02-26 10:49:32 -08:00
website website: add links to new blog posts and limit posts to 8 2019-04-17 11:00:42 -04:00
xcconfig Update versions Swift 5.0 and Xcode 11.3 2019-12-18 12:38:15 -05:00
.buildconfig-android.yml Cut release 0.53.0 2020-02-27 10:32:30 -05:00
.cron.yml Bug 1602861 - Add empty .cron.yml to allow the general cron task to run 2019-12-19 19:10:21 +01:00
.detekt.yml Disable detekt lints `TooManyFunctions` and `MagicNumber`. 2019-04-22 10:54:07 -07:00
.gitignore Run iOS tests on CI 2019-04-24 21:23:15 -04:00
.swiftlint.yml Actually lint/format the bulk of our swift code (#1093) 2019-04-30 18:33:33 -07:00
.taskcluster.yml [taskcluster] Use assume:repo scopes, rather than explicit enumeration of scopes. 2019-12-06 15:29:52 -07:00
CHANGELOG.md Cut release 0.53.0 2020-02-27 10:32:30 -05:00
CHANGES_UNRELEASED.md Cut release 0.53.0 2020-02-27 10:32:30 -05:00
CODE_OF_CONDUCT.md Bring CPG in line with CPGBot's demands, fixes #887 2019-03-31 15:38:31 -07:00
COPYRIGHT rc_crypto initial commit (#1349) 2019-07-09 14:00:48 -04:00
Cargo.lock Run cargo update [ci full] 2020-02-28 10:04:34 -05:00
Cargo.toml Move fenix to the full megazord. Fixes #1466 2020-02-26 10:49:32 -08:00
Cartfile Swift Firefox Account Manager 2020-01-28 05:12:37 +01:00
Cartfile.resolved Swift Firefox Account Manager 2020-01-28 05:12:37 +01:00
DEPENDENCIES.md Run cargo update 2020-02-11 10:24:14 -05:00
LICENSE rc_crypto initial commit (#1349) 2019-07-09 14:00:48 -04:00
README.md docs: fix typo 2019-10-15 09:19:53 +13:00
build-carthage.sh Include license info in binary distributions. 2019-08-02 07:41:18 +10:00
build.gradle Bump android gradle plugin version 2020-02-07 15:09:10 -05:00
clippy.toml Document our use of clippy and add a (empty) clippy.toml 2019-03-20 09:02:54 -07:00
gradle.properties Delete now-unused nativelibs plugin 2019-06-12 14:29:31 -07:00
gradlew [automation/fxa client] Part 1a: Lift Gradle multi-project to top-level. 2018-09-19 11:09:48 -07:00
gradlew.bat Upgrade gradle wrapper 2019-08-06 13:35:56 -07:00
proguard-rules-consumer-jna.pro Set consumer Proguard rules. 2018-11-27 20:29:10 -08:00
publish.gradle Do not force Android packaging tasks to re-run on every build. 2020-03-02 12:08:26 +11:00
settings.gradle Merge branch 'master' into omegazord 2019-07-09 17:10:18 -07:00

README.md

Firefox Application Services

A platform for building cloud-powered applications that target Firefox users

What's this all about?

This repository hosts the code and docs needed to integrate with the products offered by the Firefox Application Services team.

If you are interested in getting involved in the development of those products then you're in the right place! Please review the more detailed guide on how to contribute to this project as well as the Community Participation Guidelines.

If that's not why you're here, then instead you might enjoy:

Overview

This repository is used to build client-side libraries for integrating with Firefox Application services such as Firefox Accounts, Firefox Sync and Push. Each of these is called a "component" and is built using a core of shared code written in Rust, wrapped with native language bindings for different platforms.

The end result is an application that can be assembled from re-usable components that are largely shared across platforms, like this:

component diagram

The code for these components is organized as follows:

For more details on how the client libraries are built and published, please see the Guide to Building a Rust Component.

This repository also hosts the website source for the Application Services Product Portal, which provides consumer-facing documentation on how to integrate with various Application services products.

The ./docs/ directory holds intenal documentation about working with the code in this repository, and is most likely only of interest to contributors.

Components

The currently-available Rust Components in this repo are:

  • fxa-client - for applications that need to sign in with FxA, access encryption keys for sync, and more.
  • sync15 - shared library for accessing data in Firefox Sync
  • logins - for storage and syncing of a user's saved login credentials
  • places - for storage and syncing of a user's saved browsing history
  • push - for applications to receive real-time updates via WebPush
  • rc_log - for connecting component log output to the application's log stream
  • support - low-level utility libraries
    • support/ffi - utilities for building a component's FFI bindings
    • support/sql - utilities for storing data locally with SQL