ks32 / CrosswalkNative

Embedded Crosswalk 77 webview based sample project.
95 stars 42 forks source link

I can't compile crosswalk "ninja -C out/Release_Android xwalk_core_library" #25

Closed liuran88 closed 3 years ago

liuran88 commented 3 years ago

Hello, do you know how to compile crosswalk 77? I downloaded your repository, but I can't compile it. .gclient solutions = [ { "name" : 'src/xwalk', "url" : 'https://github.com/ks32/crosswalk.git@origin/ks_chromium_77', "deps_file" : 'DEPS', "managed" : True, "custom_deps" : { }, "custom_vars": {}, }, ] target_os = ['android']

FIle out/Release_Android/args.gn import("//xwalk/build/android.gni") is_debug = false target_os = "android" ffmpeg_branding = "Chrome" target_cpu = "arm" enable_nacl = false symbol_level = 1 remove_webcore_debug_symbols = true use_aura = false use_ozone = false enable_plugins = false disable_bundled_extensions = true v8_use_snapshot = true enable_webrtc = true is_official_build = true v8_enable_i18n_support = false disable_ftp_support = true disable_libfuzzer = true

B365CD3:/home/77/src$ ninja -C out/Release_Android xwalk_core_library [7/29739] CXX obj/xwalk/xwalk_cookies/cookie_manager.o FAILED: obj/xwalk/xwalk_cookies/cookie_manager.o ../../third_party/llvm-build/Release+Asserts/bin/clang++ -MMD -MF obj/xwalk/xwalk_cookies/cookie_manager.o.d -DNO_TCMALLOC -DSAFE_BROWSING_DB_REMOTE -DOFFICIAL_BUILD -DCHROMIUM_BUILD -DNO_UNWIND_TABLES -D_GNU_SOURCE -DANDROID -DHAVE_SYS_UIO_H -DANDROID_NDK_VERSION_ROLL=r16_1 -DCR_CLANG_REVISION=\"365097-f7e52fbd-8\" -DSTDC_CONSTANT_MACROS -DSTDC_FORMAT_MACROS -D_FORTIFY_SOURCE=2 -D_LIBCPP_ABI_UNSTABLE -D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS -D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS -D_LIBCPP_ENABLE_NODISCARD -DCR_LIBCXX_REVISION=361348 -DGNU_SOURCE=1 -DCHROMIUM_CXX_TWEAK_INLINES -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -I../.. -Igen -fprofile-sample-use=../../chrome/android/profiles/afdo.prof -fprofile-sample-accurate -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -fcolor-diagnostics -fmerge-all-constants -fcrash-diagnostics-dir=../../tools/clang/crashreports -Xclang -mllvm -Xclang -instcombine-lower-dbg-declare=0 -flto=thin -fsplit-lto-unit -fcomplete-member-pointers -ffunction-sections -fno-short-enums --target=arm-linux-androideabi -isystem../../third_party/android_ndk/sysroot/usr/include/arm-linux-androideabi -DANDROID_API__=16 -DHAVE_PTHREAD_COND_TIMEDWAIT_MONOTONIC=1 -march=armv7-a -mfloat-abi=softfp -mtune=generic-armv7-a -Xclang -fdebug-compilation-dir -Xclang . -no-canonical-prefixes -mfpu=neon -mthumb -Wall -Werror -Wextra -Wimplicit-fallthrough -Wthread-safety -Wextra-semi -Wno-missing-field-initializers -Wno-unused-parameter -Wno-c++11-narrowing -Wno-unneeded-internal-declaration -Wno-undefined-var-template -Wno-ignored-pragma-optimize -Oz -fno-ident -fdata-sections -ffunction-sections -fomit-frame-pointer -gdwarf-3 -g1 -fdebug-info-for-profiling -fvisibility=hidden -Xclang -add-plugin -Xclang find-bad-constructs -Xclang -plugin-arg-find-bad-constructs -Xclang check-ipc -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -std=c++14 -fno-exceptions -fno-rtti -nostdinc++ -isystem../../buildtools/third_party/libc++/trunk/include -isystem../../buildtools/third_party/libc++abi/trunk/include --sysroot=../../third_party/android_ndk/sysroot -isystem../../third_party/android_ndk/sources/android/support/include -fvisibility-inlines-hidden -c ../../xwalk/runtime/browser/android/cookie_manager.cc -o obj/xwalk/xwalk_cookies/cookie_manager.o In file included from ../../xwalk/runtime/browser/android/cookie_manager.cc:5: In file included from ../../xwalk/runtime/browser/android/cookie_manager.h:9: In file included from ../../base/memory/scoped_refptr.h:15: ../../base/logging.h:23:10: fatal error: 'base/logging_buildflags.h' file not found

include "base/logging_buildflags.h"

     ^~~~~~~~~~~~~~~~~~~~~~~~~~~

1 error generated. [17/29739] CXX obj/third_party/icu/icuuc/ubidi_props.o ninja: build stopped: subcommand failed.