首页 > 代码库 > 不幸的问题还是出现了:Chromium代码上整理patch(working目录/master分支),部分文件做了git checkout恢复,结果GYP再编译就出错了
不幸的问题还是出现了:Chromium代码上整理patch(working目录/master分支),部分文件做了git checkout恢复,结果GYP再编译就出错了
redtea@Lenovo:~/Projects/Chromium/src$ ninja -C out/Release android_webview_apk
ninja: Entering directory `out/Release‘
[3/24] CXX obj/android_webview/browser/android_webview_common.shared_renderer_state.o
FAILED: /home/redtea/Projects/Chromium/src/third_party/android_tools/ndk//toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++ -MMD -MF obj/android_webview/browser/android_webview_common.shared_renderer_state.o.d -DV8_DEPRECATION_WARNINGS -D_FILE_OFFSET_BITS=64 -DNO_TCMALLOC -DDISABLE_NACL -DCHROMIUM_BUILD -DUSE_LIBJPEG_TURBO=1 -DENABLE_PROFILING=1 -DENABLE_WEBRTC=1 -DUSE_PROPRIETARY_CODECS -DENABLE_BROWSER_CDMS -DENABLE_CONFIGURATION_POLICY -DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY -DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE -DENABLE_EGLIMAGE=1 -DENABLE_AUTOFILL_DIALOG=1 -DCLD_VERSION=1 -DENABLE_PRINTING=1 -DENABLE_MANAGED_USERS=1 -DVIDEO_HOLE=1 -DENABLE_LOAD_COMPLETION_HACKS=1 -DMOJO_USE_SYSTEM_IMPL -DLIBPEERCONNECTION_LIB=1 -DAPPCACHE_USE_SIMPLE_CACHE -DMEDIA_DISABLE_LIBVPX -DSK_ENABLE_INST_COUNT=0 -DSK_SUPPORT_GPU=1 ‘-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"‘ -DSK_ENABLE_LEGACY_API_ALIASING=1 -DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1 -DGR_GL_IGNORE_ES3_MSAA=0 -DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT -DSK_SUPPORT_LEGACY_TEXTRENDERMODE -DSK_BUILD_FOR_ANDROID -DSK_USE_POSIX_THREADS -DSK_DEFERRED_CANVAS_USES_FACTORIES=1 -DU_USING_ICU_NAMESPACE=0 -DU_ENABLE_DYLOAD=0 -DU_STATIC_IMPLEMENTATION -DCHROME_PNG_WRITE_SUPPORT -DPNG_USER_CONFIG -DCHROME_PNG_READ_PACK_SUPPORT -DMESA_EGL_NO_X11_HEADERS -DUSE_OPENSSL=1 -DUSE_OPENSSL_CERTS=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DANDROID -D__GNU_SOURCE=1 -DUSE_STLPORT=1 -D_STLP_USE_PTR_SPECIALIZATIONS=1 ‘-DCHROME_BUILD_ID=""‘ -DHAVE_SYS_UIO_H -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -D_FORTIFY_SOURCE=2 -Igen -I../.. -I../../skia/config -Igen/ui/resources/ -I../../third_party/khronos -I../../gpu -I../../third_party/WebKit/Source -Igen/angle -I../../third_party/WebKit -I../../third_party/skia/src/core -I../../third_party/skia/include/core -I../../third_party/skia/include/effects -I../../third_party/skia/include/pdf -I../../third_party/skia/include/gpu -I../../third_party/skia/include/lazy -I../../third_party/skia/include/pathops -I../../third_party/skia/include/pipe -I../../third_party/skia/include/ports -I../../third_party/skia/include/utils -I../../skia/ext -I../../third_party/WebKit -I../../third_party/icu/source/common -I../../third_party/npapi -I../../third_party/npapi/bindings -I../../v8/include -I../../third_party/libpng -I../../third_party/zlib -I../../third_party/libwebp -I../../third_party/ots/include -I../../third_party/qcms/src -I../../third_party/iccjpeg -I../../third_party/libjpeg_turbo -Igen/ui/gl -I../../third_party/mesa/src/include -fstack-protector --param=ssp-buffer-size=4 -Werror -fno-strict-aliasing -Wall -Wno-unused-parameter -Wno-missing-field-initializers -fvisibility=hidden -pipe -fPIC -Wno-unused-local-typedefs -march=armv7-a -mtune=generic-armv7-a -mfpu=vfpv3-d16 -mfloat-abi=softfp -mthumb -fno-tree-sra -fno-caller-saves -Wno-psabi -mthumb-interwork -marm -mapcs-frame -fno-optimize-sibling-calls -ffunction-sections -funwind-tables -g -fstack-protector -fno-short-enums -finline-limit=64 -Wa,--noexecstack -fno-omit-frame-pointer --sysroot=/home/redtea/Projects/Chromium/src/third_party/android_tools/ndk//platforms/android-14/arch-arm -isystem/home/redtea/Projects/Chromium/src/third_party/android_tools/ndk//sources/cxx-stl/stlport/stlport -Os -fno-ident -fdata-sections -ffunction-sections -fno-omit-frame-pointer -g -funwind-tables -fno-omit-frame-pointer -fno-exceptions -fno-rtti -fno-threadsafe-statics -fvisibility-inlines-hidden -Wsign-compare -Wno-abi -std=gnu++11 -Wno-narrowing -Wno-literal-suffix -c ../../android_webview/browser/shared_renderer_state.cc -o obj/android_webview/browser/android_webview_common.shared_renderer_state.o
../../android_webview/browser/shared_renderer_state.cc: In member function ‘void android_webview::SharedRendererState::UpdateParentDrawConstraintsOnUIThread()‘:
../../android_webview/browser/shared_renderer_state.cc:153:15: error: variable ‘prevent_recursive_call‘ set but not used [-Werror=unused-but-set-variable]
static bool prevent_recursive_call = false; //FIXME: should be atomic<bool> here;
^
In file included from ../../base/memory/weak_ptr.h:68:0,
from ../../base/bind_helpers.h:148,
from ../../base/bind_internal.h:13,
from ../../base/bind.h:13,
from ../../base/cancelable_callback.h:46,
from ../../android_webview/browser/shared_renderer_state.h:9,
from ../../android_webview/browser/shared_renderer_state.cc:5:
../../android_webview/browser/shared_renderer_state.cc: At global scope:
../../base/logging.h:355:3: error: expected unqualified-id before ‘!‘ token
!(condition) ? (void) 0 : ::logging::LogMessageVoidify() & (stream)
^
../../base/logging.h:622:3: note: in expansion of macro ‘LAZY_STREAM‘
LAZY_STREAM(LOG_STREAM(DCHECK), DCHECK_IS_ON && !(condition)) \
^
../../android_webview/browser/shared_renderer_state.cc:166:3: note: in expansion of macro ‘DCHECK‘
DCHECK(ui_loop_->BelongsToCurrentThread());
^
../../android_webview/browser/shared_renderer_state.cc:167:3: error: ‘client_on_ui_‘ does not name a type
client_on_ui_->UpdateParentDrawConstraints();
^
../../android_webview/browser/shared_renderer_state.cc:170:3: error: expected unqualified-id before ‘{‘ token
{
^
../../android_webview/browser/shared_renderer_state.cc:175:6: error: ‘SharedRendererState‘ has not been declared
bool SharedRendererState::HasDrawGLInput() const {
^
../../android_webview/browser/shared_renderer_state.cc:175:44: error: non-member function ‘bool HasDrawGLInput()‘ cannot have cv-qualifier
bool SharedRendererState::HasDrawGLInput() const {
^
../../android_webview/browser/shared_renderer_state.cc: In function ‘bool HasDrawGLInput()‘:
../../android_webview/browser/shared_renderer_state.cc:176:23: error: ‘lock_‘ was not declared in this scope
base::AutoLock lock(lock_);
^
../../android_webview/browser/shared_renderer_state.cc:177:10: error: ‘draw_gl_input_‘ was not declared in this scope
return draw_gl_input_.get();
^
../../android_webview/browser/shared_renderer_state.cc: At global scope:
../../android_webview/browser/shared_renderer_state.cc:180:6: error: ‘SharedRendererState‘ has not been declared
void SharedRendererState::SetDrawGLInput(scoped_ptr<DrawGLInput> input) {
^
../../android_webview/browser/shared_renderer_state.cc:180:53: error: ‘DrawGLInput‘ was not declared in this scope
void SharedRendererState::SetDrawGLInput(scoped_ptr<DrawGLInput> input) {
^
../../android_webview/browser/shared_renderer_state.cc:180:53: note: suggested alternative:
In file included from ../../android_webview/browser/shared_renderer_state.cc:5:0:
../../android_webview/browser/shared_renderer_state.h:36:8: note: ‘android_webview::DrawGLInput‘
struct DrawGLInput {
^
../../android_webview/browser/shared_renderer_state.cc:180:64: error: template argument 1 is invalid
void SharedRendererState::SetDrawGLInput(scoped_ptr<DrawGLInput> input) {
^
../../android_webview/browser/shared_renderer_state.cc:180:64: error: template argument 2 is invalid
../../android_webview/browser/shared_renderer_state.cc: In function ‘void SetDrawGLInput(int)‘:
../../android_webview/browser/shared_renderer_state.cc:181:23: error: ‘lock_‘ was not declared in this scope
base::AutoLock lock(lock_);
^
In file included from ../../base/memory/weak_ptr.h:68:0,
from ../../base/bind_helpers.h:148,
from ../../base/bind_internal.h:13,
from ../../base/bind.h:13,
from ../../base/cancelable_callback.h:46,
from ../../android_webview/browser/shared_renderer_state.h:9,
from ../../android_webview/browser/shared_renderer_state.cc:5:
../../android_webview/browser/shared_renderer_state.cc:182:11: error: ‘draw_gl_input_‘ was not declared in this scope
DCHECK(!draw_gl_input_.get());
^
../../base/logging.h:355:5: note: in definition of macro ‘LAZY_STREAM‘
!(condition) ? (void) 0 : ::logging::LogMessageVoidify() & (stream)
^
../../android_webview/browser/shared_renderer_state.cc:182:3: note: in expansion of macro ‘DCHECK‘
DCHECK(!draw_gl_input_.get());
^
../../android_webview/browser/shared_renderer_state.cc:183:26: error: request for member ‘Pass‘ in ‘input‘, which is of non-class type ‘int‘
draw_gl_input_ = input.Pass();
^
../../android_webview/browser/shared_renderer_state.cc: At global scope:
../../android_webview/browser/shared_renderer_state.cc:186:12: error: ‘DrawGLInput‘ was not declared in this scope
scoped_ptr<DrawGLInput> SharedRendererState::PassDrawGLInput() {
^
../../android_webview/browser/shared_renderer_state.cc:186:12: note: suggested alternative:
In file included from ../../android_webview/browser/shared_renderer_state.cc:5:0:
../../android_webview/browser/shared_renderer_state.h:36:8: note: ‘android_webview::DrawGLInput‘
struct DrawGLInput {
^
../../android_webview/browser/shared_renderer_state.cc:186:23: error: template argument 1 is invalid
scoped_ptr<DrawGLInput> SharedRendererState::PassDrawGLInput() {
^
../../android_webview/browser/shared_renderer_state.cc:186:23: error: template argument 2 is invalid
../../android_webview/browser/shared_renderer_state.cc:186:25: error: ‘SharedRendererState‘ has not been declared
scoped_ptr<DrawGLInput> SharedRendererState::PassDrawGLInput() {
^
../../android_webview/browser/shared_renderer_state.cc: In function ‘int PassDrawGLInput()‘:
../../android_webview/browser/shared_renderer_state.cc:187:23: error: ‘lock_‘ was not declared in this scope
base::AutoLock lock(lock_);
^
../../android_webview/browser/shared_renderer_state.cc:188:10: error: ‘draw_gl_input_‘ was not declared in this scope
return draw_gl_input_.Pass();
^
../../android_webview/browser/shared_renderer_state.cc: At global scope:
../../android_webview/browser/shared_renderer_state.cc:191:6: error: ‘SharedRendererState‘ has not been declared
bool SharedRendererState::UpdateDrawConstraints(
^
../../android_webview/browser/shared_renderer_state.cc:192:11: error: ‘ParentCompositorDrawConstraints‘ does not name a type
const ParentCompositorDrawConstraints& parent_draw_constraints) {
^
../../android_webview/browser/shared_renderer_state.cc: In function ‘bool UpdateDrawConstraints(const int&)‘:
../../android_webview/browser/shared_renderer_state.cc:193:23: error: ‘lock_‘ was not declared in this scope
base::AutoLock lock(lock_);
^
../../android_webview/browser/shared_renderer_state.cc:194:7: error: ‘needs_force_invalidate_on_next_draw_gl_‘ was not declared in this scope
if (needs_force_invalidate_on_next_draw_gl_ ||
^
../../android_webview/browser/shared_renderer_state.cc:195:8: error: ‘parent_draw_constraints_‘ was not declared in this scope
!parent_draw_constraints_.Equals(parent_draw_constraints)) {
^
../../android_webview/browser/shared_renderer_state.cc: At global scope:
../../android_webview/browser/shared_renderer_state.cc:203:6: error: ‘SharedRendererState‘ has not been declared
void SharedRendererState::PostExternalDrawConstraintsToChildCompositor(
^
../../android_webview/browser/shared_renderer_state.cc:204:11: error: ‘ParentCompositorDrawConstraints‘ does not name a type
const ParentCompositorDrawConstraints& parent_draw_constraints) {
^
../../android_webview/browser/shared_renderer_state.cc: In function ‘void PostExternalDrawConstraintsToChildCompositor(const int&)‘:
../../android_webview/browser/shared_renderer_state.cc:207:5: error: ‘ui_loop_‘ was not declared in this scope
ui_loop_->PostTask(
^
../../android_webview/browser/shared_renderer_state.cc:209:21: error: ‘SharedRendererState‘ has not been declared
base::Bind(&SharedRendererState::UpdateParentDrawConstraintsOnUIThread,
^
../../android_webview/browser/shared_renderer_state.cc:210:20: error: ‘ui_thread_weak_ptr_‘ was not declared in this scope
ui_thread_weak_ptr_));
^
../../android_webview/browser/shared_renderer_state.cc: At global scope:
../../android_webview/browser/shared_renderer_state.cc:214:7: error: ‘ParentCompositorDrawConstraints‘ does not name a type
const ParentCompositorDrawConstraints
^
../../android_webview/browser/shared_renderer_state.cc:220:6: error: ‘SharedRendererState‘ has not been declared
void SharedRendererState::SetForceInvalidateOnNextDrawGL(
^
../../android_webview/browser/shared_renderer_state.cc: In function ‘void SetForceInvalidateOnNextDrawGL(bool)‘:
../../android_webview/browser/shared_renderer_state.cc:222:23: error: ‘lock_‘ was not declared in this scope
base::AutoLock lock(lock_);
^
../../android_webview/browser/shared_renderer_state.cc:223:3: error: ‘needs_force_invalidate_on_next_draw_gl_‘ was not declared in this scope
needs_force_invalidate_on_next_draw_gl_ =
^
../../android_webview/browser/shared_renderer_state.cc: At global scope:
../../android_webview/browser/shared_renderer_state.cc:227:6: error: ‘SharedRendererState‘ has not been declared
bool SharedRendererState::NeedsForceInvalidateOnNextDrawGL() const {
^
../../android_webview/browser/shared_renderer_state.cc:227:62: error: non-member function ‘bool NeedsForceInvalidateOnNextDrawGL()‘ cannot have cv-qualifier
bool SharedRendererState::NeedsForceInvalidateOnNextDrawGL() const {
^
../../android_webview/browser/shared_renderer_state.cc: In function ‘bool NeedsForceInvalidateOnNextDrawGL()‘:
../../android_webview/browser/shared_renderer_state.cc:228:23: error: ‘lock_‘ was not declared in this scope
base::AutoLock lock(lock_);
^
../../android_webview/browser/shared_renderer_state.cc:229:10: error: ‘needs_force_invalidate_on_next_draw_gl_‘ was not declared in this scope
return needs_force_invalidate_on_next_draw_gl_;
^
../../android_webview/browser/shared_renderer_state.cc: At global scope:
../../android_webview/browser/shared_renderer_state.cc:232:6: error: ‘SharedRendererState‘ has not been declared
void SharedRendererState::SetInsideHardwareRelease(bool inside) {
^
../../android_webview/browser/shared_renderer_state.cc: In function ‘void SetInsideHardwareRelease(bool)‘:
../../android_webview/browser/shared_renderer_state.cc:233:23: error: ‘lock_‘ was not declared in this scope
base::AutoLock lock(lock_);
^
../../android_webview/browser/shared_renderer_state.cc:234:3: error: ‘inside_hardware_release_‘ was not declared in this scope
inside_hardware_release_ = inside;
^
../../android_webview/browser/shared_renderer_state.cc: At global scope:
../../android_webview/browser/shared_renderer_state.cc:237:6: error: ‘SharedRendererState‘ has not been declared
bool SharedRendererState::IsInsideHardwareRelease() const {
^
../../android_webview/browser/shared_renderer_state.cc:237:53: error: non-member function ‘bool IsInsideHardwareRelease()‘ cannot have cv-qualifier
bool SharedRendererState::IsInsideHardwareRelease() const {
^
../../android_webview/browser/shared_renderer_state.cc: In function ‘bool IsInsideHardwareRelease()‘:
../../android_webview/browser/shared_renderer_state.cc:238:23: error: ‘lock_‘ was not declared in this scope
base::AutoLock lock(lock_);
^
../../android_webview/browser/shared_renderer_state.cc:239:10: error: ‘inside_hardware_release_‘ was not declared in this scope
return inside_hardware_release_;
^
../../android_webview/browser/shared_renderer_state.cc: At global scope:
../../android_webview/browser/shared_renderer_state.cc:242:6: error: ‘SharedRendererState‘ has not been declared
void SharedRendererState::InsertReturnedResources(
^
../../android_webview/browser/shared_renderer_state.cc: In function ‘void InsertReturnedResources(const ReturnedResourceArray&)‘:
../../android_webview/browser/shared_renderer_state.cc:244:23: error: ‘lock_‘ was not declared in this scope
base::AutoLock lock(lock_);
^
../../android_webview/browser/shared_renderer_state.cc:245:3: error: ‘returned_resources_‘ was not declared in this scope
returned_resources_.insert(
^
../../android_webview/browser/shared_renderer_state.cc: At global scope:
../../android_webview/browser/shared_renderer_state.cc:249:6: error: ‘SharedRendererState‘ has not been declared
void SharedRendererState::SwapReturnedResources(
^
../../android_webview/browser/shared_renderer_state.cc: In function ‘void SwapReturnedResources(cc::ReturnedResourceArray*)‘:
../../android_webview/browser/shared_renderer_state.cc:252:23: error: ‘lock_‘ was not declared in this scope
base::AutoLock lock(lock_);
^
../../android_webview/browser/shared_renderer_state.cc:253:19: error: ‘returned_resources_‘ was not declared in this scope
resources->swap(returned_resources_);
^
../../android_webview/browser/shared_renderer_state.cc: At global scope:
../../android_webview/browser/shared_renderer_state.cc:256:6: error: ‘SharedRendererState‘ has not been declared
bool SharedRendererState::ReturnedResourcesEmpty() const {
^
../../android_webview/browser/shared_renderer_state.cc:256:52: error: non-member function ‘bool ReturnedResourcesEmpty()‘ cannot have cv-qualifier
bool SharedRendererState::ReturnedResourcesEmpty() const {
^
../../android_webview/browser/shared_renderer_state.cc: In function ‘bool ReturnedResourcesEmpty()‘:
../../android_webview/browser/shared_renderer_state.cc:257:23: error: ‘lock_‘ was not declared in this scope
base::AutoLock lock(lock_);
^
../../android_webview/browser/shared_renderer_state.cc:258:10: error: ‘returned_resources_‘ was not declared in this scope
return returned_resources_.empty();
^
../../android_webview/browser/shared_renderer_state.cc: At global scope:
../../android_webview/browser/shared_renderer_state.cc:261:1: error: ‘InsideHardwareReleaseReset‘ does not name a type
InsideHardwareReleaseReset::InsideHardwareReleaseReset(
^
../../android_webview/browser/shared_renderer_state.cc:268:1: error: ‘InsideHardwareReleaseReset‘ does not name a type
InsideHardwareReleaseReset::~InsideHardwareReleaseReset() {
^
../../android_webview/browser/shared_renderer_state.cc:272:1: error: expected declaration before ‘}‘ token
} // namespace android_webview
^
../../android_webview/browser/shared_renderer_state.cc: In function ‘bool HasDrawGLInput()‘:
../../android_webview/browser/shared_renderer_state.cc:178:1: error: control reaches end of non-void function [-Werror=return-type]
}
^
../../android_webview/browser/shared_renderer_state.cc: In function ‘int PassDrawGLInput()‘:
../../android_webview/browser/shared_renderer_state.cc:189:1: error: control reaches end of non-void function [-Werror=return-type]
}
^
../../android_webview/browser/shared_renderer_state.cc: In function ‘bool NeedsForceInvalidateOnNextDrawGL()‘:
../../android_webview/browser/shared_renderer_state.cc:230:1: error: control reaches end of non-void function [-Werror=return-type]
}
^
../../android_webview/browser/shared_renderer_state.cc: In function ‘bool IsInsideHardwareRelease()‘:
../../android_webview/browser/shared_renderer_state.cc:240:1: error: control reaches end of non-void function [-Werror=return-type]
}
^
../../android_webview/browser/shared_renderer_state.cc: In function ‘bool ReturnedResourcesEmpty()‘:
../../android_webview/browser/shared_renderer_state.cc:259:1: error: control reaches end of non-void function [-Werror=return-type]
}
^
cc1plus: all warnings being treated as errors
[3/24] CXX obj/android_webview/browser/android_webview_common.deferred_gpu_command_service.o
FAILED: /home/redtea/Projects/Chromium/src/third_party/android_tools/ndk//toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++ -MMD -MF obj/android_webview/browser/android_webview_common.deferred_gpu_command_service.o.d -DV8_DEPRECATION_WARNINGS -D_FILE_OFFSET_BITS=64 -DNO_TCMALLOC -DDISABLE_NACL -DCHROMIUM_BUILD -DUSE_LIBJPEG_TURBO=1 -DENABLE_PROFILING=1 -DENABLE_WEBRTC=1 -DUSE_PROPRIETARY_CODECS -DENABLE_BROWSER_CDMS -DENABLE_CONFIGURATION_POLICY -DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY -DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE -DENABLE_EGLIMAGE=1 -DENABLE_AUTOFILL_DIALOG=1 -DCLD_VERSION=1 -DENABLE_PRINTING=1 -DENABLE_MANAGED_USERS=1 -DVIDEO_HOLE=1 -DENABLE_LOAD_COMPLETION_HACKS=1 -DMOJO_USE_SYSTEM_IMPL -DLIBPEERCONNECTION_LIB=1 -DAPPCACHE_USE_SIMPLE_CACHE -DMEDIA_DISABLE_LIBVPX -DSK_ENABLE_INST_COUNT=0 -DSK_SUPPORT_GPU=1 ‘-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"‘ -DSK_ENABLE_LEGACY_API_ALIASING=1 -DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1 -DGR_GL_IGNORE_ES3_MSAA=0 -DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT -DSK_SUPPORT_LEGACY_TEXTRENDERMODE -DSK_BUILD_FOR_ANDROID -DSK_USE_POSIX_THREADS -DSK_DEFERRED_CANVAS_USES_FACTORIES=1 -DU_USING_ICU_NAMESPACE=0 -DU_ENABLE_DYLOAD=0 -DU_STATIC_IMPLEMENTATION -DCHROME_PNG_WRITE_SUPPORT -DPNG_USER_CONFIG -DCHROME_PNG_READ_PACK_SUPPORT -DMESA_EGL_NO_X11_HEADERS -DUSE_OPENSSL=1 -DUSE_OPENSSL_CERTS=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DANDROID -D__GNU_SOURCE=1 -DUSE_STLPORT=1 -D_STLP_USE_PTR_SPECIALIZATIONS=1 ‘-DCHROME_BUILD_ID=""‘ -DHAVE_SYS_UIO_H -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -D_FORTIFY_SOURCE=2 -Igen -I../.. -I../../skia/config -Igen/ui/resources/ -I../../third_party/khronos -I../../gpu -I../../third_party/WebKit/Source -Igen/angle -I../../third_party/WebKit -I../../third_party/skia/src/core -I../../third_party/skia/include/core -I../../third_party/skia/include/effects -I../../third_party/skia/include/pdf -I../../third_party/skia/include/gpu -I../../third_party/skia/include/lazy -I../../third_party/skia/include/pathops -I../../third_party/skia/include/pipe -I../../third_party/skia/include/ports -I../../third_party/skia/include/utils -I../../skia/ext -I../../third_party/WebKit -I../../third_party/icu/source/common -I../../third_party/npapi -I../../third_party/npapi/bindings -I../../v8/include -I../../third_party/libpng -I../../third_party/zlib -I../../third_party/libwebp -I../../third_party/ots/include -I../../third_party/qcms/src -I../../third_party/iccjpeg -I../../third_party/libjpeg_turbo -Igen/ui/gl -I../../third_party/mesa/src/include -fstack-protector --param=ssp-buffer-size=4 -Werror -fno-strict-aliasing -Wall -Wno-unused-parameter -Wno-missing-field-initializers -fvisibility=hidden -pipe -fPIC -Wno-unused-local-typedefs -march=armv7-a -mtune=generic-armv7-a -mfpu=vfpv3-d16 -mfloat-abi=softfp -mthumb -fno-tree-sra -fno-caller-saves -Wno-psabi -mthumb-interwork -marm -mapcs-frame -fno-optimize-sibling-calls -ffunction-sections -funwind-tables -g -fstack-protector -fno-short-enums -finline-limit=64 -Wa,--noexecstack -fno-omit-frame-pointer --sysroot=/home/redtea/Projects/Chromium/src/third_party/android_tools/ndk//platforms/android-14/arch-arm -isystem/home/redtea/Projects/Chromium/src/third_party/android_tools/ndk//sources/cxx-stl/stlport/stlport -Os -fno-ident -fdata-sections -ffunction-sections -fno-omit-frame-pointer -g -funwind-tables -fno-omit-frame-pointer -fno-exceptions -fno-rtti -fno-threadsafe-statics -fvisibility-inlines-hidden -Wsign-compare -Wno-abi -std=gnu++11 -Wno-narrowing -Wno-literal-suffix -c ../../android_webview/browser/deferred_gpu_command_service.cc -o obj/android_webview/browser/android_webview_common.deferred_gpu_command_service.o
In file included from ../../android_webview/browser/deferred_gpu_command_service.cc:9:0:
../../base/debug/trace_event.h:900:5: error: ‘trace_event_unique_category_group_enabled134‘ does not name a type
trace_event_unique_##a##b
^
../../base/debug/trace_event.h:912:5: note: in definition of macro ‘INTERNAL_TRACE_EVENT_GET_CATEGORY_INFO_CUSTOM_VARIABLES‘
category_group_enabled = \
^
../../base/debug/trace_event.h:902:5: note: in expansion of macro ‘INTERNAL_TRACE_EVENT_UID3‘
INTERNAL_TRACE_EVENT_UID3(a,b)
^
../../base/debug/trace_event.h:904:5: note: in expansion of macro ‘INTERNAL_TRACE_EVENT_UID2‘
INTERNAL_TRACE_EVENT_UID2(name_prefix, __LINE__)
^
../../base/debug/trace_event.h:928:9: note: in expansion of macro ‘INTERNAL_TRACE_EVENT_UID‘
INTERNAL_TRACE_EVENT_UID(category_group_enabled));
^
../../base/debug/trace_event.h:946:5: note: in expansion of macro ‘INTERNAL_TRACE_EVENT_GET_CATEGORY_INFO‘
INTERNAL_TRACE_EVENT_GET_CATEGORY_INFO(category_group); \
^
../../base/debug/trace_event.h:230:5: note: in expansion of macro ‘INTERNAL_TRACE_EVENT_ADD_SCOPED‘
INTERNAL_TRACE_EVENT_ADD_SCOPED(category_group, name, arg1_name, arg1_val)
^
../../android_webview/browser/deferred_gpu_command_service.cc:131:3: note: in expansion of macro ‘TRACE_EVENT1‘
TRACE_EVENT1("android_webview",
^
../../base/debug/trace_event.h:915:5: error: expected unqualified-id before ‘if‘
if (UNLIKELY(!category_group_enabled)) { \
^
../../base/debug/trace_event.h:926:5: note: in expansion of macro ‘INTERNAL_TRACE_EVENT_GET_CATEGORY_INFO_CUSTOM_VARIABLES‘
INTERNAL_TRACE_EVENT_GET_CATEGORY_INFO_CUSTOM_VARIABLES(category_group, \
^
../../base/debug/trace_event.h:946:5: note: in expansion of macro ‘INTERNAL_TRACE_EVENT_GET_CATEGORY_INFO‘
INTERNAL_TRACE_EVENT_GET_CATEGORY_INFO(category_group); \
^
../../base/debug/trace_event.h:230:5: note: in expansion of macro ‘INTERNAL_TRACE_EVENT_ADD_SCOPED‘
INTERNAL_TRACE_EVENT_ADD_SCOPED(category_group, name, arg1_name, arg1_val)
^
../../android_webview/browser/deferred_gpu_command_service.cc:131:3: note: in expansion of macro ‘TRACE_EVENT1‘
TRACE_EVENT1("android_webview",
^
../../base/debug/trace_event.h:948:5: error: expected unqualified-id before ‘if‘
if (INTERNAL_TRACE_EVENT_CATEGORY_GROUP_ENABLED_FOR_RECORDING_MODE()) { \
^
../../base/debug/trace_event.h:230:5: note: in expansion of macro ‘INTERNAL_TRACE_EVENT_ADD_SCOPED‘
INTERNAL_TRACE_EVENT_ADD_SCOPED(category_group, name, arg1_name, arg1_val)
^
../../android_webview/browser/deferred_gpu_command_service.cc:131:3: note: in expansion of macro ‘TRACE_EVENT1‘
TRACE_EVENT1("android_webview",
^
In file included from ../../base/lazy_instance.h:44:0,
from ../../android_webview/browser/deferred_gpu_command_service.h:11,
from ../../android_webview/browser/deferred_gpu_command_service.cc:5:
../../base/logging.h:355:3: error: expected unqualified-id before ‘!‘ token
!(condition) ? (void) 0 : ::logging::LogMessageVoidify() & (stream)
^
../../base/logging.h:622:3: note: in expansion of macro ‘LAZY_STREAM‘
LAZY_STREAM(LOG_STREAM(DCHECK), DCHECK_IS_ON && !(condition)) \
^
../../android_webview/browser/deferred_gpu_command_service.cc:135:3: note: in expansion of macro ‘DCHECK‘
DCHECK(ScopedAllowGL::IsAllowed());
^
../../android_webview/browser/deferred_gpu_command_service.cc:140:37: error: ‘IdleQueueSize‘ was not declared in this scope
size_t queue_size = IdleQueueSize();
^
../../android_webview/browser/deferred_gpu_command_service.cc:141:3: error: expected unqualified-id before ‘while‘
while (queue_size--) {
^
../../android_webview/browser/deferred_gpu_command_service.cc:211:1: error: expected ‘}‘ at end of input
} // namespace android_webview
^
In file included from ../../android_webview/browser/deferred_gpu_command_service.cc:9:0:
../../base/debug/trace_event.h:900:5: error: ‘android_webview::trace_event_unique_atomic134‘ defined but not used [-Werror=unused-variable]
trace_event_unique_##a##b
^
../../base/debug/trace_event.h:902:5: note: in expansion of macro ‘INTERNAL_TRACE_EVENT_UID3‘
INTERNAL_TRACE_EVENT_UID3(a,b)
^
../../base/debug/trace_event.h:904:5: note: in expansion of macro ‘INTERNAL_TRACE_EVENT_UID2‘
INTERNAL_TRACE_EVENT_UID2(name_prefix, __LINE__)
^
../../base/debug/trace_event.h:924:40: note: in expansion of macro ‘INTERNAL_TRACE_EVENT_UID‘
static TRACE_EVENT_API_ATOMIC_WORD INTERNAL_TRACE_EVENT_UID(atomic) = 0; \
^
../../base/debug/trace_event.h:946:5: note: in expansion of macro ‘INTERNAL_TRACE_EVENT_GET_CATEGORY_INFO‘
INTERNAL_TRACE_EVENT_GET_CATEGORY_INFO(category_group); \
^
../../base/debug/trace_event.h:230:5: note: in expansion of macro ‘INTERNAL_TRACE_EVENT_ADD_SCOPED‘
INTERNAL_TRACE_EVENT_ADD_SCOPED(category_group, name, arg1_name, arg1_val)
^
../../android_webview/browser/deferred_gpu_command_service.cc:131:3: note: in expansion of macro ‘TRACE_EVENT1‘
TRACE_EVENT1("android_webview",
^
cc1plus: all warnings being treated as errors
[3/24] ACTION Compiling android_webview_java java sources
warning: [options] bootstrap class path not set in conjunction with -source 1.5
1 warning
ninja: build stopped: subcommand failed.
ninja: Entering directory `out/Release‘
[3/24] CXX obj/android_webview/browser/android_webview_common.shared_renderer_state.o
FAILED: /home/redtea/Projects/Chromium/src/third_party/android_tools/ndk//toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++ -MMD -MF obj/android_webview/browser/android_webview_common.shared_renderer_state.o.d -DV8_DEPRECATION_WARNINGS -D_FILE_OFFSET_BITS=64 -DNO_TCMALLOC -DDISABLE_NACL -DCHROMIUM_BUILD -DUSE_LIBJPEG_TURBO=1 -DENABLE_PROFILING=1 -DENABLE_WEBRTC=1 -DUSE_PROPRIETARY_CODECS -DENABLE_BROWSER_CDMS -DENABLE_CONFIGURATION_POLICY -DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY -DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE -DENABLE_EGLIMAGE=1 -DENABLE_AUTOFILL_DIALOG=1 -DCLD_VERSION=1 -DENABLE_PRINTING=1 -DENABLE_MANAGED_USERS=1 -DVIDEO_HOLE=1 -DENABLE_LOAD_COMPLETION_HACKS=1 -DMOJO_USE_SYSTEM_IMPL -DLIBPEERCONNECTION_LIB=1 -DAPPCACHE_USE_SIMPLE_CACHE -DMEDIA_DISABLE_LIBVPX -DSK_ENABLE_INST_COUNT=0 -DSK_SUPPORT_GPU=1 ‘-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"‘ -DSK_ENABLE_LEGACY_API_ALIASING=1 -DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1 -DGR_GL_IGNORE_ES3_MSAA=0 -DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT -DSK_SUPPORT_LEGACY_TEXTRENDERMODE -DSK_BUILD_FOR_ANDROID -DSK_USE_POSIX_THREADS -DSK_DEFERRED_CANVAS_USES_FACTORIES=1 -DU_USING_ICU_NAMESPACE=0 -DU_ENABLE_DYLOAD=0 -DU_STATIC_IMPLEMENTATION -DCHROME_PNG_WRITE_SUPPORT -DPNG_USER_CONFIG -DCHROME_PNG_READ_PACK_SUPPORT -DMESA_EGL_NO_X11_HEADERS -DUSE_OPENSSL=1 -DUSE_OPENSSL_CERTS=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DANDROID -D__GNU_SOURCE=1 -DUSE_STLPORT=1 -D_STLP_USE_PTR_SPECIALIZATIONS=1 ‘-DCHROME_BUILD_ID=""‘ -DHAVE_SYS_UIO_H -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -D_FORTIFY_SOURCE=2 -Igen -I../.. -I../../skia/config -Igen/ui/resources/ -I../../third_party/khronos -I../../gpu -I../../third_party/WebKit/Source -Igen/angle -I../../third_party/WebKit -I../../third_party/skia/src/core -I../../third_party/skia/include/core -I../../third_party/skia/include/effects -I../../third_party/skia/include/pdf -I../../third_party/skia/include/gpu -I../../third_party/skia/include/lazy -I../../third_party/skia/include/pathops -I../../third_party/skia/include/pipe -I../../third_party/skia/include/ports -I../../third_party/skia/include/utils -I../../skia/ext -I../../third_party/WebKit -I../../third_party/icu/source/common -I../../third_party/npapi -I../../third_party/npapi/bindings -I../../v8/include -I../../third_party/libpng -I../../third_party/zlib -I../../third_party/libwebp -I../../third_party/ots/include -I../../third_party/qcms/src -I../../third_party/iccjpeg -I../../third_party/libjpeg_turbo -Igen/ui/gl -I../../third_party/mesa/src/include -fstack-protector --param=ssp-buffer-size=4 -Werror -fno-strict-aliasing -Wall -Wno-unused-parameter -Wno-missing-field-initializers -fvisibility=hidden -pipe -fPIC -Wno-unused-local-typedefs -march=armv7-a -mtune=generic-armv7-a -mfpu=vfpv3-d16 -mfloat-abi=softfp -mthumb -fno-tree-sra -fno-caller-saves -Wno-psabi -mthumb-interwork -marm -mapcs-frame -fno-optimize-sibling-calls -ffunction-sections -funwind-tables -g -fstack-protector -fno-short-enums -finline-limit=64 -Wa,--noexecstack -fno-omit-frame-pointer --sysroot=/home/redtea/Projects/Chromium/src/third_party/android_tools/ndk//platforms/android-14/arch-arm -isystem/home/redtea/Projects/Chromium/src/third_party/android_tools/ndk//sources/cxx-stl/stlport/stlport -Os -fno-ident -fdata-sections -ffunction-sections -fno-omit-frame-pointer -g -funwind-tables -fno-omit-frame-pointer -fno-exceptions -fno-rtti -fno-threadsafe-statics -fvisibility-inlines-hidden -Wsign-compare -Wno-abi -std=gnu++11 -Wno-narrowing -Wno-literal-suffix -c ../../android_webview/browser/shared_renderer_state.cc -o obj/android_webview/browser/android_webview_common.shared_renderer_state.o
../../android_webview/browser/shared_renderer_state.cc: In member function ‘void android_webview::SharedRendererState::UpdateParentDrawConstraintsOnUIThread()‘:
../../android_webview/browser/shared_renderer_state.cc:153:15: error: variable ‘prevent_recursive_call‘ set but not used [-Werror=unused-but-set-variable]
static bool prevent_recursive_call = false; //FIXME: should be atomic<bool> here;
^
In file included from ../../base/memory/weak_ptr.h:68:0,
from ../../base/bind_helpers.h:148,
from ../../base/bind_internal.h:13,
from ../../base/bind.h:13,
from ../../base/cancelable_callback.h:46,
from ../../android_webview/browser/shared_renderer_state.h:9,
from ../../android_webview/browser/shared_renderer_state.cc:5:
../../android_webview/browser/shared_renderer_state.cc: At global scope:
../../base/logging.h:355:3: error: expected unqualified-id before ‘!‘ token
!(condition) ? (void) 0 : ::logging::LogMessageVoidify() & (stream)
^
../../base/logging.h:622:3: note: in expansion of macro ‘LAZY_STREAM‘
LAZY_STREAM(LOG_STREAM(DCHECK), DCHECK_IS_ON && !(condition)) \
^
../../android_webview/browser/shared_renderer_state.cc:166:3: note: in expansion of macro ‘DCHECK‘
DCHECK(ui_loop_->BelongsToCurrentThread());
^
../../android_webview/browser/shared_renderer_state.cc:167:3: error: ‘client_on_ui_‘ does not name a type
client_on_ui_->UpdateParentDrawConstraints();
^
../../android_webview/browser/shared_renderer_state.cc:170:3: error: expected unqualified-id before ‘{‘ token
{
^
../../android_webview/browser/shared_renderer_state.cc:175:6: error: ‘SharedRendererState‘ has not been declared
bool SharedRendererState::HasDrawGLInput() const {
^
../../android_webview/browser/shared_renderer_state.cc:175:44: error: non-member function ‘bool HasDrawGLInput()‘ cannot have cv-qualifier
bool SharedRendererState::HasDrawGLInput() const {
^
../../android_webview/browser/shared_renderer_state.cc: In function ‘bool HasDrawGLInput()‘:
../../android_webview/browser/shared_renderer_state.cc:176:23: error: ‘lock_‘ was not declared in this scope
base::AutoLock lock(lock_);
^
../../android_webview/browser/shared_renderer_state.cc:177:10: error: ‘draw_gl_input_‘ was not declared in this scope
return draw_gl_input_.get();
^
../../android_webview/browser/shared_renderer_state.cc: At global scope:
../../android_webview/browser/shared_renderer_state.cc:180:6: error: ‘SharedRendererState‘ has not been declared
void SharedRendererState::SetDrawGLInput(scoped_ptr<DrawGLInput> input) {
^
../../android_webview/browser/shared_renderer_state.cc:180:53: error: ‘DrawGLInput‘ was not declared in this scope
void SharedRendererState::SetDrawGLInput(scoped_ptr<DrawGLInput> input) {
^
../../android_webview/browser/shared_renderer_state.cc:180:53: note: suggested alternative:
In file included from ../../android_webview/browser/shared_renderer_state.cc:5:0:
../../android_webview/browser/shared_renderer_state.h:36:8: note: ‘android_webview::DrawGLInput‘
struct DrawGLInput {
^
../../android_webview/browser/shared_renderer_state.cc:180:64: error: template argument 1 is invalid
void SharedRendererState::SetDrawGLInput(scoped_ptr<DrawGLInput> input) {
^
../../android_webview/browser/shared_renderer_state.cc:180:64: error: template argument 2 is invalid
../../android_webview/browser/shared_renderer_state.cc: In function ‘void SetDrawGLInput(int)‘:
../../android_webview/browser/shared_renderer_state.cc:181:23: error: ‘lock_‘ was not declared in this scope
base::AutoLock lock(lock_);
^
In file included from ../../base/memory/weak_ptr.h:68:0,
from ../../base/bind_helpers.h:148,
from ../../base/bind_internal.h:13,
from ../../base/bind.h:13,
from ../../base/cancelable_callback.h:46,
from ../../android_webview/browser/shared_renderer_state.h:9,
from ../../android_webview/browser/shared_renderer_state.cc:5:
../../android_webview/browser/shared_renderer_state.cc:182:11: error: ‘draw_gl_input_‘ was not declared in this scope
DCHECK(!draw_gl_input_.get());
^
../../base/logging.h:355:5: note: in definition of macro ‘LAZY_STREAM‘
!(condition) ? (void) 0 : ::logging::LogMessageVoidify() & (stream)
^
../../android_webview/browser/shared_renderer_state.cc:182:3: note: in expansion of macro ‘DCHECK‘
DCHECK(!draw_gl_input_.get());
^
../../android_webview/browser/shared_renderer_state.cc:183:26: error: request for member ‘Pass‘ in ‘input‘, which is of non-class type ‘int‘
draw_gl_input_ = input.Pass();
^
../../android_webview/browser/shared_renderer_state.cc: At global scope:
../../android_webview/browser/shared_renderer_state.cc:186:12: error: ‘DrawGLInput‘ was not declared in this scope
scoped_ptr<DrawGLInput> SharedRendererState::PassDrawGLInput() {
^
../../android_webview/browser/shared_renderer_state.cc:186:12: note: suggested alternative:
In file included from ../../android_webview/browser/shared_renderer_state.cc:5:0:
../../android_webview/browser/shared_renderer_state.h:36:8: note: ‘android_webview::DrawGLInput‘
struct DrawGLInput {
^
../../android_webview/browser/shared_renderer_state.cc:186:23: error: template argument 1 is invalid
scoped_ptr<DrawGLInput> SharedRendererState::PassDrawGLInput() {
^
../../android_webview/browser/shared_renderer_state.cc:186:23: error: template argument 2 is invalid
../../android_webview/browser/shared_renderer_state.cc:186:25: error: ‘SharedRendererState‘ has not been declared
scoped_ptr<DrawGLInput> SharedRendererState::PassDrawGLInput() {
^
../../android_webview/browser/shared_renderer_state.cc: In function ‘int PassDrawGLInput()‘:
../../android_webview/browser/shared_renderer_state.cc:187:23: error: ‘lock_‘ was not declared in this scope
base::AutoLock lock(lock_);
^
../../android_webview/browser/shared_renderer_state.cc:188:10: error: ‘draw_gl_input_‘ was not declared in this scope
return draw_gl_input_.Pass();
^
../../android_webview/browser/shared_renderer_state.cc: At global scope:
../../android_webview/browser/shared_renderer_state.cc:191:6: error: ‘SharedRendererState‘ has not been declared
bool SharedRendererState::UpdateDrawConstraints(
^
../../android_webview/browser/shared_renderer_state.cc:192:11: error: ‘ParentCompositorDrawConstraints‘ does not name a type
const ParentCompositorDrawConstraints& parent_draw_constraints) {
^
../../android_webview/browser/shared_renderer_state.cc: In function ‘bool UpdateDrawConstraints(const int&)‘:
../../android_webview/browser/shared_renderer_state.cc:193:23: error: ‘lock_‘ was not declared in this scope
base::AutoLock lock(lock_);
^
../../android_webview/browser/shared_renderer_state.cc:194:7: error: ‘needs_force_invalidate_on_next_draw_gl_‘ was not declared in this scope
if (needs_force_invalidate_on_next_draw_gl_ ||
^
../../android_webview/browser/shared_renderer_state.cc:195:8: error: ‘parent_draw_constraints_‘ was not declared in this scope
!parent_draw_constraints_.Equals(parent_draw_constraints)) {
^
../../android_webview/browser/shared_renderer_state.cc: At global scope:
../../android_webview/browser/shared_renderer_state.cc:203:6: error: ‘SharedRendererState‘ has not been declared
void SharedRendererState::PostExternalDrawConstraintsToChildCompositor(
^
../../android_webview/browser/shared_renderer_state.cc:204:11: error: ‘ParentCompositorDrawConstraints‘ does not name a type
const ParentCompositorDrawConstraints& parent_draw_constraints) {
^
../../android_webview/browser/shared_renderer_state.cc: In function ‘void PostExternalDrawConstraintsToChildCompositor(const int&)‘:
../../android_webview/browser/shared_renderer_state.cc:207:5: error: ‘ui_loop_‘ was not declared in this scope
ui_loop_->PostTask(
^
../../android_webview/browser/shared_renderer_state.cc:209:21: error: ‘SharedRendererState‘ has not been declared
base::Bind(&SharedRendererState::UpdateParentDrawConstraintsOnUIThread,
^
../../android_webview/browser/shared_renderer_state.cc:210:20: error: ‘ui_thread_weak_ptr_‘ was not declared in this scope
ui_thread_weak_ptr_));
^
../../android_webview/browser/shared_renderer_state.cc: At global scope:
../../android_webview/browser/shared_renderer_state.cc:214:7: error: ‘ParentCompositorDrawConstraints‘ does not name a type
const ParentCompositorDrawConstraints
^
../../android_webview/browser/shared_renderer_state.cc:220:6: error: ‘SharedRendererState‘ has not been declared
void SharedRendererState::SetForceInvalidateOnNextDrawGL(
^
../../android_webview/browser/shared_renderer_state.cc: In function ‘void SetForceInvalidateOnNextDrawGL(bool)‘:
../../android_webview/browser/shared_renderer_state.cc:222:23: error: ‘lock_‘ was not declared in this scope
base::AutoLock lock(lock_);
^
../../android_webview/browser/shared_renderer_state.cc:223:3: error: ‘needs_force_invalidate_on_next_draw_gl_‘ was not declared in this scope
needs_force_invalidate_on_next_draw_gl_ =
^
../../android_webview/browser/shared_renderer_state.cc: At global scope:
../../android_webview/browser/shared_renderer_state.cc:227:6: error: ‘SharedRendererState‘ has not been declared
bool SharedRendererState::NeedsForceInvalidateOnNextDrawGL() const {
^
../../android_webview/browser/shared_renderer_state.cc:227:62: error: non-member function ‘bool NeedsForceInvalidateOnNextDrawGL()‘ cannot have cv-qualifier
bool SharedRendererState::NeedsForceInvalidateOnNextDrawGL() const {
^
../../android_webview/browser/shared_renderer_state.cc: In function ‘bool NeedsForceInvalidateOnNextDrawGL()‘:
../../android_webview/browser/shared_renderer_state.cc:228:23: error: ‘lock_‘ was not declared in this scope
base::AutoLock lock(lock_);
^
../../android_webview/browser/shared_renderer_state.cc:229:10: error: ‘needs_force_invalidate_on_next_draw_gl_‘ was not declared in this scope
return needs_force_invalidate_on_next_draw_gl_;
^
../../android_webview/browser/shared_renderer_state.cc: At global scope:
../../android_webview/browser/shared_renderer_state.cc:232:6: error: ‘SharedRendererState‘ has not been declared
void SharedRendererState::SetInsideHardwareRelease(bool inside) {
^
../../android_webview/browser/shared_renderer_state.cc: In function ‘void SetInsideHardwareRelease(bool)‘:
../../android_webview/browser/shared_renderer_state.cc:233:23: error: ‘lock_‘ was not declared in this scope
base::AutoLock lock(lock_);
^
../../android_webview/browser/shared_renderer_state.cc:234:3: error: ‘inside_hardware_release_‘ was not declared in this scope
inside_hardware_release_ = inside;
^
../../android_webview/browser/shared_renderer_state.cc: At global scope:
../../android_webview/browser/shared_renderer_state.cc:237:6: error: ‘SharedRendererState‘ has not been declared
bool SharedRendererState::IsInsideHardwareRelease() const {
^
../../android_webview/browser/shared_renderer_state.cc:237:53: error: non-member function ‘bool IsInsideHardwareRelease()‘ cannot have cv-qualifier
bool SharedRendererState::IsInsideHardwareRelease() const {
^
../../android_webview/browser/shared_renderer_state.cc: In function ‘bool IsInsideHardwareRelease()‘:
../../android_webview/browser/shared_renderer_state.cc:238:23: error: ‘lock_‘ was not declared in this scope
base::AutoLock lock(lock_);
^
../../android_webview/browser/shared_renderer_state.cc:239:10: error: ‘inside_hardware_release_‘ was not declared in this scope
return inside_hardware_release_;
^
../../android_webview/browser/shared_renderer_state.cc: At global scope:
../../android_webview/browser/shared_renderer_state.cc:242:6: error: ‘SharedRendererState‘ has not been declared
void SharedRendererState::InsertReturnedResources(
^
../../android_webview/browser/shared_renderer_state.cc: In function ‘void InsertReturnedResources(const ReturnedResourceArray&)‘:
../../android_webview/browser/shared_renderer_state.cc:244:23: error: ‘lock_‘ was not declared in this scope
base::AutoLock lock(lock_);
^
../../android_webview/browser/shared_renderer_state.cc:245:3: error: ‘returned_resources_‘ was not declared in this scope
returned_resources_.insert(
^
../../android_webview/browser/shared_renderer_state.cc: At global scope:
../../android_webview/browser/shared_renderer_state.cc:249:6: error: ‘SharedRendererState‘ has not been declared
void SharedRendererState::SwapReturnedResources(
^
../../android_webview/browser/shared_renderer_state.cc: In function ‘void SwapReturnedResources(cc::ReturnedResourceArray*)‘:
../../android_webview/browser/shared_renderer_state.cc:252:23: error: ‘lock_‘ was not declared in this scope
base::AutoLock lock(lock_);
^
../../android_webview/browser/shared_renderer_state.cc:253:19: error: ‘returned_resources_‘ was not declared in this scope
resources->swap(returned_resources_);
^
../../android_webview/browser/shared_renderer_state.cc: At global scope:
../../android_webview/browser/shared_renderer_state.cc:256:6: error: ‘SharedRendererState‘ has not been declared
bool SharedRendererState::ReturnedResourcesEmpty() const {
^
../../android_webview/browser/shared_renderer_state.cc:256:52: error: non-member function ‘bool ReturnedResourcesEmpty()‘ cannot have cv-qualifier
bool SharedRendererState::ReturnedResourcesEmpty() const {
^
../../android_webview/browser/shared_renderer_state.cc: In function ‘bool ReturnedResourcesEmpty()‘:
../../android_webview/browser/shared_renderer_state.cc:257:23: error: ‘lock_‘ was not declared in this scope
base::AutoLock lock(lock_);
^
../../android_webview/browser/shared_renderer_state.cc:258:10: error: ‘returned_resources_‘ was not declared in this scope
return returned_resources_.empty();
^
../../android_webview/browser/shared_renderer_state.cc: At global scope:
../../android_webview/browser/shared_renderer_state.cc:261:1: error: ‘InsideHardwareReleaseReset‘ does not name a type
InsideHardwareReleaseReset::InsideHardwareReleaseReset(
^
../../android_webview/browser/shared_renderer_state.cc:268:1: error: ‘InsideHardwareReleaseReset‘ does not name a type
InsideHardwareReleaseReset::~InsideHardwareReleaseReset() {
^
../../android_webview/browser/shared_renderer_state.cc:272:1: error: expected declaration before ‘}‘ token
} // namespace android_webview
^
../../android_webview/browser/shared_renderer_state.cc: In function ‘bool HasDrawGLInput()‘:
../../android_webview/browser/shared_renderer_state.cc:178:1: error: control reaches end of non-void function [-Werror=return-type]
}
^
../../android_webview/browser/shared_renderer_state.cc: In function ‘int PassDrawGLInput()‘:
../../android_webview/browser/shared_renderer_state.cc:189:1: error: control reaches end of non-void function [-Werror=return-type]
}
^
../../android_webview/browser/shared_renderer_state.cc: In function ‘bool NeedsForceInvalidateOnNextDrawGL()‘:
../../android_webview/browser/shared_renderer_state.cc:230:1: error: control reaches end of non-void function [-Werror=return-type]
}
^
../../android_webview/browser/shared_renderer_state.cc: In function ‘bool IsInsideHardwareRelease()‘:
../../android_webview/browser/shared_renderer_state.cc:240:1: error: control reaches end of non-void function [-Werror=return-type]
}
^
../../android_webview/browser/shared_renderer_state.cc: In function ‘bool ReturnedResourcesEmpty()‘:
../../android_webview/browser/shared_renderer_state.cc:259:1: error: control reaches end of non-void function [-Werror=return-type]
}
^
cc1plus: all warnings being treated as errors
[3/24] CXX obj/android_webview/browser/android_webview_common.deferred_gpu_command_service.o
FAILED: /home/redtea/Projects/Chromium/src/third_party/android_tools/ndk//toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++ -MMD -MF obj/android_webview/browser/android_webview_common.deferred_gpu_command_service.o.d -DV8_DEPRECATION_WARNINGS -D_FILE_OFFSET_BITS=64 -DNO_TCMALLOC -DDISABLE_NACL -DCHROMIUM_BUILD -DUSE_LIBJPEG_TURBO=1 -DENABLE_PROFILING=1 -DENABLE_WEBRTC=1 -DUSE_PROPRIETARY_CODECS -DENABLE_BROWSER_CDMS -DENABLE_CONFIGURATION_POLICY -DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY -DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE -DENABLE_EGLIMAGE=1 -DENABLE_AUTOFILL_DIALOG=1 -DCLD_VERSION=1 -DENABLE_PRINTING=1 -DENABLE_MANAGED_USERS=1 -DVIDEO_HOLE=1 -DENABLE_LOAD_COMPLETION_HACKS=1 -DMOJO_USE_SYSTEM_IMPL -DLIBPEERCONNECTION_LIB=1 -DAPPCACHE_USE_SIMPLE_CACHE -DMEDIA_DISABLE_LIBVPX -DSK_ENABLE_INST_COUNT=0 -DSK_SUPPORT_GPU=1 ‘-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"‘ -DSK_ENABLE_LEGACY_API_ALIASING=1 -DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1 -DGR_GL_IGNORE_ES3_MSAA=0 -DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT -DSK_SUPPORT_LEGACY_TEXTRENDERMODE -DSK_BUILD_FOR_ANDROID -DSK_USE_POSIX_THREADS -DSK_DEFERRED_CANVAS_USES_FACTORIES=1 -DU_USING_ICU_NAMESPACE=0 -DU_ENABLE_DYLOAD=0 -DU_STATIC_IMPLEMENTATION -DCHROME_PNG_WRITE_SUPPORT -DPNG_USER_CONFIG -DCHROME_PNG_READ_PACK_SUPPORT -DMESA_EGL_NO_X11_HEADERS -DUSE_OPENSSL=1 -DUSE_OPENSSL_CERTS=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DANDROID -D__GNU_SOURCE=1 -DUSE_STLPORT=1 -D_STLP_USE_PTR_SPECIALIZATIONS=1 ‘-DCHROME_BUILD_ID=""‘ -DHAVE_SYS_UIO_H -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -D_FORTIFY_SOURCE=2 -Igen -I../.. -I../../skia/config -Igen/ui/resources/ -I../../third_party/khronos -I../../gpu -I../../third_party/WebKit/Source -Igen/angle -I../../third_party/WebKit -I../../third_party/skia/src/core -I../../third_party/skia/include/core -I../../third_party/skia/include/effects -I../../third_party/skia/include/pdf -I../../third_party/skia/include/gpu -I../../third_party/skia/include/lazy -I../../third_party/skia/include/pathops -I../../third_party/skia/include/pipe -I../../third_party/skia/include/ports -I../../third_party/skia/include/utils -I../../skia/ext -I../../third_party/WebKit -I../../third_party/icu/source/common -I../../third_party/npapi -I../../third_party/npapi/bindings -I../../v8/include -I../../third_party/libpng -I../../third_party/zlib -I../../third_party/libwebp -I../../third_party/ots/include -I../../third_party/qcms/src -I../../third_party/iccjpeg -I../../third_party/libjpeg_turbo -Igen/ui/gl -I../../third_party/mesa/src/include -fstack-protector --param=ssp-buffer-size=4 -Werror -fno-strict-aliasing -Wall -Wno-unused-parameter -Wno-missing-field-initializers -fvisibility=hidden -pipe -fPIC -Wno-unused-local-typedefs -march=armv7-a -mtune=generic-armv7-a -mfpu=vfpv3-d16 -mfloat-abi=softfp -mthumb -fno-tree-sra -fno-caller-saves -Wno-psabi -mthumb-interwork -marm -mapcs-frame -fno-optimize-sibling-calls -ffunction-sections -funwind-tables -g -fstack-protector -fno-short-enums -finline-limit=64 -Wa,--noexecstack -fno-omit-frame-pointer --sysroot=/home/redtea/Projects/Chromium/src/third_party/android_tools/ndk//platforms/android-14/arch-arm -isystem/home/redtea/Projects/Chromium/src/third_party/android_tools/ndk//sources/cxx-stl/stlport/stlport -Os -fno-ident -fdata-sections -ffunction-sections -fno-omit-frame-pointer -g -funwind-tables -fno-omit-frame-pointer -fno-exceptions -fno-rtti -fno-threadsafe-statics -fvisibility-inlines-hidden -Wsign-compare -Wno-abi -std=gnu++11 -Wno-narrowing -Wno-literal-suffix -c ../../android_webview/browser/deferred_gpu_command_service.cc -o obj/android_webview/browser/android_webview_common.deferred_gpu_command_service.o
In file included from ../../android_webview/browser/deferred_gpu_command_service.cc:9:0:
../../base/debug/trace_event.h:900:5: error: ‘trace_event_unique_category_group_enabled134‘ does not name a type
trace_event_unique_##a##b
^
../../base/debug/trace_event.h:912:5: note: in definition of macro ‘INTERNAL_TRACE_EVENT_GET_CATEGORY_INFO_CUSTOM_VARIABLES‘
category_group_enabled = \
^
../../base/debug/trace_event.h:902:5: note: in expansion of macro ‘INTERNAL_TRACE_EVENT_UID3‘
INTERNAL_TRACE_EVENT_UID3(a,b)
^
../../base/debug/trace_event.h:904:5: note: in expansion of macro ‘INTERNAL_TRACE_EVENT_UID2‘
INTERNAL_TRACE_EVENT_UID2(name_prefix, __LINE__)
^
../../base/debug/trace_event.h:928:9: note: in expansion of macro ‘INTERNAL_TRACE_EVENT_UID‘
INTERNAL_TRACE_EVENT_UID(category_group_enabled));
^
../../base/debug/trace_event.h:946:5: note: in expansion of macro ‘INTERNAL_TRACE_EVENT_GET_CATEGORY_INFO‘
INTERNAL_TRACE_EVENT_GET_CATEGORY_INFO(category_group); \
^
../../base/debug/trace_event.h:230:5: note: in expansion of macro ‘INTERNAL_TRACE_EVENT_ADD_SCOPED‘
INTERNAL_TRACE_EVENT_ADD_SCOPED(category_group, name, arg1_name, arg1_val)
^
../../android_webview/browser/deferred_gpu_command_service.cc:131:3: note: in expansion of macro ‘TRACE_EVENT1‘
TRACE_EVENT1("android_webview",
^
../../base/debug/trace_event.h:915:5: error: expected unqualified-id before ‘if‘
if (UNLIKELY(!category_group_enabled)) { \
^
../../base/debug/trace_event.h:926:5: note: in expansion of macro ‘INTERNAL_TRACE_EVENT_GET_CATEGORY_INFO_CUSTOM_VARIABLES‘
INTERNAL_TRACE_EVENT_GET_CATEGORY_INFO_CUSTOM_VARIABLES(category_group, \
^
../../base/debug/trace_event.h:946:5: note: in expansion of macro ‘INTERNAL_TRACE_EVENT_GET_CATEGORY_INFO‘
INTERNAL_TRACE_EVENT_GET_CATEGORY_INFO(category_group); \
^
../../base/debug/trace_event.h:230:5: note: in expansion of macro ‘INTERNAL_TRACE_EVENT_ADD_SCOPED‘
INTERNAL_TRACE_EVENT_ADD_SCOPED(category_group, name, arg1_name, arg1_val)
^
../../android_webview/browser/deferred_gpu_command_service.cc:131:3: note: in expansion of macro ‘TRACE_EVENT1‘
TRACE_EVENT1("android_webview",
^
../../base/debug/trace_event.h:948:5: error: expected unqualified-id before ‘if‘
if (INTERNAL_TRACE_EVENT_CATEGORY_GROUP_ENABLED_FOR_RECORDING_MODE()) { \
^
../../base/debug/trace_event.h:230:5: note: in expansion of macro ‘INTERNAL_TRACE_EVENT_ADD_SCOPED‘
INTERNAL_TRACE_EVENT_ADD_SCOPED(category_group, name, arg1_name, arg1_val)
^
../../android_webview/browser/deferred_gpu_command_service.cc:131:3: note: in expansion of macro ‘TRACE_EVENT1‘
TRACE_EVENT1("android_webview",
^
In file included from ../../base/lazy_instance.h:44:0,
from ../../android_webview/browser/deferred_gpu_command_service.h:11,
from ../../android_webview/browser/deferred_gpu_command_service.cc:5:
../../base/logging.h:355:3: error: expected unqualified-id before ‘!‘ token
!(condition) ? (void) 0 : ::logging::LogMessageVoidify() & (stream)
^
../../base/logging.h:622:3: note: in expansion of macro ‘LAZY_STREAM‘
LAZY_STREAM(LOG_STREAM(DCHECK), DCHECK_IS_ON && !(condition)) \
^
../../android_webview/browser/deferred_gpu_command_service.cc:135:3: note: in expansion of macro ‘DCHECK‘
DCHECK(ScopedAllowGL::IsAllowed());
^
../../android_webview/browser/deferred_gpu_command_service.cc:140:37: error: ‘IdleQueueSize‘ was not declared in this scope
size_t queue_size = IdleQueueSize();
^
../../android_webview/browser/deferred_gpu_command_service.cc:141:3: error: expected unqualified-id before ‘while‘
while (queue_size--) {
^
../../android_webview/browser/deferred_gpu_command_service.cc:211:1: error: expected ‘}‘ at end of input
} // namespace android_webview
^
In file included from ../../android_webview/browser/deferred_gpu_command_service.cc:9:0:
../../base/debug/trace_event.h:900:5: error: ‘android_webview::trace_event_unique_atomic134‘ defined but not used [-Werror=unused-variable]
trace_event_unique_##a##b
^
../../base/debug/trace_event.h:902:5: note: in expansion of macro ‘INTERNAL_TRACE_EVENT_UID3‘
INTERNAL_TRACE_EVENT_UID3(a,b)
^
../../base/debug/trace_event.h:904:5: note: in expansion of macro ‘INTERNAL_TRACE_EVENT_UID2‘
INTERNAL_TRACE_EVENT_UID2(name_prefix, __LINE__)
^
../../base/debug/trace_event.h:924:40: note: in expansion of macro ‘INTERNAL_TRACE_EVENT_UID‘
static TRACE_EVENT_API_ATOMIC_WORD INTERNAL_TRACE_EVENT_UID(atomic) = 0; \
^
../../base/debug/trace_event.h:946:5: note: in expansion of macro ‘INTERNAL_TRACE_EVENT_GET_CATEGORY_INFO‘
INTERNAL_TRACE_EVENT_GET_CATEGORY_INFO(category_group); \
^
../../base/debug/trace_event.h:230:5: note: in expansion of macro ‘INTERNAL_TRACE_EVENT_ADD_SCOPED‘
INTERNAL_TRACE_EVENT_ADD_SCOPED(category_group, name, arg1_name, arg1_val)
^
../../android_webview/browser/deferred_gpu_command_service.cc:131:3: note: in expansion of macro ‘TRACE_EVENT1‘
TRACE_EVENT1("android_webview",
^
cc1plus: all warnings being treated as errors
[3/24] ACTION Compiling android_webview_java java sources
warning: [options] bootstrap class path not set in conjunction with -source 1.5
1 warning
ninja: build stopped: subcommand failed.
不幸的问题还是出现了:Chromium代码上整理patch(working目录/master分支),部分文件做了git checkout恢复,结果GYP再编译就出错了
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。