|
1 # |
|
2 # This Source Code Form is subject to the terms of the Mozilla Public |
|
3 # License, v. 2.0. If a copy of the MPL was not distributed with this |
|
4 # file, You can obtain one at http://mozilla.org/MPL/2.0/. |
|
5 |
|
6 include $(topsrcdir)/config/rules.mk |
|
7 |
|
8 GARBAGE += $(addprefix $(DIST)/bin/defaults/pref/, \ |
|
9 mailnews.js editor.js \ |
|
10 aix.js unix.js winpref.js) |
|
11 |
|
12 GARBAGE += greprefs.js |
|
13 |
|
14 # TODO bug 813259 external files should be defined near their location in the source tree. |
|
15 grepref_files = $(topsrcdir)/netwerk/base/public/security-prefs.js $(srcdir)/init/all.js |
|
16 |
|
17 ifdef MOZ_DATA_REPORTING |
|
18 grepref_files += $(topsrcdir)/services/datareporting/datareporting-prefs.js |
|
19 endif |
|
20 |
|
21 ifdef MOZ_SERVICES_HEALTHREPORT |
|
22 ifneq (android,$(MOZ_WIDGET_TOOLKIT)) |
|
23 grepref_files += $(topsrcdir)/services/healthreport/healthreport-prefs.js |
|
24 else |
|
25 grepref_files += $(topsrcdir)/mobile/android/chrome/content/healthreport-prefs.js |
|
26 endif |
|
27 endif |
|
28 |
|
29 greprefs.js: $(grepref_files) |
|
30 $(call py_action,preprocessor,$(PREF_PPFLAGS) $(DEFINES) $(ACDEFINES) $(XULPPFLAGS) $^ -o $@) |
|
31 |
|
32 libs:: greprefs.js |
|
33 $(INSTALL) $^ $(DIST)/bin/ |