Skip to content
This repository has been archived by the owner on Aug 4, 2022. It is now read-only.

Commit

Permalink
Bug 784841 - Part 18d: Convert /browser; r=gavin f=Ms2ger
Browse files Browse the repository at this point in the history
  • Loading branch information
indygreg committed Feb 25, 2013
1 parent da94f85 commit 61074b3
Show file tree
Hide file tree
Showing 193 changed files with 876 additions and 267 deletions.
23 changes: 0 additions & 23 deletions browser/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -9,29 +9,6 @@ VPATH = @srcdir@

include $(topsrcdir)/config/config.mk

PARALLEL_DIRS = \
base \
components \
fuel \
locales \
modules \
themes \
extensions \
$(NULL)

DIRS = \
devtools \
app \
$(NULL)

ifdef MOZ_METRO
DIRS += metro
endif

ifdef MAKENSISU
DIRS += installer/windows
endif

include $(topsrcdir)/config/rules.mk

ifdef MAKENSISU
Expand Down
21 changes: 21 additions & 0 deletions browser/app.mozbuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# vim: set filetype=python:
# 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/.

if not CONFIG['LIBXUL_SDK']:
app_libxul_dirs = []
include('/toolkit/toolkit.mozbuild')

if CONFIG['MOZ_EXTENSIONS']:
add_tier_dir('app', 'extensions')

add_tier_dir('app', [CONFIG['MOZ_BRANDING_DIRECTORY']])

if CONFIG['MOZ_WEBAPP_RUNTIME']:
add_tier_dir('app', 'webapprt')

# Never add tier dirs after browser because they apparently won't get
# packaged properly on Mac.
add_tier_dir('app', 'browser')

1 change: 0 additions & 1 deletion browser/app/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ VPATH = @srcdir@

include $(DEPTH)/config/autoconf.mk

DIRS = profile/extensions
dist_dest = $(DIST)/$(MOZ_MACBUNDLE_NAME)

ifdef ENABLE_MARIONETTE
Expand Down
6 changes: 6 additions & 0 deletions browser/app/moz.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# vim: set filetype=python:
# 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/.

DIRS += ['profile/extensions']
5 changes: 0 additions & 5 deletions browser/app/profile/extensions/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,6 @@ VPATH = @srcdir@
DISTROEXT = $(call core_abspath,$(FINAL_TARGET))/distribution/extensions

include $(DEPTH)/config/autoconf.mk

DIRS = \
{972ce4c6-7e08-4474-a285-3208198ce6fd} \
$(NULL)

include $(topsrcdir)/config/config.mk

ifneq (,$(filter beta,$(MOZ_UPDATE_CHANNEL)))
Expand Down
6 changes: 6 additions & 0 deletions browser/app/profile/extensions/moz.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# vim: set filetype=python:
# 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/.

DIRS += ['{972ce4c6-7e08-4474-a285-3208198ce6fd}']
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# vim: set filetype=python:
# 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/.

2 changes: 0 additions & 2 deletions browser/base/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ abs_srcdir = $(call core_abspath,$(srcdir))

CHROME_DEPS += $(abs_srcdir)/content/overrides/app-license.html

TEST_DIRS += content/test

include $(topsrcdir)/config/rules.mk

PRE_RELEASE_SUFFIX := ""
Expand Down
5 changes: 0 additions & 5 deletions browser/base/content/test/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,6 @@ srcdir = @srcdir@
VPATH = @srcdir@
relativesrcdir = @relativesrcdir@

DIRS += \
newtab \
social \
$(NULL)

include $(DEPTH)/config/autoconf.mk

MOCHITEST_FILES = \
Expand Down
7 changes: 7 additions & 0 deletions browser/base/content/test/moz.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# vim: set filetype=python:
# 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/.

DIRS += ['newtab', 'social']

5 changes: 5 additions & 0 deletions browser/base/content/test/newtab/moz.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# vim: set filetype=python:
# 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/.

5 changes: 5 additions & 0 deletions browser/base/content/test/social/moz.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# vim: set filetype=python:
# 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/.

6 changes: 6 additions & 0 deletions browser/base/moz.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# vim: set filetype=python:
# 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/.

TEST_DIRS += ['content/test']
5 changes: 0 additions & 5 deletions browser/branding/aurora/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
include $(topsrcdir)/config/config.mk

DIRS = \
content \
locales \
$(NULL)

PREF_JS_EXPORTS = $(srcdir)/pref/firefox-branding.js

# On Windows only do this step for browser, skip for metro.
Expand Down
5 changes: 5 additions & 0 deletions browser/branding/aurora/content/moz.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# vim: set filetype=python:
# 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/.

5 changes: 5 additions & 0 deletions browser/branding/aurora/locales/moz.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# vim: set filetype=python:
# 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/.

7 changes: 7 additions & 0 deletions browser/branding/aurora/moz.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# vim: set filetype=python:
# 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/.

DIRS += ['content', 'locales']

5 changes: 0 additions & 5 deletions browser/branding/nightly/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
include $(topsrcdir)/config/config.mk

DIRS = \
content \
locales \
$(NULL)

PREF_JS_EXPORTS = $(srcdir)/pref/firefox-branding.js

# On Windows only do this step for browser, skip for metro.
Expand Down
5 changes: 5 additions & 0 deletions browser/branding/nightly/content/moz.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# vim: set filetype=python:
# 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/.

5 changes: 5 additions & 0 deletions browser/branding/nightly/locales/moz.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# vim: set filetype=python:
# 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/.

6 changes: 6 additions & 0 deletions browser/branding/nightly/moz.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# vim: set filetype=python:
# 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/.

DIRS += ['content', 'locales']
5 changes: 0 additions & 5 deletions browser/branding/official/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
include $(topsrcdir)/config/config.mk

DIRS = \
content \
locales \
$(NULL)

PREF_JS_EXPORTS = $(srcdir)/pref/firefox-branding.js

# On Windows only do this step for browser, skip for metro.
Expand Down
5 changes: 5 additions & 0 deletions browser/branding/official/content/moz.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# vim: set filetype=python:
# 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/.

5 changes: 5 additions & 0 deletions browser/branding/official/locales/moz.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# vim: set filetype=python:
# 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/.

7 changes: 7 additions & 0 deletions browser/branding/official/moz.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# vim: set filetype=python:
# 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/.

DIRS += ['content', 'locales']

5 changes: 0 additions & 5 deletions browser/branding/unofficial/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
include $(topsrcdir)/config/config.mk

DIRS = \
content \
locales \
$(NULL)

PREF_JS_EXPORTS = $(srcdir)/pref/firefox-branding.js

# On Windows only do this step for browser, skip for metro.
Expand Down
5 changes: 5 additions & 0 deletions browser/branding/unofficial/content/moz.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# vim: set filetype=python:
# 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/.

5 changes: 5 additions & 0 deletions browser/branding/unofficial/locales/moz.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# vim: set filetype=python:
# 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/.

7 changes: 7 additions & 0 deletions browser/branding/unofficial/moz.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# vim: set filetype=python:
# 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/.

DIRS += ['content', 'locales']

20 changes: 0 additions & 20 deletions browser/build.mk
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,6 @@
# 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/.

ifndef LIBXUL_SDK
include $(topsrcdir)/toolkit/toolkit-tiers.mk
endif

TIERS += app

ifdef MOZ_EXTENSIONS
tier_app_dirs += extensions
endif

tier_app_dirs += $(MOZ_BRANDING_DIRECTORY)

ifdef MOZ_WEBAPP_RUNTIME
tier_app_dirs += webapprt
endif

tier_app_dirs += browser
# Never add other tier_app_dirs after browser. They won't get packaged
# properly on mac.

################################################
# Parallel build on Windows with GNU make check

Expand Down
25 changes: 0 additions & 25 deletions browser/components/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -28,31 +28,6 @@ EXTRA_PP_COMPONENTS = \

EXTRA_JS_MODULES = distribution.js

PARALLEL_DIRS = \
about \
certerror \
dirprovider \
downloads \
feeds \
places \
preferences \
privatebrowsing \
search \
sessionstore \
shell \
sidebar \
tabview \
migration \
$(NULL)

ifdef MOZ_SAFE_BROWSING
PARALLEL_DIRS += safebrowsing
endif

TEST_DIRS += test

DIRS += build

ifdef MOZILLA_OFFICIAL
DEFINES += -DOFFICIAL_BUILD=1
endif
Expand Down
5 changes: 5 additions & 0 deletions browser/components/about/moz.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# vim: set filetype=python:
# 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/.

5 changes: 5 additions & 0 deletions browser/components/build/moz.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# vim: set filetype=python:
# 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/.

2 changes: 0 additions & 2 deletions browser/components/certerror/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,4 @@ VPATH = @srcdir@

include $(DEPTH)/config/autoconf.mk

TEST_DIRS += test

include $(topsrcdir)/config/rules.mk
6 changes: 6 additions & 0 deletions browser/components/certerror/moz.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# vim: set filetype=python:
# 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/.

TEST_DIRS += ['test']
5 changes: 5 additions & 0 deletions browser/components/certerror/test/moz.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# vim: set filetype=python:
# 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/.

2 changes: 0 additions & 2 deletions browser/components/dirprovider/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ include $(DEPTH)/config/autoconf.mk
MODULE = browserdir
LIBRARY_NAME = browserdir_s

TEST_DIRS += tests

FORCE_STATIC_LIB = 1
USE_STATIC_LIBS = 1

Expand Down
6 changes: 6 additions & 0 deletions browser/components/dirprovider/moz.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# vim: set filetype=python:
# 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/.

TEST_DIRS += ['tests']
5 changes: 5 additions & 0 deletions browser/components/dirprovider/tests/moz.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# vim: set filetype=python:
# 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/.

4 changes: 0 additions & 4 deletions browser/components/downloads/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,4 @@ VPATH = @srcdir@

include $(DEPTH)/config/autoconf.mk

DIRS = src

TEST_DIRS += test

include $(topsrcdir)/config/rules.mk
7 changes: 7 additions & 0 deletions browser/components/downloads/moz.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# vim: set filetype=python:
# 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/.

DIRS += ['src']
TEST_DIRS += ['test']
Loading

0 comments on commit 61074b3

Please sign in to comment.