Bug 616542 - Shorten file path length of mochitest; r=ted
[gecko.git] / browser / components / privatebrowsing / test / browser / Makefile.in
blob4e55e833c1b6c5f95a2d5a1343610bb102eeee40
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 Private Browsing.
16 # The Initial Developer of the Original Code is
17 # Ehsan Akhgari.
18 # Portions created by the Initial Developer are Copyright (C) 2008
19 # the Initial Developer. All Rights Reserved.
21 # Contributor(s):
22 # Ehsan Akhgari <ehsan.akhgari@gmail.com>
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 = browser/components/privatebrowsing/test/browser
44 include $(DEPTH)/config/autoconf.mk
45 include $(topsrcdir)/config/rules.mk
47 _BROWSER_TEST_FILES = \
48 head.js \
49 browser_console_clear.js \
50 browser_privatebrowsing_certexceptionsui.js \
51 browser_privatebrowsing_commandline_toggle.js \
52 browser_privatebrowsing_crh.js \
53 browser_privatebrowsing_fastswitch.js \
54 browser_privatebrowsing_findbar.js \
55 browser_privatebrowsing_forgetthissite.js \
56 browser_privatebrowsing_geoprompt.js \
57 browser_privatebrowsing_geoprompt_page.html \
58 browser_privatebrowsing_import.js \
59 browser_privatebrowsing_newwindow_stopcmd.js \
60 browser_privatebrowsing_opendir.js \
61 browser_privatebrowsing_openlocation.js \
62 browser_privatebrowsing_pageinfo.js \
63 browser_privatebrowsing_placestitle.js \
64 browser_privatebrowsing_popupblocker.js \
65 browser_privatebrowsing_popupmode.js \
66 browser_privatebrowsing_protocolhandler.js \
67 browser_privatebrowsing_protocolhandler_page.html \
68 browser_privatebrowsing_searchbar.js \
69 browser_privatebrowsing_sslsite_transition.js \
70 browser_privatebrowsing_theming.js \
71 browser_privatebrowsing_transition.js \
72 browser_privatebrowsing_ui.js \
73 browser_privatebrowsing_urlbarfocus.js \
74 browser_privatebrowsing_urlbarundo.js \
75 browser_privatebrowsing_viewsource.js \
76 browser_privatebrowsing_windowtitle.js \
77 browser_privatebrowsing_windowtitle_page.html \
78 browser_privatebrowsing_zoom.js \
79 browser_privatebrowsing_zoomrestore.js \
80 browser_privatebrowsing_clearplugindata.js \
81 browser_privatebrowsing_clearplugindata.html \
82 ctxmenu.html \
83 ctxmenu-image.png \
84 popup.html \
85 staller.sjs \
86 title.sjs \
87 $(NULL)
89 # Disabled until bug 564934 is fixed:
90 # browser_privatebrowsing_downloadmonitor.js \
92 # Turn off private browsing tests that perma-timeout on Linux.
93 ifneq (Linux,$(OS_ARCH))
94 _BROWSER_TEST_FILES += \
95 browser_privatebrowsing_beforeunload_enter.js \
96 browser_privatebrowsing_beforeunload_exit.js \
97 browser_privatebrowsing_cookieacceptdialog.js \
98 $(NULL)
99 endif
101 libs:: $(_BROWSER_TEST_FILES)
102 $(INSTALL) $(foreach f,$^,"$f") $(DEPTH)/$(mochitestdir)/browser/$(relativesrcdir)