Bug 616542 - Shorten file path length of mochitest; r=ted
[gecko.git] / toolkit / mozapps / update / test / chrome / Makefile.in
blob68af4e6b4bee0ade3ecce22a5f4accc775e30aca
1 # ***** BEGIN LICENSE BLOCK *****
2 # Version: MPL 1.1/GPL 2.0/LGPL 2.1
4 # The contents of this file are subject to the Mozilla Public License Version
5 # 1.1 (the "License"); you may not use this file except in compliance with
6 # the License. You may obtain a copy of the License at
7 # http://www.mozilla.org/MPL/
9 # Software distributed under the License is distributed on an "AS IS" basis,
10 # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
11 # for the specific language governing rights and limitations under the
12 # License.
14 # The Original Code is mozilla.org code.
16 # The Initial Developer of the Original Code is
17 # the Mozilla Foundation.
18 # Portions created by the Initial Developer are Copyright (C) 2010
19 # the Initial Developer. All Rights Reserved.
21 # Contributor(s):
22 # Robert Strong <robert.bugzilla@gmail.com> (Original Author)
24 # Alternatively, the contents of this file may be used under the terms of
25 # either of the GNU General Public License Version 2 or later (the "GPL"),
26 # or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
27 # in which case the provisions of the GPL or the LGPL are applicable instead
28 # of those above. If you wish to allow use of your version of this file only
29 # under the terms of either the GPL or the LGPL, and not to allow others to
30 # use your version of this file under the terms of the MPL, indicate your
31 # decision by deleting the provisions above and replace them with the notice
32 # and other provisions required by the GPL or the LGPL. If you do not delete
33 # the provisions above, a recipient may use your version of this file under
34 # the terms of any one of the MPL, the GPL or the LGPL.
36 # ***** END LICENSE BLOCK *****
38 DEPTH = ../../../../..
39 topsrcdir = @top_srcdir@
40 srcdir = @srcdir@
41 VPATH = @srcdir@
42 relativesrcdir = toolkit/mozapps/update/test/chrome
44 include $(DEPTH)/config/autoconf.mk
46 _OTHER_FILES = \
47 ../unit/data/simple.mar \
48 $(NULL)
50 _CHROME_FILES = \
51 test_0011_check_basic.xul \
52 test_0012_check_basic_license.xul \
53 test_0013_check_incompat_basic.xul \
54 test_0015_check_incompat_basic_addons.xul \
55 test_0014_check_incompat_basic_license.xul \
56 test_0016_check_incompat_basic_license_addons.xul \
57 test_0021_check_billboard.xul \
58 test_0022_check_billboard_license.xul \
59 test_0023_check_incompat_billboard.xul \
60 test_0024_check_incompat_billboard_license.xul \
61 test_0025_check_incompat_billboard_addons.xul \
62 test_0026_check_incompat_billboard_license_addons.xul \
63 test_0031_available_basic.xul \
64 test_0032_available_basic_license.xul \
65 test_0033_available_incompat_basic.xul \
66 test_0034_available_incompat_basic_license.xul \
67 test_0035_available_incompat_basic_addons.xul \
68 test_0036_available_incompat_basic_license_addons.xul \
69 test_0041_available_billboard.xul \
70 test_0042_available_billboard_license.xul \
71 test_0043_available_incompat_billboard.xul \
72 test_0044_available_incompat_billboard_license.xul \
73 test_0045_available_incompat_billboard_addons.xul \
74 test_0046_available_incompat_billboard_license_addons.xul \
75 test_0051_check_error_xml_malformed.xul \
76 test_0052_check_no_updates.xul \
77 test_0053_check_billboard_license_noAttr.xul \
78 test_0054_check_billboard_license_404.xul \
79 test_0061_check_verifyFailPartial_noComplete.xul \
80 test_0062_check_verifyFailComplete_noPartial.xul \
81 test_0063_check_verifyFailPartialComplete.xul \
82 test_0064_check_verifyFailPartial_successComplete.xul \
83 test_0071_notify_verifyFailPartial_noComplete.xul \
84 test_0072_notify_verifyFailComplete_noPartial.xul \
85 test_0073_notify_verifyFailPartialComplete.xul \
86 test_0074_notify_verifyFailPartial_successComplete.xul \
87 test_0081_error_patchApplyFailure_partial_only.xul \
88 test_0082_error_patchApplyFailure_complete_only.xul \
89 test_0083_error_patchApplyFailure_partial_complete.xul \
90 test_0084_error_patchApplyFailure_verify_failed.xul \
91 test_0091_installed.xul \
92 test_0092_finishedBackground.xul \
93 test_0111_neverButton_basic.xul \
94 test_0112_neverButton_billboard.xul \
95 test_0113_showNeverForVersionRemovedWithPref.xul \
96 test_0121_check_requireBuiltinCert.xul \
97 test_0122_check_allowNonBuiltinCert_validCertAttrs.xul \
98 test_0123_check_allowNonBuiltinCert_noCertAttrsCheck.xul \
99 test_0131_check_invalidCertAttrs_noUpdate.xul \
100 test_0132_check_invalidCertAttrs_hasUpdate.xul \
101 test_0141_notify_invalidCertAttrs_noUpdate.xul \
102 test_0142_notify_invalidCertAttrs_hasUpdate.xul \
103 test_0151_notify_backgroundCheckError.xul \
104 test_0900_deprecatedUpdateFormat_minor.xul \
105 test_0901_deprecatedUpdateFormat_major.xul \
106 test_9999_cleanup.xul \
107 $(NULL)
109 include $(topsrcdir)/config/rules.mk
111 libs:: $(_OTHER_FILES)
112 $(INSTALL) $(foreach f,$^,"$f") $(DEPTH)/$(mochitestdir)/chrome/$(relativesrcdir)
114 libs:: $(_CHROME_FILES)
115 $(INSTALL) $(foreach f,$^,"$f") $(DEPTH)/$(mochitestdir)/chrome/$(relativesrcdir)
117 libs::
118 $(PYTHON) $(MOZILLA_DIR)/config/Preprocessor.py -Fsubstitution $(DEFINES) $(ACDEFINES) $(srcdir)/utils.js > \
119 $(DEPTH)/$(mochitestdir)/chrome/$(relativesrcdir)/utils.js
120 $(PYTHON) $(MOZILLA_DIR)/config/Preprocessor.py -Fsubstitution $(DEFINES) $(ACDEFINES) $(srcdir)/update.sjs > \
121 $(DEPTH)/$(mochitestdir)/chrome/$(relativesrcdir)/update.sjs