michael@0: # michael@0: # This Source Code Form is subject to the terms of the Mozilla Public michael@0: # License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: # file, You can obtain one at http://mozilla.org/MPL/2.0/. michael@0: michael@0: include $(topsrcdir)/config/rules.mk michael@0: michael@0: GARBAGE += $(addprefix $(DIST)/bin/defaults/pref/, \ michael@0: mailnews.js editor.js \ michael@0: aix.js unix.js winpref.js) michael@0: michael@0: GARBAGE += greprefs.js michael@0: michael@0: # TODO bug 813259 external files should be defined near their location in the source tree. michael@0: grepref_files = $(topsrcdir)/netwerk/base/public/security-prefs.js $(srcdir)/init/all.js michael@0: michael@0: ifdef MOZ_DATA_REPORTING michael@0: grepref_files += $(topsrcdir)/services/datareporting/datareporting-prefs.js michael@0: endif michael@0: michael@0: ifdef MOZ_SERVICES_HEALTHREPORT michael@0: ifneq (android,$(MOZ_WIDGET_TOOLKIT)) michael@0: grepref_files += $(topsrcdir)/services/healthreport/healthreport-prefs.js michael@0: else michael@0: grepref_files += $(topsrcdir)/mobile/android/chrome/content/healthreport-prefs.js michael@0: endif michael@0: endif michael@0: michael@0: greprefs.js: $(grepref_files) michael@0: $(call py_action,preprocessor,$(PREF_PPFLAGS) $(DEFINES) $(ACDEFINES) $(XULPPFLAGS) $^ -o $@) michael@0: michael@0: libs:: greprefs.js michael@0: $(INSTALL) $^ $(DIST)/bin/