1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/services/sync/Makefile.in Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,81 @@ 1.4 +# This Source Code Form is subject to the terms of the Mozilla Public 1.5 +# License, v. 2.0. If a copy of the MPL was not distributed with this 1.6 +# file, You can obtain one at http://mozilla.org/MPL/2.0/. 1.7 + 1.8 +# Definitions used by constants.js. 1.9 +weave_version := 1.33.0 1.10 +weave_id := {340c2bbc-ce74-4362-90b5-7c26312808ef} 1.11 + 1.12 +# Preprocess files. 1.13 +SYNC_PP := modules/constants.js 1.14 +SYNC_PP_FLAGS := \ 1.15 + -Dweave_version=$(weave_version) \ 1.16 + -Dweave_id='$(weave_id)' 1.17 +SYNC_PP_PATH = $(FINAL_TARGET)/modules/services-sync 1.18 +PP_TARGETS += SYNC_PP 1.19 + 1.20 +# The set of core JavaScript modules for Sync. These are copied as-is. 1.21 +sync_modules := \ 1.22 + addonsreconciler.js \ 1.23 + addonutils.js \ 1.24 + browserid_identity.js \ 1.25 + engines.js \ 1.26 + healthreport.jsm \ 1.27 + identity.js \ 1.28 + jpakeclient.js \ 1.29 + keys.js \ 1.30 + main.js \ 1.31 + notifications.js \ 1.32 + policies.js \ 1.33 + record.js \ 1.34 + resource.js \ 1.35 + rest.js \ 1.36 + service.js \ 1.37 + status.js \ 1.38 + userapi.js \ 1.39 + util.js \ 1.40 + $(NULL) 1.41 + 1.42 +# The set of JavaScript modules provide engines for Sync. These are 1.43 +# copied as-is. 1.44 +sync_engine_modules := \ 1.45 + addons.js \ 1.46 + bookmarks.js \ 1.47 + clients.js \ 1.48 + forms.js \ 1.49 + history.js \ 1.50 + passwords.js \ 1.51 + prefs.js \ 1.52 + tabs.js \ 1.53 + $(NULL) 1.54 + 1.55 +sync_stage_modules := \ 1.56 + cluster.js \ 1.57 + declined.js \ 1.58 + enginesync.js \ 1.59 + $(NULL) 1.60 + 1.61 +sync_testing_modules := \ 1.62 + fakeservices.js \ 1.63 + rotaryengine.js \ 1.64 + utils.js \ 1.65 + fxa_utils.js \ 1.66 + $(NULL) 1.67 + 1.68 +PREF_JS_EXPORTS := $(srcdir)/services-sync.js 1.69 + 1.70 +# Install JS module files. 1.71 +SYNC_MAIN_FILES := $(addprefix modules/,$(sync_modules)) 1.72 +SYNC_MAIN_DEST = $(FINAL_TARGET)/modules/services-sync 1.73 +INSTALL_TARGETS += SYNC_MAIN 1.74 + 1.75 +SYNC_ENGINES_FILES := $(addprefix modules/engines/,$(sync_engine_modules)) 1.76 +SYNC_ENGINES_DEST = $(FINAL_TARGET)/modules/services-sync/engines 1.77 +INSTALL_TARGETS += SYNC_ENGINES 1.78 + 1.79 +SYNC_STAGES_FILES := $(addprefix modules/stages/,$(sync_stage_modules)) 1.80 +SYNC_STAGES_DEST = $(FINAL_TARGET)/modules/services-sync/stages 1.81 +INSTALL_TARGETS += SYNC_STAGES 1.82 + 1.83 +TESTING_JS_MODULES := $(addprefix modules-testing/,$(sync_testing_modules)) 1.84 +TESTING_JS_MODULE_DIR := services/sync