Remove some unnecessary preprocessing, no bug

--HG--
extra : rebase_source : b8bfed7a5b55652fd8a9b3bf3c601accb8b2022f
This commit is contained in:
Gavin Sharp 2013-02-17 17:49:25 -08:00
parent ca8f010481
commit 6a0bfaa745
13 changed files with 22 additions and 35 deletions

View File

@ -12,9 +12,6 @@ include $(DEPTH)/config/autoconf.mk
EXTRA_COMPONENTS = \
BrowserDownloads.manifest \
DownloadsUI.js \
$(NULL)
EXTRA_PP_COMPONENTS = \
DownloadsStartup.js \
$(NULL)

View File

@ -16,7 +16,7 @@ browser.jar:
content/browser/places/placesOverlay.xul (content/placesOverlay.xul)
* content/browser/places/menu.xml (content/menu.xml)
content/browser/places/tree.xml (content/tree.xml)
* content/browser/places/controller.js (content/controller.js)
content/browser/places/controller.js (content/controller.js)
content/browser/places/treeView.js (content/treeView.js)
* content/browser/places/browserPlacesViews.js (content/browserPlacesViews.js)
# keep the Places version of the history sidebar at history/history-panel.xul

View File

@ -15,7 +15,7 @@ EXTRA_COMPONENTS = \
PlacesProtocolHandler.js \
$(NULL)
EXTRA_PP_JS_MODULES = \
EXTRA_JS_MODULES = \
PlacesUIUtils.jsm \
$(NULL)

View File

@ -13,10 +13,9 @@ include $(topsrcdir)/config/config.mk
EXTRA_COMPONENTS = \
nsSessionStore.manifest \
nsSessionStore.js \
nsSessionStartup.js \
$(NULL)
EXTRA_PP_COMPONENTS := nsSessionStartup.js
JS_MODULES_PATH := $(FINAL_TARGET)/modules/sessionstore
EXTRA_JS_MODULES := \

View File

@ -25,9 +25,6 @@ DIRS = \
EXTRA_COMPONENTS = \
SiteSpecificUserAgent.js \
SiteSpecificUserAgent.manifest \
$(NULL)
EXTRA_PP_COMPONENTS = \
ConsoleAPI.js \
ConsoleAPI.manifest \
$(NULL)

View File

@ -6,6 +6,6 @@ toolkit.jar:
content/global/test-ipc.xul (test.xul)
content/global/remote-test-ipc.js (remote-test.js)
content/global/BrowserElementChild.js (../browser-element/BrowserElementChild.js)
* content/global/BrowserElementChildPreload.js (../browser-element/BrowserElementChildPreload.js)
content/global/BrowserElementChildPreload.js (../browser-element/BrowserElementChildPreload.js)
* content/global/BrowserElementPanning.js (../browser-element/BrowserElementPanning.js)
content/global/preload.js (preload.js)

View File

@ -52,13 +52,9 @@ sync_engine_modules := \
history.js \
passwords.js \
prefs.js \
tabs.js \
$(NULL)
# Preprocess engine files.
SYNC_PP_ENGINE := modules/engines/tabs.js
SYNC_PP_ENGINE_PATH = $(FINAL_TARGET)/modules/services-sync/engines
PP_TARGETS += SYNC_PP_ENGINE
sync_stage_modules := \
cluster.js \
enginesync.js \

View File

@ -6,4 +6,4 @@ toolkit.jar:
content/global/console.js (content/console.js)
content/global/console.xul (content/console.xul)
content/global/console.css (content/console.css)
* content/global/consoleBindings.xml (content/consoleBindings.xml)
content/global/consoleBindings.xml (content/consoleBindings.xml)

View File

@ -63,10 +63,10 @@ EXTRA_JS_MODULES = \
PopupNotifications.jsm \
PropertyListUtils.jsm \
Task.jsm \
PrivateBrowsingUtils.jsm \
$(NULL)
EXTRA_PP_JS_MODULES = \
PrivateBrowsingUtils.jsm \
Services.jsm \
WindowDraggingUtils.jsm \
Troubleshoot.jsm \

View File

@ -1,9 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<!DOCTYPE html [
<!ENTITY % htmlDTD PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd"> %htmlDTD;

View File

@ -17,7 +17,7 @@ toolkit.jar:
* content/global/aboutSupport.js
* content/global/aboutSupport.xhtml
* content/global/aboutTelemetry.js
* content/global/aboutTelemetry.xhtml
content/global/aboutTelemetry.xhtml
content/global/aboutTelemetry.css (aboutTelemetry.css)
content/global/directionDetector.html
content/global/plugins.html

View File

@ -28,11 +28,11 @@ XPIDLSRCS += nsIUpdateService.idl
EXTRA_PP_COMPONENTS += \
nsUpdateService.js \
nsUpdateServiceStub.js \
$(NULL)
EXTRA_COMPONENTS += \
nsUpdateService.manifest \
nsUpdateServiceStub.js \
$(NULL)
else

View File

@ -1,9 +1,8 @@
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/*
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
Components.utils.import("resource://gre/modules/XPCOMUtils.jsm");
Components.utils.import("resource://gre/modules/FileUtils.jsm");
@ -15,12 +14,12 @@ const FILE_UPDATE_STATUS = "update.status";
const KEY_UPDROOT = "UpdRootD";
/**
# Gets the specified directory at the specified hierarchy under the update root
# directory without creating it if it doesn't exist.
# @param pathArray
# An array of path components to locate beneath the directory
# specified by |key|
# @return nsIFile object for the location specified.
* Gets the specified directory at the specified hierarchy under the update root
* directory without creating it if it doesn't exist.
* @param pathArray
* An array of path components to locate beneath the directory
* specified by |key|
* @return nsIFile object for the location specified.
*/
function getUpdateDirNoCreate(pathArray) {
return FileUtils.getDir(KEY_UPDROOT, pathArray, false);