mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-26 02:02:33 +00:00
f9abd62b34
This commit adds a new crate for bridging Rust Sync engines to Desktop, and a `mozIBridgedSyncEngine` for accessing the bridge via JS. Naturally, the bridge is called Golden Gate. 😊 For more information on how to use it, please see `golden_gate/src/lib.rs`. Other changes include: * Ensuring the test Sync server uses UTF-8 for requests and responses. * Renaming `mozISyncedBookmarksMirrorLogger` to `mozIServicesLogger`, and moving it into the shared Sync interfaces. The `BridgedEngine` trait lives in its own crate, called `golden_gate_traits`, to make it easier to eventually move into a-s. `Interruptee` and `Interrupted` already exist in a-s, and are duplicated in this crate for now. Differential Revision: https://phabricator.services.mozilla.com/D65268 --HG-- extra : moz-landing-system : lando
30 lines
748 B
Python
30 lines
748 B
Python
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
|
|
# vim: set filetype=python:
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
with Files('moz.build'):
|
|
BUG_COMPONENT = ('Firefox Build System', 'General')
|
|
|
|
DIRS += [
|
|
'common',
|
|
'crypto',
|
|
'interfaces',
|
|
'settings',
|
|
]
|
|
|
|
# The automation dir is only included in nightlies and debug
|
|
if not CONFIG['RELEASE_OR_BETA'] or CONFIG['MOZ_DEBUG']:
|
|
DIRS += [
|
|
'automation'
|
|
]
|
|
|
|
if CONFIG['MOZ_WIDGET_TOOLKIT'] != 'android':
|
|
DIRS += [
|
|
'fxaccounts',
|
|
]
|
|
|
|
if CONFIG['MOZ_SERVICES_SYNC']:
|
|
DIRS += ['sync']
|