B, 根據https://github.com/CyanogenMod/a ... eb8d1ffe13e95445af3的patch 解決了以下出現的webkit問題
target Generated: libwebcore <=
external/webkit/WebCore/xml/XSLTProcessor.idl
target Generated: libwebcore <=
external/webkit/WebCore/dom/make_names.pl
target Generated: libwebcore <=
external/webkit/WebCore/dom/make_names.pl
target Generated: libwebcore <=
external/webkit/WebCore/dom/make_names.pl
Unknown parameter a interfaceName for tags/attrs
make: ***
[out/target/product/eve/obj/STATIC_LIBRARIES/libwebcore_intermediates/WebCore/JSHTMLElementWrapperFactory.h]
Error
255
make: *** Waiting for unfinished jobs....
Unknown parameter a interfaceName for tags/attrs
make: ***
[out/target/product/eve/obj/STATIC_LIBRARIES/libwebcore_intermediates/WebCore/HTMLElementFactory.h]
Error
255
Unknown parameter a interfaceName for tags/attrs
make: ***
[out/target/product/eve/obj/STATIC_LIBRARIES/libwebcore_intermediates/WebCore/HTMLNames.h]
Error
255
...
C, 自行解決了以下的問題(其實就是和A問題一樣)
Install: out/host/linux-x86/bin/mkbootimg
host C++: mksnapshot <= external/v8/src/accessors.cc
In file included from external/v8/src/v8.h:63:0,
from external/v8/src/accessors.cc:28:
external/v8/src/objects.h: In instantiation of
‘v8::internal::PropertyDetails v8::internal::Dictionary<Shape,
Key>::DetailsAt(int) [with Shape =
v8::internal::StringDictionaryShape; Key = v8::internal::String*]’:
external/v8/src/property.h:189:62: required from here
external/v8/src/objects.h:2140:71: error: ‘get’ was not declared in
this scope, and no declarations were found by argument-dependent lookup
at the point of instantiation [-fpermissive]
external/v8/src/objects.h:2140:71: note: declarations in dependent base
‘v8::internal::FixedArray’ are not found by unqualified lookup
external/v8/src/objects.h:2140:71: note: use ‘this->get’ instead
external/v8/src/objects.h: In instantiation of ‘v8::internal::Object*
v8::internal::Dictionary<Shape, Key>::ValueAt(int) [with Shape =
v8::internal::StringDictionaryShape; Key = v8::internal::String*]’:
external/v8/src/property.h:248:78: required from here
external/v8/src/objects.h:2128:60: error: ‘get’ was not declared in
this scope, and no declarations were found by argument-dependent lookup
at the point of instantiation [-fpermissive]
....
fix:
vi external/v8/Android.mksnapshot.mk
Add '-fpermissive' to line 60
LOCAL_CFLAGS := \
-Wno-endif-labels \
-Wno-import \
-Wno-format \
-ansi \
-fno-rtti \
-DENABLE_DEBUGGER_SUPPORT \
-DV8_NATIVE_REGEXP -fpermissive