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