зеркало из https://github.com/mozilla/gecko-dev.git
Bug 924232 - Part 1: Remove special processing of FENNEC_PP_JAVA_VIEW_FILES. r=mfinkle
This commit is contained in:
Родитель
9d0ac7a132
Коммит
7ab7ee63e8
|
@ -0,0 +1,3 @@
|
|||
#filter substitution
|
||||
#define VIEWTYPE Button
|
||||
#include GeckoView.java.frag
|
|
@ -0,0 +1,3 @@
|
|||
#filter substitution
|
||||
#define VIEWTYPE EditText
|
||||
#include GeckoView.java.frag
|
|
@ -0,0 +1,3 @@
|
|||
#filter substitution
|
||||
#define VIEWTYPE FrameLayout
|
||||
#include GeckoView.java.frag
|
|
@ -0,0 +1,3 @@
|
|||
#filter substitution
|
||||
#define VIEWTYPE ImageButton
|
||||
#include GeckoView.java.frag
|
|
@ -0,0 +1,3 @@
|
|||
#filter substitution
|
||||
#define VIEWTYPE ImageView
|
||||
#include GeckoView.java.frag
|
|
@ -0,0 +1,3 @@
|
|||
#filter substitution
|
||||
#define VIEWTYPE LinearLayout
|
||||
#include GeckoView.java.frag
|
|
@ -0,0 +1,3 @@
|
|||
#filter substitution
|
||||
#define VIEWTYPE RelativeLayout
|
||||
#include GeckoView.java.frag
|
|
@ -0,0 +1,3 @@
|
|||
#filter substitution
|
||||
#define VIEWTYPE TextSwitcher
|
||||
#include GeckoView.java.frag
|
|
@ -0,0 +1,3 @@
|
|||
#filter substitution
|
||||
#define VIEWTYPE TextView
|
||||
#include GeckoView.java.frag
|
|
@ -298,21 +298,18 @@ ifdef MOZ_ANDROID_ANR_REPORTER
|
|||
DEFINES += -DMOZ_ANDROID_ANR_REPORTER=1
|
||||
endif
|
||||
|
||||
FENNEC_PP_JAVA_VIEW_FILES = \
|
||||
FENNEC_PP_JAVA_FILES := \
|
||||
App.java \
|
||||
AppConstants.java \
|
||||
GeckoButton.java \
|
||||
GeckoImageButton.java \
|
||||
GeckoImageView.java \
|
||||
GeckoEditText.java \
|
||||
GeckoFrameLayout.java \
|
||||
GeckoImageButton.java \
|
||||
GeckoImageView.java \
|
||||
GeckoLinearLayout.java \
|
||||
GeckoRelativeLayout.java \
|
||||
GeckoTextSwitcher.java \
|
||||
GeckoTextView.java \
|
||||
$(NULL)
|
||||
|
||||
FENNEC_PP_JAVA_FILES = \
|
||||
App.java \
|
||||
AppConstants.java \
|
||||
SysInfo.java \
|
||||
WebApp.java \
|
||||
WebApps.java \
|
||||
|
@ -395,7 +392,6 @@ GARBAGE += \
|
|||
classes.dex \
|
||||
$(MOZGLUE_PP_JAVA_FILES) \
|
||||
$(FENNEC_PP_JAVA_FILES) \
|
||||
$(FENNEC_PP_JAVA_VIEW_FILES) \
|
||||
$(SYNC_PP_JAVA_FILES) \
|
||||
gecko.ap_ \
|
||||
res/values/strings.xml \
|
||||
|
@ -1245,7 +1241,6 @@ gecko-browser_JAVAFILES := \
|
|||
$(NULL)
|
||||
gecko-browser_PP_JAVAFILES := \
|
||||
$(FENNEC_PP_JAVA_FILES) \
|
||||
$(FENNEC_PP_JAVA_VIEW_FILES) \
|
||||
$(SYNC_PP_JAVA_FILES) \
|
||||
R.java \
|
||||
$(NULL)
|
||||
|
@ -1271,7 +1266,6 @@ JAVA_JAR_TARGETS += gecko-util
|
|||
gecko-util_DEST := jars/gecko-util.jar
|
||||
gecko-util_JAVAFILES := \
|
||||
$(UTIL_JAVA_FILES) \
|
||||
$(UTIL_PP_JAVA_FILES) \
|
||||
$(NULL)
|
||||
gecko-util_EXTRA_JARS := \
|
||||
jars/gecko-mozglue.jar \
|
||||
|
@ -1374,11 +1368,6 @@ $(android-tgts): % : %.in $(android-preqs)
|
|||
$(PYTHON) $(topsrcdir)/config/Preprocessor.py \
|
||||
$(AUTOMATION_PPARGS) $(DEFINES) $(ACDEFINES) $< > $@
|
||||
|
||||
# Replace @VIEWTYPE@ with different View names.
|
||||
$(FENNEC_PP_JAVA_VIEW_FILES): GeckoView.java.frag
|
||||
@rm -f $@
|
||||
cat $< | sed s,@VIEWTYPE@,$(patsubst Gecko%.java,%,$@),g >> $@ ; \
|
||||
|
||||
res/drawable-mdpi/icon.png: $(ICON_PATH)
|
||||
$(NSINSTALL) -D res/drawable-mdpi
|
||||
cp $(ICON_PATH) $@
|
||||
|
|
Загрузка…
Ссылка в новой задаче