mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 784841 - Part 18e: Convert /build, /config, and core build system; r=ted
This commit is contained in:
parent
758d7a8978
commit
aa1ef1d3f8
37
Makefile.in
37
Makefile.in
@ -21,43 +21,6 @@ include $(DEPTH)/config/autoconf.mk
|
|||||||
|
|
||||||
default::
|
default::
|
||||||
|
|
||||||
TIERS += base
|
|
||||||
|
|
||||||
#
|
|
||||||
# tier "base" - basic setup
|
|
||||||
#
|
|
||||||
tier_base_dirs = \
|
|
||||||
config \
|
|
||||||
build \
|
|
||||||
probes \
|
|
||||||
mfbt \
|
|
||||||
python \
|
|
||||||
$(NULL)
|
|
||||||
|
|
||||||
ifndef LIBXUL_SDK
|
|
||||||
ifeq (android,$(MOZ_WIDGET_TOOLKIT))
|
|
||||||
tier_base_dirs += \
|
|
||||||
other-licenses/android \
|
|
||||||
$(NULL)
|
|
||||||
endif
|
|
||||||
ifeq (gonk,$(MOZ_WIDGET_TOOLKIT))
|
|
||||||
tier_base_dirs += \
|
|
||||||
other-licenses/android \
|
|
||||||
$(NULL)
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifdef MOZ_MEMORY
|
|
||||||
tier_base_dirs += memory
|
|
||||||
endif
|
|
||||||
ifndef MOZ_NATIVE_ZLIB
|
|
||||||
tier_base_dirs += modules/zlib
|
|
||||||
endif
|
|
||||||
tier_base_dirs += \
|
|
||||||
mozglue \
|
|
||||||
memory/mozalloc \
|
|
||||||
$(NULL)
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifdef COMPILE_ENVIRONMENT
|
ifdef COMPILE_ENVIRONMENT
|
||||||
include $(topsrcdir)/$(MOZ_BUILD_APP)/build.mk
|
include $(topsrcdir)/$(MOZ_BUILD_APP)/build.mk
|
||||||
endif
|
endif
|
||||||
|
@ -14,29 +14,6 @@ include $(topsrcdir)/config/makefiles/makeutils.mk
|
|||||||
|
|
||||||
MODULE = build
|
MODULE = build
|
||||||
|
|
||||||
ifeq (,$(filter WINNT OS2,$(OS_ARCH)))
|
|
||||||
DIRS = unix
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifeq (WINNT,$(OS_ARCH))
|
|
||||||
DIRS = win32
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifdef STLPORT_SOURCES
|
|
||||||
DIRS += stlport
|
|
||||||
endif
|
|
||||||
|
|
||||||
DIRS += pgo
|
|
||||||
|
|
||||||
ifeq (android,$(MOZ_WIDGET_TOOLKIT))
|
|
||||||
TEST_DIRS += mobile/sutagent/android \
|
|
||||||
mobile/sutagent/android/watcher \
|
|
||||||
mobile/sutagent/android/ffxcp \
|
|
||||||
mobile/sutagent/android/fencp \
|
|
||||||
mobile/robocop \
|
|
||||||
$(NULL)
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifdef MOZ_APP_BASENAME
|
ifdef MOZ_APP_BASENAME
|
||||||
DIST_FILES = $(srcdir)/application.ini
|
DIST_FILES = $(srcdir)/application.ini
|
||||||
|
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
|
# vim: set filetype=python:
|
||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
# 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
|
# 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/.
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||||
|
|
||||||
TIERS += js
|
|
||||||
tier_js_dirs = js/src
|
|
5
build/mobile/sutagent/android/fencp/moz.build
Normal file
5
build/mobile/sutagent/android/fencp/moz.build
Normal file
@ -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
build/mobile/sutagent/android/ffxcp/moz.build
Normal file
5
build/mobile/sutagent/android/ffxcp/moz.build
Normal file
@ -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
build/mobile/sutagent/android/moz.build
Normal file
5
build/mobile/sutagent/android/moz.build
Normal file
@ -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
build/mobile/sutagent/android/watcher/moz.build
Normal file
5
build/mobile/sutagent/android/watcher/moz.build
Normal file
@ -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/.
|
||||||
|
|
24
build/moz.build
Normal file
24
build/moz.build
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
# 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 CONFIG['OS_ARCH'] not in ('WINNT', 'OS2'):
|
||||||
|
DIRS += ['unix']
|
||||||
|
elif CONFIG['OS_ARCH'] == 'WINNT':
|
||||||
|
DIRS += ['win32']
|
||||||
|
|
||||||
|
if CONFIG['STLPORT_SOURCES']:
|
||||||
|
DIRS += ['stlport']
|
||||||
|
|
||||||
|
DIRS += ['pgo']
|
||||||
|
|
||||||
|
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'android':
|
||||||
|
TEST_DIRS += [
|
||||||
|
'mobile/sutagent/android',
|
||||||
|
'mobile/sutagent/android/watcher',
|
||||||
|
'mobile/sutagent/android/ffxcp',
|
||||||
|
'mobile/sutagent/android/fencp',
|
||||||
|
'mobile/robocop',
|
||||||
|
]
|
||||||
|
|
5
build/package/moz.build
Normal file
5
build/package/moz.build
Normal file
@ -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/.
|
||||||
|
|
@ -11,11 +11,6 @@ relativesrcdir = @relativesrcdir@
|
|||||||
|
|
||||||
include $(DEPTH)/config/autoconf.mk
|
include $(DEPTH)/config/autoconf.mk
|
||||||
|
|
||||||
DIRS = \
|
|
||||||
blueprint \
|
|
||||||
js-input \
|
|
||||||
$(NULL)
|
|
||||||
|
|
||||||
include $(topsrcdir)/config/rules.mk
|
include $(topsrcdir)/config/rules.mk
|
||||||
|
|
||||||
# We install to _profile/pgo
|
# We install to _profile/pgo
|
||||||
|
5
build/pgo/blueprint/moz.build
Normal file
5
build/pgo/blueprint/moz.build
Normal file
@ -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
build/pgo/js-input/moz.build
Normal file
5
build/pgo/js-input/moz.build
Normal file
@ -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
build/pgo/moz.build
Normal file
6
build/pgo/moz.build
Normal file
@ -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 += ['blueprint', 'js-input']
|
7
build/stlport/moz.build
Normal file
7
build/stlport/moz.build
Normal file
@ -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/.
|
||||||
|
|
||||||
|
CONFIGURE_SUBST_FILES += ['stl/config/_android.h']
|
||||||
|
|
@ -13,16 +13,6 @@ include $(DEPTH)/config/autoconf.mk
|
|||||||
|
|
||||||
MODULE = build
|
MODULE = build
|
||||||
|
|
||||||
ifdef STDCXX_COMPAT
|
|
||||||
DIRS += stdc++compat
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifdef USE_ELF_HACK
|
|
||||||
DIRS += elfhack
|
|
||||||
endif
|
|
||||||
|
|
||||||
TEST_DIRS = test
|
|
||||||
|
|
||||||
SDK_BINARY = run-mozilla.sh
|
SDK_BINARY = run-mozilla.sh
|
||||||
|
|
||||||
include $(topsrcdir)/config/rules.mk
|
include $(topsrcdir)/config/rules.mk
|
||||||
|
5
build/unix/elfhack/moz.build
Normal file
5
build/unix/elfhack/moz.build
Normal file
@ -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/.
|
||||||
|
|
13
build/unix/moz.build
Normal file
13
build/unix/moz.build
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
# 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 CONFIG['STDCXX_COMPAT']:
|
||||||
|
DIRS += ['stdc++compat']
|
||||||
|
|
||||||
|
if CONFIG['USE_ELF_HACK']:
|
||||||
|
DIRS += ['elfhack']
|
||||||
|
|
||||||
|
TEST_DIRS += ['test']
|
||||||
|
|
5
build/unix/stdc++compat/moz.build
Normal file
5
build/unix/stdc++compat/moz.build
Normal file
@ -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
build/unix/test/moz.build
Normal file
5
build/unix/test/moz.build
Normal file
@ -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/.
|
||||||
|
|
@ -11,16 +11,6 @@ include $(DEPTH)/config/autoconf.mk
|
|||||||
|
|
||||||
NO_PROFILE_GUIDED_OPTIMIZE = 1
|
NO_PROFILE_GUIDED_OPTIMIZE = 1
|
||||||
|
|
||||||
ifdef _MSC_VER
|
|
||||||
ifneq ($(OS_TEST),x86_64)
|
|
||||||
TEST_DIRS += vmwarerecordinghelper
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
|
|
||||||
TEST_DIRS += \
|
|
||||||
crashinjectdll \
|
|
||||||
$(NULL)
|
|
||||||
|
|
||||||
ifdef ENABLE_TESTS
|
ifdef ENABLE_TESTS
|
||||||
|
|
||||||
PROGRAM = crashinject$(BIN_SUFFIX)
|
PROGRAM = crashinject$(BIN_SUFFIX)
|
||||||
|
5
build/win32/crashinjectdll/moz.build
Normal file
5
build/win32/crashinjectdll/moz.build
Normal file
@ -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/.
|
||||||
|
|
10
build/win32/moz.build
Normal file
10
build/win32/moz.build
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
# 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 CONFIG['_MSC_VER'] and CONFIG['OS_TEST'] != 'x86_64':
|
||||||
|
TEST_DIRS += ['vmwarerecordinghelper']
|
||||||
|
|
||||||
|
TEST_DIRS += ['crashinjectdll']
|
||||||
|
|
5
build/win32/vmwarerecordinghelper/moz.build
Normal file
5
build/win32/vmwarerecordinghelper/moz.build
Normal file
@ -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
config/js/js.mozbuild
Normal file
7
config/js/js.mozbuild
Normal file
@ -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/.
|
||||||
|
|
||||||
|
add_tier_dir('js', 'js/src', static=True)
|
||||||
|
|
@ -11,6 +11,7 @@ VPATH = @srcdir@
|
|||||||
|
|
||||||
include $(DEPTH)/config/autoconf.mk
|
include $(DEPTH)/config/autoconf.mk
|
||||||
|
|
||||||
|
STANDALONE_MAKEFILE := 1
|
||||||
USE_AUTOTARGETS_MK = 1
|
USE_AUTOTARGETS_MK = 1
|
||||||
MAKEUTILS_UNIT_TEST = 1
|
MAKEUTILS_UNIT_TEST = 1
|
||||||
include $(topsrcdir)/config/makefiles/makeutils.mk
|
include $(topsrcdir)/config/makefiles/makeutils.mk
|
||||||
|
5
config/makefiles/test/moz.build
Normal file
5
config/makefiles/test/moz.build
Normal file
@ -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/.
|
||||||
|
|
13
config/moz.build
Normal file
13
config/moz.build
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
# 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/.
|
||||||
|
|
||||||
|
CONFIGURE_SUBST_FILES += [
|
||||||
|
'autoconf.mk',
|
||||||
|
'doxygen.cfg',
|
||||||
|
'makefiles/test/Makefile',
|
||||||
|
'tests/makefiles/autodeps/Makefile',
|
||||||
|
'tests/src-simple/Makefile',
|
||||||
|
]
|
||||||
|
|
5
config/nspr/moz.build
Normal file
5
config/nspr/moz.build
Normal file
@ -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,6 +5,7 @@
|
|||||||
# You can obtain one at http://mozilla.org/MPL/2.0/.
|
# You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||||
#
|
#
|
||||||
|
|
||||||
|
export STANDALONE_MAKEFILE=1
|
||||||
PYTHON ?= python
|
PYTHON ?= python
|
||||||
PYTEST = $(PYTHON) -E
|
PYTEST = $(PYTHON) -E
|
||||||
|
|
||||||
|
5
config/tests/makefiles/autodeps/moz.build
Normal file
5
config/tests/makefiles/autodeps/moz.build
Normal file
@ -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/.
|
||||||
|
|
@ -13,6 +13,8 @@ include $(DEPTH)/config/autoconf.mk
|
|||||||
|
|
||||||
include $(topsrcdir)/config/config.mk
|
include $(topsrcdir)/config/config.mk
|
||||||
|
|
||||||
|
STANDALONE_MAKEFILE := 1
|
||||||
|
|
||||||
XPI_NAME = test_jar_mn
|
XPI_NAME = test_jar_mn
|
||||||
|
|
||||||
DEFINES += \
|
DEFINES += \
|
||||||
|
5
config/tests/src-simple/moz.build
Normal file
5
config/tests/src-simple/moz.build
Normal file
@ -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/.
|
||||||
|
|
@ -9,6 +9,7 @@ nsinstall
|
|||||||
nsinstall.exe
|
nsinstall.exe
|
||||||
host_nsinstall.o
|
host_nsinstall.o
|
||||||
host_pathsub.o
|
host_pathsub.o
|
||||||
|
moz.build
|
||||||
|
|
||||||
# This is a copy of nspr's config/make-system-wrappers.pl.
|
# This is a copy of nspr's config/make-system-wrappers.pl.
|
||||||
make-system-wrappers.pl
|
make-system-wrappers.pl
|
||||||
|
23
moz.build
Normal file
23
moz.build
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
# 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/.
|
||||||
|
|
||||||
|
add_tier_dir('base', ['config', 'build', 'probes', 'mfbt', 'python'])
|
||||||
|
|
||||||
|
if not CONFIG['LIBXUL_SDK']:
|
||||||
|
if CONFIG['MOZ_WIDGET_TOOLKIT'] in ('android', 'gonk'):
|
||||||
|
add_tier_dir('base', ['other-licenses/android'])
|
||||||
|
|
||||||
|
if CONFIG['MOZ_MEMORY']:
|
||||||
|
add_tier_dir('base', ['memory'])
|
||||||
|
|
||||||
|
if not CONFIG['MOZ_NATIVE_ZLIB']:
|
||||||
|
add_tier_dir('base', ['modules/zlib'])
|
||||||
|
|
||||||
|
add_tier_dir('base', ['mozglue', 'memory/mozalloc'])
|
||||||
|
|
||||||
|
# Bring in the configuration for the configured application.
|
||||||
|
if CONFIG['COMPILE_ENVIRONMENT']:
|
||||||
|
include('/' + CONFIG['MOZ_BUILD_APP'] + '/app.mozbuild')
|
||||||
|
|
5
python/moz.build
Normal file
5
python/moz.build
Normal file
@ -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/.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user