mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 574120 - Add IPC support to android embedding code, r=blassey
This commit is contained in:
parent
3f44ef431c
commit
8ded619d9e
@ -44,5 +44,8 @@ public class App extends GeckoApp {
|
||||
public String getAppName() {
|
||||
return "@MOZ_APP_NAME@";
|
||||
}
|
||||
public String getContentProcessName() {
|
||||
return "@MOZ_CHILD_PROCESS_NAME@";
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -270,6 +270,7 @@ abstract public class GeckoApp
|
||||
}
|
||||
|
||||
abstract public String getAppName();
|
||||
abstract public String getContentProcessName();
|
||||
|
||||
protected void unpackComponents()
|
||||
{
|
||||
@ -323,6 +324,7 @@ abstract public class GeckoApp
|
||||
} while (status != StreamTokenizer.TT_EOF);
|
||||
|
||||
unpackFile(zip, buf, null, "application.ini");
|
||||
unpackFile(zip, buf, null, getContentProcessName());
|
||||
}
|
||||
|
||||
private void unpackFile(ZipFile zip, byte[] buf, ZipEntry fileEntry, String name)
|
||||
|
@ -41,6 +41,7 @@ srcdir = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
|
||||
include $(DEPTH)/config/autoconf.mk
|
||||
include $(topsrcdir)/ipc/app/defs.mk
|
||||
|
||||
JAVAFILES = \
|
||||
GeckoApp.java \
|
||||
@ -51,7 +52,8 @@ JAVAFILES = \
|
||||
|
||||
DEFINES += \
|
||||
-DMOZ_APP_DISPLAYNAME=$(MOZ_APP_DISPLAYNAME) \
|
||||
-DMOZ_APP_NAME=$(MOZ_APP_NAME)
|
||||
-DMOZ_APP_NAME=$(MOZ_APP_NAME) \
|
||||
-DMOZ_CHILD_PROCESS_NAME=$(MOZ_CHILD_PROCESS_NAME)
|
||||
|
||||
GARBAGE += \
|
||||
AndroidManifest.xml \
|
||||
@ -99,6 +101,10 @@ DIST_LINK_FILES = \
|
||||
blocklist.xml \
|
||||
$(NULL)
|
||||
|
||||
ifdef MOZ_IPC
|
||||
DIST_LINK_FILES += $(MOZ_CHILD_PROCESS_NAME)
|
||||
endif
|
||||
|
||||
JAVA_CLASSPATH = $(ANDROID_SDK)/android.jar
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
Loading…
Reference in New Issue
Block a user