Wed, 31 Dec 2014 07:22:50 +0100
Correct previous dual key logic pending first delivery installment.
1 # This Source Code Form is subject to the terms of the Mozilla Public
2 # License, v. 2.0. If a copy of the MPL was not distributed with this
3 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
5 # Definitions used by constants.js.
6 weave_version := 1.33.0
7 weave_id := {340c2bbc-ce74-4362-90b5-7c26312808ef}
9 # Preprocess files.
10 SYNC_PP := modules/constants.js
11 SYNC_PP_FLAGS := \
12 -Dweave_version=$(weave_version) \
13 -Dweave_id='$(weave_id)'
14 SYNC_PP_PATH = $(FINAL_TARGET)/modules/services-sync
15 PP_TARGETS += SYNC_PP
17 # The set of core JavaScript modules for Sync. These are copied as-is.
18 sync_modules := \
19 addonsreconciler.js \
20 addonutils.js \
21 browserid_identity.js \
22 engines.js \
23 healthreport.jsm \
24 identity.js \
25 jpakeclient.js \
26 keys.js \
27 main.js \
28 notifications.js \
29 policies.js \
30 record.js \
31 resource.js \
32 rest.js \
33 service.js \
34 status.js \
35 userapi.js \
36 util.js \
37 $(NULL)
39 # The set of JavaScript modules provide engines for Sync. These are
40 # copied as-is.
41 sync_engine_modules := \
42 addons.js \
43 bookmarks.js \
44 clients.js \
45 forms.js \
46 history.js \
47 passwords.js \
48 prefs.js \
49 tabs.js \
50 $(NULL)
52 sync_stage_modules := \
53 cluster.js \
54 declined.js \
55 enginesync.js \
56 $(NULL)
58 sync_testing_modules := \
59 fakeservices.js \
60 rotaryengine.js \
61 utils.js \
62 fxa_utils.js \
63 $(NULL)
65 PREF_JS_EXPORTS := $(srcdir)/services-sync.js
67 # Install JS module files.
68 SYNC_MAIN_FILES := $(addprefix modules/,$(sync_modules))
69 SYNC_MAIN_DEST = $(FINAL_TARGET)/modules/services-sync
70 INSTALL_TARGETS += SYNC_MAIN
72 SYNC_ENGINES_FILES := $(addprefix modules/engines/,$(sync_engine_modules))
73 SYNC_ENGINES_DEST = $(FINAL_TARGET)/modules/services-sync/engines
74 INSTALL_TARGETS += SYNC_ENGINES
76 SYNC_STAGES_FILES := $(addprefix modules/stages/,$(sync_stage_modules))
77 SYNC_STAGES_DEST = $(FINAL_TARGET)/modules/services-sync/stages
78 INSTALL_TARGETS += SYNC_STAGES
80 TESTING_JS_MODULES := $(addprefix modules-testing/,$(sync_testing_modules))
81 TESTING_JS_MODULE_DIR := services/sync