Bug 518129: don't preprocess TileManager.js in the source dir, r=Pike
authorGavin Sharp <gavin@mozilla.com>
Tue, 22 Sep 2009 13:34:56 -0400
changeset 904 0f560b32af9aaae2ddb5f701a54d2349494daaf5
parent 903 81a58085c7cea152213f7a85582d9d56dc10540e
child 905 347014dd06f0ca969f26d62a9044a94f4286a7ec
push id783
push usergsharp@mozilla.com
push dateTue, 22 Sep 2009 17:34:03 +0000
reviewersPike
bugs518129
Bug 518129: don't preprocess TileManager.js in the source dir, r=Pike
chrome/Makefile.in
chrome/jar.mn
--- a/chrome/Makefile.in
+++ b/chrome/Makefile.in
@@ -48,18 +48,18 @@ DEFINES += -DAB_CD=$(MOZ_UI_LOCALE) \
            $(NULL)
 
 
 ifdef ENABLE_TESTS
 DIRS += tests
 endif
 
 # Preprocess some JS files!
-$(srcdir)/content/TileManager.js: $(srcdir)/content/TileManager.js.in
+TileManager.js: $(srcdir)/content/TileManager.js.in
 ifneq (,$(filter WINNT WINCE,$(OS_ARCH)))
 	cl -EP -C -nologo -I$(srcdir) $< > $@
 else
 	$(CC) -x c -C -E -P -I$(srcdir) $< > $@
 endif
 
 include $(topsrcdir)/config/rules.mk
 
-export:: $(srcdir)/content/TileManager.js
+export:: TileManager.js
--- a/chrome/jar.mn
+++ b/chrome/jar.mn
@@ -23,17 +23,17 @@ chrome.jar:
   content/browser.css                  (content/browser.css)
   content/cursor.css                   (content/cursor.css)
   content/content.css                  (content/content.css)
   content/checkerboard.png             (content/checkerboard.png)
 % content branding %content/branding/
 * content/sanitize.xul                 (content/sanitize.xul)
 * content/sanitize.js                  (content/sanitize.js)
   content/BrowserView.js               (content/BrowserView.js)
-  content/TileManager.js               (content/TileManager.js)
+  content/TileManager.js               (TileManager.js)
 * content/InputHandler.js              (content/InputHandler.js)
   content/Util.js                      (content/Util.js)
   content/preferences.js               (content/preferences.js)
   content/extensions.js                (content/extensions.js)
   content/downloads.js                 (content/downloads.js)
   content/console.js                   (content/console.js)
   content/prompt/alert.xul             (content/prompt/alert.xul)
   content/prompt/confirm.xul           (content/prompt/confirm.xul)