Bug 886842 - Add clang trunk builds for ASan. r=froydnj
[gecko.git] / services / sync / Makefile.in
blob35b7811f819bb049e09cd2973945ab1af57849d8
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 DEPTH := @DEPTH@
6 topsrcdir := @top_srcdir@
7 srcdir := @srcdir@
8 VPATH := @srcdir@
10 include $(DEPTH)/config/autoconf.mk
12 # Definitions used by constants.js.
13 weave_version := 1.27.0
14 weave_id := {340c2bbc-ce74-4362-90b5-7c26312808ef}
16 # Preprocess files.
17 SYNC_PP := modules/constants.js
18 SYNC_PP_FLAGS := \
19 -Dweave_version=$(weave_version) \
20 -Dweave_id=$(weave_id)
21 SYNC_PP_PATH = $(FINAL_TARGET)/modules/services-sync
22 PP_TARGETS += SYNC_PP
24 # The set of core JavaScript modules for Sync. These are copied as-is.
25 sync_modules := \
26 addonsreconciler.js \
27 addonutils.js \
28 engines.js \
29 identity.js \
30 jpakeclient.js \
31 keys.js \
32 main.js \
33 notifications.js \
34 policies.js \
35 record.js \
36 resource.js \
37 rest.js \
38 service.js \
39 status.js \
40 userapi.js \
41 util.js \
42 $(NULL)
44 # The set of JavaScript modules provide engines for Sync. These are
45 # copied as-is.
46 sync_engine_modules := \
47 addons.js \
48 apps.js \
49 bookmarks.js \
50 clients.js \
51 forms.js \
52 history.js \
53 passwords.js \
54 prefs.js \
55 tabs.js \
56 $(NULL)
58 sync_stage_modules := \
59 cluster.js \
60 enginesync.js \
61 $(NULL)
63 sync_testing_modules := \
64 fakeservices.js \
65 rotaryengine.js \
66 utils.js \
67 $(NULL)
69 EXTRA_COMPONENTS := \
70 SyncComponents.manifest \
71 Weave.js \
72 $(NULL)
74 PREF_JS_EXPORTS := $(srcdir)/services-sync.js
76 # Install JS module files.
77 SYNC_MAIN_FILES := $(addprefix modules/,$(sync_modules))
78 SYNC_MAIN_DEST = $(FINAL_TARGET)/modules/services-sync
79 INSTALL_TARGETS += SYNC_MAIN
81 SYNC_ENGINES_FILES := $(addprefix modules/engines/,$(sync_engine_modules))
82 SYNC_ENGINES_DEST = $(FINAL_TARGET)/modules/services-sync/engines
83 INSTALL_TARGETS += SYNC_ENGINES
85 SYNC_STAGES_FILES := $(addprefix modules/stages/,$(sync_stage_modules))
86 SYNC_STAGES_DEST = $(FINAL_TARGET)/modules/services-sync/stages
87 INSTALL_TARGETS += SYNC_STAGES
89 TESTING_JS_MODULES := $(addprefix modules-testing/,$(sync_testing_modules))
90 TESTING_JS_MODULE_DIR := services/sync
92 include $(topsrcdir)/config/rules.mk