зеркало из https://github.com/mozilla/gecko-dev.git
Bug 862986 - Part 1a: Move MOZ_CHILD_PROCESS_NAME and MOZ_CHILD_PROCESS_BUNDLE to configure.in, remove ipc/app/def.mk. r=glandium
This commit is contained in:
Родитель
b00d0c2090
Коммит
41e401f326
|
@ -33,7 +33,6 @@ DEFINES += \
|
|||
|
||||
DEFINES += -DJAREXT=
|
||||
|
||||
include $(topsrcdir)/ipc/app/defs.mk
|
||||
DEFINES += -DMOZ_CHILD_PROCESS_NAME=$(MOZ_CHILD_PROCESS_NAME)
|
||||
|
||||
# Set MSVC dlls version to package, if any.
|
||||
|
|
|
@ -69,7 +69,6 @@ DEFINES += -DMOZ_ANGLE_RENDERER=$(MOZ_ANGLE_RENDERER)
|
|||
DEFINES += -DMOZ_D3DCOMPILER_DLL=$(MOZ_D3DCOMPILER_DLL)
|
||||
endif
|
||||
|
||||
include $(topsrcdir)/ipc/app/defs.mk
|
||||
DEFINES += -DMOZ_CHILD_PROCESS_NAME=$(MOZ_CHILD_PROCESS_NAME)
|
||||
|
||||
# Set MSVC dlls version to package, if any.
|
||||
|
|
17
configure.in
17
configure.in
|
@ -8650,6 +8650,23 @@ fi
|
|||
AC_DEFINE_UNQUOTED(MOZ_MACBUNDLE_ID,$MOZ_MACBUNDLE_ID)
|
||||
AC_SUBST(MOZ_MACBUNDLE_ID)
|
||||
|
||||
dnl ========================================================
|
||||
dnl = Child Process Name for IPC
|
||||
dnl ========================================================
|
||||
if test "$MOZ_WIDGET_TOOLKIT" != "android"; then
|
||||
MOZ_CHILD_PROCESS_NAME="plugin-container${BIN_SUFFIX}"
|
||||
else
|
||||
# We want to let Android unpack the file at install time, but it only does
|
||||
# so if the file is named libsomething.so. The lib/ path is also required
|
||||
# because the unpacked file will be under the lib/ subdirectory and will
|
||||
# need to be executed from that path.
|
||||
MOZ_CHILD_PROCESS_NAME="lib/libplugin-container.so"
|
||||
fi
|
||||
MOZ_CHILD_PROCESS_BUNDLE="plugin-container.app/Contents/MacOS/"
|
||||
|
||||
AC_SUBST(MOZ_CHILD_PROCESS_NAME)
|
||||
AC_SUBST(MOZ_CHILD_PROCESS_BUNDLE)
|
||||
|
||||
# The following variables are available to branding and application
|
||||
# configuration ($BRANDING/configure.sh and $APPLICATION/confvars.sh):
|
||||
# - MOZ_APP_VENDOR: Used for application.ini's "Vendor" field, which also
|
||||
|
|
|
@ -9,7 +9,6 @@ VPATH = @srcdir@
|
|||
|
||||
include $(DEPTH)/config/autoconf.mk
|
||||
|
||||
include $(topsrcdir)/ipc/app/defs.mk
|
||||
PROGRAM = $(MOZ_CHILD_PROCESS_NAME)
|
||||
|
||||
ifneq ($(dir $(PROGRAM)),./)
|
||||
|
|
|
@ -1,14 +0,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/.
|
||||
|
||||
ifneq (android,$(MOZ_WIDGET_TOOLKIT))
|
||||
MOZ_CHILD_PROCESS_NAME := plugin-container$(BIN_SUFFIX)
|
||||
else
|
||||
# We want to let Android unpack the file at install time, but it only does
|
||||
# so if the file is named libsomething.so. The lib/ path is also required
|
||||
# because the unpacked file will be under the lib/ subdirectory and will
|
||||
# need to be executed from that path.
|
||||
MOZ_CHILD_PROCESS_NAME := lib/libplugin-container.so
|
||||
endif
|
||||
MOZ_CHILD_PROCESS_BUNDLE := plugin-container.app/Contents/MacOS/
|
|
@ -61,7 +61,6 @@ else
|
|||
CPPSRCS += ProcessUtils_none.cpp
|
||||
endif
|
||||
|
||||
include $(topsrcdir)/ipc/app/defs.mk
|
||||
DEFINES += -DMOZ_CHILD_PROCESS_NAME=\"$(MOZ_CHILD_PROCESS_NAME)\"
|
||||
DEFINES += -DMOZ_CHILD_PROCESS_BUNDLE=\"$(MOZ_CHILD_PROCESS_BUNDLE)\"
|
||||
|
||||
|
@ -69,7 +68,3 @@ include $(topsrcdir)/config/config.mk
|
|||
include $(topsrcdir)/ipc/chromium/chromium-config.mk
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
# Since we get the value of MOZ_CHILD_PROCESS_NAME from another file make sure
|
||||
# to rebuild if that file changes.
|
||||
$(CPPSRCS:%.cpp=%.$(OBJ_SUFFIX)): $(topsrcdir)/ipc/app/defs.mk
|
||||
|
|
|
@ -8,7 +8,6 @@ srcdir = @srcdir@
|
|||
VPATH = @srcdir@
|
||||
|
||||
include $(DEPTH)/config/autoconf.mk
|
||||
include $(topsrcdir)/ipc/app/defs.mk
|
||||
|
||||
DIST_FILES = package-name.txt
|
||||
|
||||
|
|
|
@ -37,8 +37,6 @@ DEFINES += \
|
|||
$(NULL)
|
||||
|
||||
DEFINES += -DJAREXT=
|
||||
|
||||
include $(topsrcdir)/ipc/app/defs.mk
|
||||
DEFINES += -DMOZ_CHILD_PROCESS_NAME=$(MOZ_CHILD_PROCESS_NAME)
|
||||
|
||||
ifdef MOZ_PKG_MANIFEST_P
|
||||
|
|
|
@ -307,8 +307,6 @@ NON_DIST_FILES = \
|
|||
|
||||
UPLOAD_EXTRA_FILES += gecko-unsigned-unaligned.apk
|
||||
|
||||
include $(MOZILLA_DIR)/ipc/app/defs.mk
|
||||
|
||||
DIST_FILES += $(MOZ_CHILD_PROCESS_NAME)
|
||||
|
||||
ifeq ($(CPU_ARCH),x86)
|
||||
|
|
Загрузка…
Ссылка в новой задаче