I fetched the v8 codes into my home /home/user/v8, then I copy it to chromium sub-folder, when running the command:
I got a lot of compiling errors, it seems they are related to C++ template. I also tries install_build_deps.sh, still same errors.
make[1]: Entering directory `/home/user/webrtc-checkout/src/chromium/src/v8/out'
CXX(target) /home/user/webrtc-checkout/src/chromium/src/v8/out/ia32.release/obj.target/v8_base/src/accessors.o
In file included from .././src/v8.h:29:0,
from ../src/accessors.cc:5:
.././include/v8.h:335:1: error: expected unqualified-id before ‘using’
.././include/v8.h:467:1: error: expected unqualified-id before ‘using’
.././include/v8.h:498:48: error: ‘Handle’ does not name a type
.././include/v8.h:498:48: error: ISO C++ forbids declaration of ‘parameter’ with no type [-fpermissive]
.././include/v8.h:498:54: error: expected ‘,’ or ‘...’ before ‘<’ token
.././include/v8.h:519:54: error: ‘Handle’ does not name a type
.././include/v8.h:519:54: error: ISO C++ forbids declaration of ‘parameter’ with no type [-fpermissive]
.././include/v8.h:519:60: error: expected ‘,’ or ‘...’ before ‘<’ token
.././include/v8.h:532:54: error: ‘Handle’ does not name a type
.././include/v8.h:532:54: error: ISO C++ forbids declaration of ‘parameter’ with no type [-fpermissive]
.././include/v8.h:532:60: error: expected ‘,’ or ‘...’ before ‘<’ token
.././include/v8.h: In member function ‘bool v8::PersistentBase<T>::operator==(int) const’:
.././include/v8.h:521:65: error: ‘that’ was not declared in this scope
.././include/v8.h: In member function ‘bool v8::PersistentBase<T>::operator!=(int) const’:
.././include/v8.h:533:24: error: ‘that’ was not declared in this scope
.././include/v8.h: At global scope:
.././include/v8.h:699:61: error: ‘Handle’ has not been declared
.././include/v8.h:699:67: error: expected ‘,’ or ‘...’ before ‘<’ token
.././include/v8.h: In constructor ‘v8::Persistent<T, M>::Persistent(v8::Isolate*, int)’: