Wed, 31 Dec 2014 07:53:36 +0100
Correct small whitespace inconsistency, lost while renaming variables.
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 file, |
michael@0 | 3 | # You can obtain one at http://mozilla.org/MPL/2.0/. |
michael@0 | 4 | |
michael@0 | 5 | modules := \ |
michael@0 | 6 | hawkclient.js \ |
michael@0 | 7 | hawkrequest.js \ |
michael@0 | 8 | storageservice.js \ |
michael@0 | 9 | stringbundle.js \ |
michael@0 | 10 | tokenserverclient.js \ |
michael@0 | 11 | utils.js \ |
michael@0 | 12 | $(NULL) |
michael@0 | 13 | |
michael@0 | 14 | pp_modules := \ |
michael@0 | 15 | async.js \ |
michael@0 | 16 | bagheeraclient.js \ |
michael@0 | 17 | observers.js \ |
michael@0 | 18 | rest.js \ |
michael@0 | 19 | $(NULL) |
michael@0 | 20 | |
michael@0 | 21 | testing_modules := \ |
michael@0 | 22 | bagheeraserver.js \ |
michael@0 | 23 | logging.js \ |
michael@0 | 24 | storageserver.js \ |
michael@0 | 25 | utils.js \ |
michael@0 | 26 | $(NULL) |
michael@0 | 27 | |
michael@0 | 28 | PREF_JS_EXPORTS = $(srcdir)/services-common.js |
michael@0 | 29 | |
michael@0 | 30 | MODULES_FILES := $(modules) |
michael@0 | 31 | MODULES_DEST = $(FINAL_TARGET)/modules/services-common |
michael@0 | 32 | INSTALL_TARGETS += MODULES |
michael@0 | 33 | |
michael@0 | 34 | TESTING_JS_MODULES := $(addprefix modules-testing/,$(testing_modules)) |
michael@0 | 35 | TESTING_JS_MODULE_DIR := services-common |
michael@0 | 36 | |
michael@0 | 37 | PP_JS_MODULES := $(pp_modules) |
michael@0 | 38 | PP_JS_MODULES_PATH = $(FINAL_TARGET)/modules/services-common |
michael@0 | 39 | PP_TARGETS += PP_JS_MODULES |
michael@0 | 40 | |
michael@0 | 41 | include $(topsrcdir)/config/rules.mk |
michael@0 | 42 | |
michael@0 | 43 | # What follows is a helper to launch a standalone storage server instance. |
michael@0 | 44 | # Most of the code lives in a Python script in the tests directory. If we |
michael@0 | 45 | # ever consolidate our Python code, and/or have a supplemental driver for the |
michael@0 | 46 | # build system, this can go away. |
michael@0 | 47 | |
michael@0 | 48 | server_port := 8080 |
michael@0 | 49 | |
michael@0 | 50 | storage-server: |
michael@0 | 51 | $(PYTHON) $(srcdir)/tests/run_server.py $(topsrcdir) \ |
michael@0 | 52 | $(MOZ_BUILD_ROOT) run_storage_server.js --port $(server_port) |
michael@0 | 53 | |
michael@0 | 54 | bagheera-server: |
michael@0 | 55 | $(PYTHON) $(srcdir)/tests/run_server.py $(topsrcdir) \ |
michael@0 | 56 | $(MOZ_BUILD_ROOT) run_bagheera_server.js --port $(server_port) |