1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/modules/libpref/src/Makefile.in Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,33 @@ 1.4 +# 1.5 +# This Source Code Form is subject to the terms of the Mozilla Public 1.6 +# License, v. 2.0. If a copy of the MPL was not distributed with this 1.7 +# file, You can obtain one at http://mozilla.org/MPL/2.0/. 1.8 + 1.9 +include $(topsrcdir)/config/rules.mk 1.10 + 1.11 +GARBAGE += $(addprefix $(DIST)/bin/defaults/pref/, \ 1.12 + mailnews.js editor.js \ 1.13 + aix.js unix.js winpref.js) 1.14 + 1.15 +GARBAGE += greprefs.js 1.16 + 1.17 +# TODO bug 813259 external files should be defined near their location in the source tree. 1.18 +grepref_files = $(topsrcdir)/netwerk/base/public/security-prefs.js $(srcdir)/init/all.js 1.19 + 1.20 +ifdef MOZ_DATA_REPORTING 1.21 +grepref_files += $(topsrcdir)/services/datareporting/datareporting-prefs.js 1.22 +endif 1.23 + 1.24 +ifdef MOZ_SERVICES_HEALTHREPORT 1.25 +ifneq (android,$(MOZ_WIDGET_TOOLKIT)) 1.26 +grepref_files += $(topsrcdir)/services/healthreport/healthreport-prefs.js 1.27 +else 1.28 +grepref_files += $(topsrcdir)/mobile/android/chrome/content/healthreport-prefs.js 1.29 +endif 1.30 +endif 1.31 + 1.32 +greprefs.js: $(grepref_files) 1.33 + $(call py_action,preprocessor,$(PREF_PPFLAGS) $(DEFINES) $(ACDEFINES) $(XULPPFLAGS) $^ -o $@) 1.34 + 1.35 +libs:: greprefs.js 1.36 + $(INSTALL) $^ $(DIST)/bin/