electron-archive / brightray_example Goto Github PK
View Code? Open in Web Editor NEWAn example application using Brightray
License: MIT License
An example application using Brightray
License: MIT License
We're leaking the content::WebContents
we put in the main window. We should delete it when the window closes.
I just created https://github.com/brightray. I'm planning to transfer this repo to that org today. Just a heads up!
I ran
./script/bootstrap https://s3.amazonaws.com/github-janky-artifacts/libchromiumcontent
./script/build
and got this:
vendor/brightray/browser/browser_context.h:51:33: error: 'GetRequestContextForRenderProcess' overrides a member function but is not marked 'override'
The libchromiumcontent version was
https://s3.amazonaws.com/github-janky-artifacts/libchromiumcontent/osx/64bit/3f108160eded696b3e843c2fbb4e5e2ac696555e/libchromiumcontent.zip
I followed the instructions to build libchromiumcontent
and am referencing it locally when building the example app but am getting some compilation errors I'm not sure how to go about resolving. Any tips:
RobertoMBP2: [master] ~/Documents/workspace.cloud.rnd/brightray_example $ script/bootstrap file:`pwd`/../libchromiumcontent/
Downloading libchromiumcontent 3f108160eded696b3e843c2fbb4e5e2ac696555e...
file:/Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/../libchromiumcontent//osx/64bit/3f108160eded696b3e843c2fbb4e5e2ac696555e/libchromiumcontent.zip
.............................................................
Extracting...
RobertoMBP2: [master] ~/Documents/workspace.cloud.rnd/brightray_example $ script/build
=== BUILD TARGET brightray_example_lib OF PROJECT brightray_example WITH THE DEFAULT CONFIGURATION (Debug) ===
Check dependencies
Write auxiliary files
/bin/mkdir -p /Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/brightray_example.build/Debug/brightray_example_lib.build
write-file /Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/brightray_example.build/Debug/brightray_example_lib.build/brightray_example_lib-generated-files.hmap
write-file /Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/brightray_example.build/Debug/brightray_example_lib.build/brightray_example_lib-own-target-headers.hmap
write-file /Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/brightray_example.build/Debug/brightray_example_lib.build/brightray_example_lib-all-target-headers.hmap
write-file /Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/brightray_example.build/Debug/brightray_example_lib.build/brightray_example_lib.hmap
/bin/mkdir -p /Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/brightray_example.build/Debug/brightray_example_lib.build/Objects-normal/x86_64
write-file /Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/brightray_example.build/Debug/brightray_example_lib.build/Objects-normal/x86_64/brightray_example_lib.LinkFileList
write-file /Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/brightray_example.build/Debug/brightray_example_lib.build/brightray_example_lib-project-headers.hmap
write-file /Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/brightray_example.build/Debug/brightray_example_lib.build/brightray_example_lib-all-non-framework-target-headers.hmap
CompileC build/brightray_example.build/Debug/brightray_example_lib.build/Objects-normal/x86_64/window.o browser/window.cc normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
cd /Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example
export LANG=en_US.US-ASCII
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c++ -arch x86_64 -fmessage-length=204 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -fcolor-diagnostics -std=c++11 -stdlib=libc++ -Wno-trigraphs -fno-exceptions -fno-rtti -fpascal-strings -O0 -Werror -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-shorten-64-to-32 -Wno-newline-eof -Wno-c++11-extensions -DCOMPONENT_BUILD -DGURL_DLL -DSKIA_DLL -DNDEBUG -DUSING_V8_SHARED -DWEBKIT_DLL -DSK_SUPPORT_LEGACY_GETTOPDEVICE -DSK_SUPPORT_LEGACY_BITMAP_CONFIG -DSK_SUPPORT_LEGACY_DEVICE_VIRTUAL_ISOPAQUE -DSK_SUPPORT_LEGACY_N32_NAME -DSK_SUPPORT_LEGACY_SETCONFIG -DSK_IGNORE_ETC1_SUPPORT -DSK_IGNORE_GPU_DITHER -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -Winvalid-offsetof -mmacosx-version-min=10.8 -g -Wno-sign-conversion -iquote /Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/brightray_example.build/Debug/brightray_example_lib.build/brightray_example_lib-generated-files.hmap -I/Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/brightray_example.build/Debug/brightray_example_lib.build/brightray_example_lib-own-target-headers.hmap -I/Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/brightray_example.build/Debug/brightray_example_lib.build/brightray_example_lib-all-target-headers.hmap -iquote /Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/brightray_example.build/Debug/brightray_example_lib.build/brightray_example_lib-project-headers.hmap -I/Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/Debug/include -I. -Ivendor/brightray -Ivendor -Ivendor/brightray/vendor/download/libchromiumcontent/src -Ivendor/brightray/vendor/download/libchromiumcontent/src/skia/config -Ivendor/brightray/vendor/download/libchromiumcontent/src/third_party/skia/include/core -Ivendor/brightray/vendor/download/libchromiumcontent/src/third_party/icu/source/common -Ivendor/brightray/vendor/download/libchromiumcontent/src/third_party/WebKit -Ivendor/brightray/vendor/download/libchromiumcontent/Release/gen -I/Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/brightray_example.build/Debug/brightray_example_lib.build/DerivedSources/x86_64 -I/Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/brightray_example.build/Debug/brightray_example_lib.build/DerivedSources -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -F/Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/Debug -MMD -MT dependencies -MF /Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/brightray_example.build/Debug/brightray_example_lib.build/Objects-normal/x86_64/window.d --serialize-diagnostics /Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/brightray_example.build/Debug/brightray_example_lib.build/Objects-normal/x86_64/window.dia -c /Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/browser/window.cc -o /Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/brightray_example.build/Debug/brightray_example_lib.build/Objects-normal/x86_64/window.o
CompileC build/brightray_example.build/Debug/brightray_example_lib.build/Objects-normal/x86_64/browser_client.o browser/browser_client.cc normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
cd /Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example
export LANG=en_US.US-ASCII
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c++ -arch x86_64 -fmessage-length=204 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -fcolor-diagnostics -std=c++11 -stdlib=libc++ -Wno-trigraphs -fno-exceptions -fno-rtti -fpascal-strings -O0 -Werror -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-shorten-64-to-32 -Wno-newline-eof -Wno-c++11-extensions -DCOMPONENT_BUILD -DGURL_DLL -DSKIA_DLL -DNDEBUG -DUSING_V8_SHARED -DWEBKIT_DLL -DSK_SUPPORT_LEGACY_GETTOPDEVICE -DSK_SUPPORT_LEGACY_BITMAP_CONFIG -DSK_SUPPORT_LEGACY_DEVICE_VIRTUAL_ISOPAQUE -DSK_SUPPORT_LEGACY_N32_NAME -DSK_SUPPORT_LEGACY_SETCONFIG -DSK_IGNORE_ETC1_SUPPORT -DSK_IGNORE_GPU_DITHER -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -Winvalid-offsetof -mmacosx-version-min=10.8 -g -Wno-sign-conversion -iquote /Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/brightray_example.build/Debug/brightray_example_lib.build/brightray_example_lib-generated-files.hmap -I/Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/brightray_example.build/Debug/brightray_example_lib.build/brightray_example_lib-own-target-headers.hmap -I/Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/brightray_example.build/Debug/brightray_example_lib.build/brightray_example_lib-all-target-headers.hmap -iquote /Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/brightray_example.build/Debug/brightray_example_lib.build/brightray_example_lib-project-headers.hmap -I/Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/Debug/include -I. -Ivendor/brightray -Ivendor -Ivendor/brightray/vendor/download/libchromiumcontent/src -Ivendor/brightray/vendor/download/libchromiumcontent/src/skia/config -Ivendor/brightray/vendor/download/libchromiumcontent/src/third_party/skia/include/core -Ivendor/brightray/vendor/download/libchromiumcontent/src/third_party/icu/source/common -Ivendor/brightray/vendor/download/libchromiumcontent/src/third_party/WebKit -Ivendor/brightray/vendor/download/libchromiumcontent/Release/gen -I/Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/brightray_example.build/Debug/brightray_example_lib.build/DerivedSources/x86_64 -I/Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/brightray_example.build/Debug/brightray_example_lib.build/DerivedSources -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -F/Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/Debug -MMD -MT dependencies -MF /Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/brightray_example.build/Debug/brightray_example_lib.build/Objects-normal/x86_64/browser_client.d --serialize-diagnostics /Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/brightray_example.build/Debug/brightray_example_lib.build/Objects-normal/x86_64/browser_client.dia -c /Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/browser/browser_client.cc -o /Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/brightray_example.build/Debug/brightray_example_lib.build/Objects-normal/x86_64/browser_client.o
In file included from /Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/browser/browser_client.cc:1:
In file included from ./browser/browser_client.h:4:
vendor/brightray/browser/browser_client.h:45:22: error: no type named 'ShowDesktopNotificationHostMsgParams' in namespace 'content'
const content::ShowDesktopNotificationHostMsgParams& params,
~~~~~~~~~^
vendor/brightray/browser/browser_client.h:48:27: error: no member named 'DesktopNotificationDelegate' in namespace 'content'
scoped_ptr<content::DesktopNotificationDelegate> delegate,
~~~~~~~~~^
2 errors generated.
CompileC build/brightray_example.build/Debug/brightray_example_lib.build/Objects-normal/x86_64/browser_main_parts.o browser/browser_main_parts.cc normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
cd /Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example
export LANG=en_US.US-ASCII
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c++ -arch x86_64 -fmessage-length=204 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -fcolor-diagnostics -std=c++11 -stdlib=libc++ -Wno-trigraphs -fno-exceptions -fno-rtti -fpascal-strings -O0 -Werror -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-shorten-64-to-32 -Wno-newline-eof -Wno-c++11-extensions -DCOMPONENT_BUILD -DGURL_DLL -DSKIA_DLL -DNDEBUG -DUSING_V8_SHARED -DWEBKIT_DLL -DSK_SUPPORT_LEGACY_GETTOPDEVICE -DSK_SUPPORT_LEGACY_BITMAP_CONFIG -DSK_SUPPORT_LEGACY_DEVICE_VIRTUAL_ISOPAQUE -DSK_SUPPORT_LEGACY_N32_NAME -DSK_SUPPORT_LEGACY_SETCONFIG -DSK_IGNORE_ETC1_SUPPORT -DSK_IGNORE_GPU_DITHER -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -Winvalid-offsetof -mmacosx-version-min=10.8 -g -Wno-sign-conversion -iquote /Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/brightray_example.build/Debug/brightray_example_lib.build/brightray_example_lib-generated-files.hmap -I/Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/brightray_example.build/Debug/brightray_example_lib.build/brightray_example_lib-own-target-headers.hmap -I/Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/brightray_example.build/Debug/brightray_example_lib.build/brightray_example_lib-all-target-headers.hmap -iquote /Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/brightray_example.build/Debug/brightray_example_lib.build/brightray_example_lib-project-headers.hmap -I/Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/Debug/include -I. -Ivendor/brightray -Ivendor -Ivendor/brightray/vendor/download/libchromiumcontent/src -Ivendor/brightray/vendor/download/libchromiumcontent/src/skia/config -Ivendor/brightray/vendor/download/libchromiumcontent/src/third_party/skia/include/core -Ivendor/brightray/vendor/download/libchromiumcontent/src/third_party/icu/source/common -Ivendor/brightray/vendor/download/libchromiumcontent/src/third_party/WebKit -Ivendor/brightray/vendor/download/libchromiumcontent/Release/gen -I/Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/brightray_example.build/Debug/brightray_example_lib.build/DerivedSources/x86_64 -I/Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/brightray_example.build/Debug/brightray_example_lib.build/DerivedSources -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -F/Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/Debug -MMD -MT dependencies -MF /Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/brightray_example.build/Debug/brightray_example_lib.build/Objects-normal/x86_64/browser_main_parts.d --serialize-diagnostics /Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/brightray_example.build/Debug/brightray_example_lib.build/Objects-normal/x86_64/browser_main_parts.dia -c /Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/browser/browser_main_parts.cc -o /Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/brightray_example.build/Debug/brightray_example_lib.build/Objects-normal/x86_64/browser_main_parts.o
CompileC build/brightray_example.build/Debug/brightray_example_lib.build/Objects-normal/x86_64/window_mac.o browser/mac/window_mac.mm normal x86_64 objective-c++ com.apple.compilers.llvm.clang.1_0.compiler
cd /Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example
export LANG=en_US.US-ASCII
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c++ -arch x86_64 -fmessage-length=204 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -fcolor-diagnostics -std=c++11 -stdlib=libc++ -Wno-trigraphs -fno-exceptions -fno-rtti -fpascal-strings -O0 -Werror -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-implicit-atomic-properties -Wno-receiver-is-weak -Wno-arc-repeated-use-of-weak -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-shorten-64-to-32 -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -Wno-c++11-extensions -DCOMPONENT_BUILD -DGURL_DLL -DSKIA_DLL -DNDEBUG -DUSING_V8_SHARED -DWEBKIT_DLL -DSK_SUPPORT_LEGACY_GETTOPDEVICE -DSK_SUPPORT_LEGACY_BITMAP_CONFIG -DSK_SUPPORT_LEGACY_DEVICE_VIRTUAL_ISOPAQUE -DSK_SUPPORT_LEGACY_N32_NAME -DSK_SUPPORT_LEGACY_SETCONFIG -DSK_IGNORE_ETC1_SUPPORT -DSK_IGNORE_GPU_DITHER -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -Winvalid-offsetof -mmacosx-version-min=10.8 -g -Wno-sign-conversion -iquote /Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/brightray_example.build/Debug/brightray_example_lib.build/brightray_example_lib-generated-files.hmap -I/Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/brightray_example.build/Debug/brightray_example_lib.build/brightray_example_lib-own-target-headers.hmap -I/Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/brightray_example.build/Debug/brightray_example_lib.build/brightray_example_lib-all-target-headers.hmap -iquote /Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/brightray_example.build/Debug/brightray_example_lib.build/brightray_example_lib-project-headers.hmap -I/Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/Debug/include -I. -Ivendor/brightray -Ivendor -Ivendor/brightray/vendor/download/libchromiumcontent/src -Ivendor/brightray/vendor/download/libchromiumcontent/src/skia/config -Ivendor/brightray/vendor/download/libchromiumcontent/src/third_party/skia/include/core -Ivendor/brightray/vendor/download/libchromiumcontent/src/third_party/icu/source/common -Ivendor/brightray/vendor/download/libchromiumcontent/src/third_party/WebKit -Ivendor/brightray/vendor/download/libchromiumcontent/Release/gen -I/Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/brightray_example.build/Debug/brightray_example_lib.build/DerivedSources/x86_64 -I/Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/brightray_example.build/Debug/brightray_example_lib.build/DerivedSources -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -F/Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/Debug -MMD -MT dependencies -MF /Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/brightray_example.build/Debug/brightray_example_lib.build/Objects-normal/x86_64/window_mac.d --serialize-diagnostics /Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/brightray_example.build/Debug/brightray_example_lib.build/Objects-normal/x86_64/window_mac.dia -c /Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/browser/mac/window_mac.mm -o /Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/brightray_example.build/Debug/brightray_example_lib.build/Objects-normal/x86_64/window_mac.o
CompileC build/brightray_example.build/Debug/brightray_example_lib.build/Objects-normal/x86_64/main_delegate.o common/main_delegate.cc normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
cd /Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example
export LANG=en_US.US-ASCII
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c++ -arch x86_64 -fmessage-length=204 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -fcolor-diagnostics -std=c++11 -stdlib=libc++ -Wno-trigraphs -fno-exceptions -fno-rtti -fpascal-strings -O0 -Werror -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-shorten-64-to-32 -Wno-newline-eof -Wno-c++11-extensions -DCOMPONENT_BUILD -DGURL_DLL -DSKIA_DLL -DNDEBUG -DUSING_V8_SHARED -DWEBKIT_DLL -DSK_SUPPORT_LEGACY_GETTOPDEVICE -DSK_SUPPORT_LEGACY_BITMAP_CONFIG -DSK_SUPPORT_LEGACY_DEVICE_VIRTUAL_ISOPAQUE -DSK_SUPPORT_LEGACY_N32_NAME -DSK_SUPPORT_LEGACY_SETCONFIG -DSK_IGNORE_ETC1_SUPPORT -DSK_IGNORE_GPU_DITHER -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -Winvalid-offsetof -mmacosx-version-min=10.8 -g -Wno-sign-conversion -iquote /Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/brightray_example.build/Debug/brightray_example_lib.build/brightray_example_lib-generated-files.hmap -I/Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/brightray_example.build/Debug/brightray_example_lib.build/brightray_example_lib-own-target-headers.hmap -I/Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/brightray_example.build/Debug/brightray_example_lib.build/brightray_example_lib-all-target-headers.hmap -iquote /Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/brightray_example.build/Debug/brightray_example_lib.build/brightray_example_lib-project-headers.hmap -I/Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/Debug/include -I. -Ivendor/brightray -Ivendor -Ivendor/brightray/vendor/download/libchromiumcontent/src -Ivendor/brightray/vendor/download/libchromiumcontent/src/skia/config -Ivendor/brightray/vendor/download/libchromiumcontent/src/third_party/skia/include/core -Ivendor/brightray/vendor/download/libchromiumcontent/src/third_party/icu/source/common -Ivendor/brightray/vendor/download/libchromiumcontent/src/third_party/WebKit -Ivendor/brightray/vendor/download/libchromiumcontent/Release/gen -I/Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/brightray_example.build/Debug/brightray_example_lib.build/DerivedSources/x86_64 -I/Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/brightray_example.build/Debug/brightray_example_lib.build/DerivedSources -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -F/Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/Debug -MMD -MT dependencies -MF /Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/brightray_example.build/Debug/brightray_example_lib.build/Objects-normal/x86_64/main_delegate.d --serialize-diagnostics /Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/brightray_example.build/Debug/brightray_example_lib.build/Objects-normal/x86_64/main_delegate.dia -c /Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/common/main_delegate.cc -o /Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/brightray_example.build/Debug/brightray_example_lib.build/Objects-normal/x86_64/main_delegate.o
In file included from /Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/common/main_delegate.cc:3:
In file included from ./browser/browser_client.h:4:
vendor/brightray/browser/browser_client.h:45:22: error: no type named 'ShowDesktopNotificationHostMsgParams' in namespace 'content'
const content::ShowDesktopNotificationHostMsgParams& params,
~~~~~~~~~^
vendor/brightray/browser/browser_client.h:48:27: error: no member named 'DesktopNotificationDelegate' in namespace 'content'
scoped_ptr<content::DesktopNotificationDelegate> delegate,
~~~~~~~~~^
CompileC build/brightray_example.build/Debug/brightray_example_lib.build/Objects-normal/x86_64/render_view_observer.o renderer/render_view_observer.cc normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
cd /Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example
export LANG=en_US.US-ASCII
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c++ -arch x86_64 -fmessage-length=204 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -fcolor-diagnostics -std=c++11 -stdlib=libc++ -Wno-trigraphs -fno-exceptions -fno-rtti -fpascal-strings -O0 -Werror -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-shorten-64-to-32 -Wno-newline-eof -Wno-c++11-extensions -DCOMPONENT_BUILD -DGURL_DLL -DSKIA_DLL -DNDEBUG -DUSING_V8_SHARED -DWEBKIT_DLL -DSK_SUPPORT_LEGACY_GETTOPDEVICE -DSK_SUPPORT_LEGACY_BITMAP_CONFIG -DSK_SUPPORT_LEGACY_DEVICE_VIRTUAL_ISOPAQUE -DSK_SUPPORT_LEGACY_N32_NAME -DSK_SUPPORT_LEGACY_SETCONFIG -DSK_IGNORE_ETC1_SUPPORT -DSK_IGNORE_GPU_DITHER -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -Winvalid-offsetof -mmacosx-version-min=10.8 -g -Wno-sign-conversion -iquote /Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/brightray_example.build/Debug/brightray_example_lib.build/brightray_example_lib-generated-files.hmap -I/Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/brightray_example.build/Debug/brightray_example_lib.build/brightray_example_lib-own-target-headers.hmap -I/Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/brightray_example.build/Debug/brightray_example_lib.build/brightray_example_lib-all-target-headers.hmap -iquote /Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/brightray_example.build/Debug/brightray_example_lib.build/brightray_example_lib-project-headers.hmap -I/Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/Debug/include -I. -Ivendor/brightray -Ivendor -Ivendor/brightray/vendor/download/libchromiumcontent/src -Ivendor/brightray/vendor/download/libchromiumcontent/src/skia/config -Ivendor/brightray/vendor/download/libchromiumcontent/src/third_party/skia/include/core -Ivendor/brightray/vendor/download/libchromiumcontent/src/third_party/icu/source/common -Ivendor/brightray/vendor/download/libchromiumcontent/src/third_party/WebKit -Ivendor/brightray/vendor/download/libchromiumcontent/Release/gen -I/Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/brightray_example.build/Debug/brightray_example_lib.build/DerivedSources/x86_64 -I/Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/brightray_example.build/Debug/brightray_example_lib.build/DerivedSources -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -F/Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/Debug -MMD -MT dependencies -MF /Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/brightray_example.build/Debug/brightray_example_lib.build/Objects-normal/x86_64/render_view_observer.d --serialize-diagnostics /Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/brightray_example.build/Debug/brightray_example_lib.build/Objects-normal/x86_64/render_view_observer.dia -c /Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/renderer/render_view_observer.cc -o /Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/brightray_example.build/Debug/brightray_example_lib.build/Objects-normal/x86_64/render_view_observer.o
CompileC build/brightray_example.build/Debug/brightray_example_lib.build/Objects-normal/x86_64/window_controller.o browser/mac/window_controller.mm normal x86_64 objective-c++ com.apple.compilers.llvm.clang.1_0.compiler
cd /Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example
export LANG=en_US.US-ASCII
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c++ -arch x86_64 -fmessage-length=204 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -fcolor-diagnostics -std=c++11 -stdlib=libc++ -Wno-trigraphs -fno-exceptions -fno-rtti -fpascal-strings -O0 -Werror -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-implicit-atomic-properties -Wno-receiver-is-weak -Wno-arc-repeated-use-of-weak -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-shorten-64-to-32 -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -Wno-c++11-extensions -DCOMPONENT_BUILD -DGURL_DLL -DSKIA_DLL -DNDEBUG -DUSING_V8_SHARED -DWEBKIT_DLL -DSK_SUPPORT_LEGACY_GETTOPDEVICE -DSK_SUPPORT_LEGACY_BITMAP_CONFIG -DSK_SUPPORT_LEGACY_DEVICE_VIRTUAL_ISOPAQUE -DSK_SUPPORT_LEGACY_N32_NAME -DSK_SUPPORT_LEGACY_SETCONFIG -DSK_IGNORE_ETC1_SUPPORT -DSK_IGNORE_GPU_DITHER -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -Winvalid-offsetof -mmacosx-version-min=10.8 -g -Wno-sign-conversion -iquote /Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/brightray_example.build/Debug/brightray_example_lib.build/brightray_example_lib-generated-files.hmap -I/Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/brightray_example.build/Debug/brightray_example_lib.build/brightray_example_lib-own-target-headers.hmap -I/Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/brightray_example.build/Debug/brightray_example_lib.build/brightray_example_lib-all-target-headers.hmap -iquote /Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/brightray_example.build/Debug/brightray_example_lib.build/brightray_example_lib-project-headers.hmap -I/Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/Debug/include -I. -Ivendor/brightray -Ivendor -Ivendor/brightray/vendor/download/libchromiumcontent/src -Ivendor/brightray/vendor/download/libchromiumcontent/src/skia/config -Ivendor/brightray/vendor/download/libchromiumcontent/src/third_party/skia/include/core -Ivendor/brightray/vendor/download/libchromiumcontent/src/third_party/icu/source/common -Ivendor/brightray/vendor/download/libchromiumcontent/src/third_party/WebKit -Ivendor/brightray/vendor/download/libchromiumcontent/Release/gen -I/Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/brightray_example.build/Debug/brightray_example_lib.build/DerivedSources/x86_64 -I/Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/brightray_example.build/Debug/brightray_example_lib.build/DerivedSources -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -F/Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/Debug -MMD -MT dependencies -MF /Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/brightray_example.build/Debug/brightray_example_lib.build/Objects-normal/x86_64/window_controller.d --serialize-diagnostics /Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/brightray_example.build/Debug/brightray_example_lib.build/Objects-normal/x86_64/window_controller.dia -c /Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/browser/mac/window_controller.mm -o /Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/brightray_example.build/Debug/brightray_example_lib.build/Objects-normal/x86_64/window_controller.o
CompileC build/brightray_example.build/Debug/brightray_example_lib.build/Objects-normal/x86_64/renderer_client.o renderer/renderer_client.cc normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
cd /Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example
export LANG=en_US.US-ASCII
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c++ -arch x86_64 -fmessage-length=204 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -fcolor-diagnostics -std=c++11 -stdlib=libc++ -Wno-trigraphs -fno-exceptions -fno-rtti -fpascal-strings -O0 -Werror -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-shorten-64-to-32 -Wno-newline-eof -Wno-c++11-extensions -DCOMPONENT_BUILD -DGURL_DLL -DSKIA_DLL -DNDEBUG -DUSING_V8_SHARED -DWEBKIT_DLL -DSK_SUPPORT_LEGACY_GETTOPDEVICE -DSK_SUPPORT_LEGACY_BITMAP_CONFIG -DSK_SUPPORT_LEGACY_DEVICE_VIRTUAL_ISOPAQUE -DSK_SUPPORT_LEGACY_N32_NAME -DSK_SUPPORT_LEGACY_SETCONFIG -DSK_IGNORE_ETC1_SUPPORT -DSK_IGNORE_GPU_DITHER -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -Winvalid-offsetof -mmacosx-version-min=10.8 -g -Wno-sign-conversion -iquote /Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/brightray_example.build/Debug/brightray_example_lib.build/brightray_example_lib-generated-files.hmap -I/Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/brightray_example.build/Debug/brightray_example_lib.build/brightray_example_lib-own-target-headers.hmap -I/Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/brightray_example.build/Debug/brightray_example_lib.build/brightray_example_lib-all-target-headers.hmap -iquote /Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/brightray_example.build/Debug/brightray_example_lib.build/brightray_example_lib-project-headers.hmap -I/Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/Debug/include -I. -Ivendor/brightray -Ivendor -Ivendor/brightray/vendor/download/libchromiumcontent/src -Ivendor/brightray/vendor/download/libchromiumcontent/src/skia/config -Ivendor/brightray/vendor/download/libchromiumcontent/src/third_party/skia/include/core -Ivendor/brightray/vendor/download/libchromiumcontent/src/third_party/icu/source/common -Ivendor/brightray/vendor/download/libchromiumcontent/src/third_party/WebKit -Ivendor/brightray/vendor/download/libchromiumcontent/Release/gen -I/Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/brightray_example.build/Debug/brightray_example_lib.build/DerivedSources/x86_64 -I/Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/brightray_example.build/Debug/brightray_example_lib.build/DerivedSources -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -F/Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/Debug -MMD -MT dependencies -MF /Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/brightray_example.build/Debug/brightray_example_lib.build/Objects-normal/x86_64/renderer_client.d --serialize-diagnostics /Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/brightray_example.build/Debug/brightray_example_lib.build/Objects-normal/x86_64/renderer_client.dia -c /Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/renderer/renderer_client.cc -o /Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/brightray_example.build/Debug/brightray_example_lib.build/Objects-normal/x86_64/renderer_client.o
AnalyzeShallow browser/browser_client.cc
cd /Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example
export LANG=en_US.US-ASCII
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c++ -arch x86_64 -fmessage-length=204 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -fcolor-diagnostics -std=c++11 -stdlib=libc++ -Wno-trigraphs -fno-exceptions -fno-rtti -fpascal-strings -O0 -Werror -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-shorten-64-to-32 -Wno-newline-eof -Wno-c++11-extensions -DCOMPONENT_BUILD -DGURL_DLL -DSKIA_DLL -DNDEBUG -DUSING_V8_SHARED -DWEBKIT_DLL -DSK_SUPPORT_LEGACY_GETTOPDEVICE -DSK_SUPPORT_LEGACY_BITMAP_CONFIG -DSK_SUPPORT_LEGACY_DEVICE_VIRTUAL_ISOPAQUE -DSK_SUPPORT_LEGACY_N32_NAME -DSK_SUPPORT_LEGACY_SETCONFIG -DSK_IGNORE_ETC1_SUPPORT -DSK_IGNORE_GPU_DITHER -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -Winvalid-offsetof -mmacosx-version-min=10.8 -g -Wno-sign-conversion -D__clang_analyzer__ -Xclang -analyzer-output=plist-multi-file -Xclang -analyzer-config -Xclang path-diagnostics-alternate=true -Xclang -analyzer-config -Xclang report-in-main-source-file=true -Xclang -analyzer-config -Xclang mode=shallow -Xclang -analyzer-checker -Xclang security.insecureAPI.UncheckedReturn -Xclang -analyzer-checker -Xclang security.insecureAPI.getpw -Xclang -analyzer-checker -Xclang security.insecureAPI.gets -Xclang -analyzer-checker -Xclang security.insecureAPI.mkstemp -Xclang -analyzer-checker -Xclang security.insecureAPI.mktemp -Xclang -analyzer-disable-checker -Xclang security.insecureAPI.rand -Xclang -analyzer-disable-checker -Xclang security.insecureAPI.strcpy -Xclang -analyzer-checker -Xclang security.insecureAPI.vfork -iquote /Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/brightray_example.build/Debug/brightray_example_lib.build/brightray_example_lib-generated-files.hmap -I/Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/brightray_example.build/Debug/brightray_example_lib.build/brightray_example_lib-own-target-headers.hmap -I/Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/brightray_example.build/Debug/brightray_example_lib.build/brightray_example_lib-all-target-headers.hmap -iquote /Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/brightray_example.build/Debug/brightray_example_lib.build/brightray_example_lib-project-headers.hmap -I/Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/Debug/include -I. -Ivendor/brightray -Ivendor -Ivendor/brightray/vendor/download/libchromiumcontent/src -Ivendor/brightray/vendor/download/libchromiumcontent/src/skia/config -Ivendor/brightray/vendor/download/libchromiumcontent/src/third_party/skia/include/core -Ivendor/brightray/vendor/download/libchromiumcontent/src/third_party/icu/source/common -Ivendor/brightray/vendor/download/libchromiumcontent/src/third_party/WebKit -Ivendor/brightray/vendor/download/libchromiumcontent/Release/gen -I/Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/brightray_example.build/Debug/brightray_example_lib.build/DerivedSources/x86_64 -I/Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/brightray_example.build/Debug/brightray_example_lib.build/DerivedSources -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -F/Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/Debug -MMD -MT dependencies -MF /Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/brightray_example.build/Debug/brightray_example_lib.build/StaticAnalyzer/brightray_example/brightray_example_lib/normal/x86_64/browser_client.d --analyze /Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/browser/browser_client.cc -o /Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/brightray_example.build/Debug/brightray_example_lib.build/StaticAnalyzer/brightray_example/brightray_example_lib/normal/x86_64/browser_client.plist
AnalyzeShallow browser/browser_main_parts.cc
cd /Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example
export LANG=en_US.US-ASCII
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c++ -arch x86_64 -fmessage-length=204 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -fcolor-diagnostics -std=c++11 -stdlib=libc++ -Wno-trigraphs -fno-exceptions -fno-rtti -fpascal-strings -O0 -Werror -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-shorten-64-to-32 -Wno-newline-eof -Wno-c++11-extensions -DCOMPONENT_BUILD -DGURL_DLL -DSKIA_DLL -DNDEBUG -DUSING_V8_SHARED -DWEBKIT_DLL -DSK_SUPPORT_LEGACY_GETTOPDEVICE -DSK_SUPPORT_LEGACY_BITMAP_CONFIG -DSK_SUPPORT_LEGACY_DEVICE_VIRTUAL_ISOPAQUE -DSK_SUPPORT_LEGACY_N32_NAME -DSK_SUPPORT_LEGACY_SETCONFIG -DSK_IGNORE_ETC1_SUPPORT -DSK_IGNORE_GPU_DITHER -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -Winvalid-offsetof -mmacosx-version-min=10.8 -g -Wno-sign-conversion -D__clang_analyzer__ -Xclang -analyzer-output=plist-multi-file -Xclang -analyzer-config -Xclang path-diagnostics-alternate=true -Xclang -analyzer-config -Xclang report-in-main-source-file=true -Xclang -analyzer-config -Xclang mode=shallow -Xclang -analyzer-checker -Xclang security.insecureAPI.UncheckedReturn -Xclang -analyzer-checker -Xclang security.insecureAPI.getpw -Xclang -analyzer-checker -Xclang security.insecureAPI.gets -Xclang -analyzer-checker -Xclang security.insecureAPI.mkstemp -Xclang -analyzer-checker -Xclang security.insecureAPI.mktemp -Xclang -analyzer-disable-checker -Xclang security.insecureAPI.rand -Xclang -analyzer-disable-checker -Xclang security.insecureAPI.strcpy -Xclang -analyzer-checker -Xclang security.insecureAPI.vfork -iquote /Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/brightray_example.build/Debug/brightray_example_lib.build/brightray_example_lib-generated-files.hmap -I/Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/brightray_example.build/Debug/brightray_example_lib.build/brightray_example_lib-own-target-headers.hmap -I/Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/brightray_example.build/Debug/brightray_example_lib.build/brightray_example_lib-all-target-headers.hmap -iquote /Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/brightray_example.build/Debug/brightray_example_lib.build/brightray_example_lib-project-headers.hmap -I/Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/Debug/include -I. -Ivendor/brightray -Ivendor -Ivendor/brightray/vendor/download/libchromiumcontent/src -Ivendor/brightray/vendor/download/libchromiumcontent/src/skia/config -Ivendor/brightray/vendor/download/libchromiumcontent/src/third_party/skia/include/core -Ivendor/brightray/vendor/download/libchromiumcontent/src/third_party/icu/source/common -Ivendor/brightray/vendor/download/libchromiumcontent/src/third_party/WebKit -Ivendor/brightray/vendor/download/libchromiumcontent/Release/gen -I/Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/brightray_example.build/Debug/brightray_example_lib.build/DerivedSources/x86_64 -I/Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/brightray_example.build/Debug/brightray_example_lib.build/DerivedSources -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -F/Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/Debug -MMD -MT dependencies -MF /Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/brightray_example.build/Debug/brightray_example_lib.build/StaticAnalyzer/brightray_example/brightray_example_lib/normal/x86_64/browser_main_parts.d --analyze /Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/browser/browser_main_parts.cc -o /Users/robertoandrade/Documents/workspace.cloud.rnd/brightray_example/build/brightray_example.build/Debug/brightray_example_lib.build/StaticAnalyzer/brightray_example/brightray_example_lib/normal/x86_64/browser_main_parts.plist
** BUILD FAILED **
The following build commands failed:
CompileC build/brightray_example.build/Debug/brightray_example_lib.build/Objects-normal/x86_64/browser_client.o browser/browser_client.cc normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
Traceback (most recent call last):
File "script/build", line 43, in <module>
sys.exit(main())
File "script/build", line 16, in main
build()
File "script/build", line 30, in build
subprocess.check_call(['xcodebuild'])
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 540, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['xcodebuild']' returned non-zero exit status 65
We should demonstrate the API for creating context menus.
I'd like to improve the documentation (if possible) to your existing documentation on sandboxing. What levels of sandboxing and what choices do we have? You only mention setuid, is that because the user namespace sandbox isn't supported? What about seccomp-bpf?
Here is what I get while building:
$ ninja -C out/Release/
ninja: Entering directory `out/Release/'
[18/57] CXX obj/renderer/brightray_example_lib.renderer_client.o
FAILED: g++ -MMD -MF obj/renderer/brightray_example_lib.renderer_client.o.d -DCOMPONENT_BUILD -DGURL_DLL -DSKIA_DLL -DNDEBUG -DUSING_V8_SHARED -DWEBKIT_DLL -I../.. -I../../.. -I../../../brightray/vendor/download/libchromiumcontent/src -I../../../brightray/vendor/download/libchromiumcontent/src/third_party/skia/include/config -I../../../brightray/vendor/download/libchromiumcontent/src/third_party/skia/include/core -I../../../brightray/vendor/download/libchromiumcontent/src/third_party/icu/source/common -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -fasm-blocks -mpascal-strings -Os -gdwarf-2 -Werror -mmacosx-version-min=10.8 -arch x86_64 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -std=gnu++11 -stdlib=libstdc++ -fno-rtti -fno-exceptions -c ../../renderer/renderer_client.cc -o obj/renderer/brightray_example_lib.renderer_client.o
In file included from ../../renderer/renderer_client.cc:1:
In file included from ../../renderer/renderer_client.h:4:
In file included from ../../../brightray/vendor/download/libchromiumcontent/src/content/public/renderer/content_renderer_client.h:8:
../../../string:1:1: error: source file is not valid UTF-8
<CF><FA><ED><FE><U+0007>
^
../../../string:1:2: error: source file is not valid UTF-8
<CF><FA><ED><FE><U+0007>
^
../../../string:1:3: error: source file is not valid UTF-8
<CF><FA><ED><FE><U+0007>
^
../../../string:1:4: error: source file is not valid UTF-8
<CF><FA><ED><FE><U+0007>
^
../../../string:1:5: error: expected unqualified-id
<CF><FA><ED><FE><U+0007>
^
../../../string:1:6: error: null character ignored [-Werror,-Wnull-character]
<CF><FA><ED><FE><U+0007>
^
../../../string:1:7: error: null character ignored [-Werror,-Wnull-character]
<CF><FA><ED><FE><U+0007><U+0000>
^
../../../string:1:10: error: null character ignored [-Werror,-Wnull-character]
<CF><FA><ED><FE><U+0007><U+0000><U+0000><U+0001><U+0003>
^
../../../string:1:11: error: null character ignored [-Werror,-Wnull-character]
<CF><FA><ED><FE><U+0007><U+0000><U+0000><U+0001><U+0003><U+0000>
^
../../../string:1:12: error: source file is not valid UTF-8
<CF><FA><ED><FE><U+0007><U+0000><U+0000><U+0001><U+0003><U+0000><U+0000><80><U+0002>
^
../../../string:1:14: error: null character ignored [-Werror,-Wnull-character]
<CF><FA><ED><FE><U+0007><U+0000><U+0000><U+0001><U+0003><U+0000><U+0000><80><U+0002>
^
../../../string:1:15: error: null character ignored [-Werror,-Wnull-character]
<CF><FA><ED><FE><U+0007><U+0000><U+0000><U+0001><U+0003><U+0000><U+0000><80><U+0002><U+0000>
^
../../../string:1:16: error: null character ignored [-Werror,-Wnull-character]
<CF><FA><ED><FE><U+0007><U+0000><U+0000><U+0001><U+0003><U+0000><U+0000><80><U+0002><U+0000><U+0000>
^
../../../string:1:18: error: null character ignored [-Werror,-Wnull-character]
<CF><FA><ED><FE><U+0007><U+0000><U+0000><U+0001><U+0003><U+0000><U+0000><80><U+0002><U+0000><U+0000><U+0000><U+0011>
^
../../../string:1:19: error: null character ignored [-Werror,-Wnull-character]
<CF><FA><ED><FE><U+0007><U+0000><U+0000><U+0001><U+0003><U+0000><U+0000><80><U+0002><U+0000><U+0000><U+0000><U+0011><U+0000>
^
../../../string:1:20: error: null character ignored [-Werror,-Wnull-character]
<CF><FA><ED><FE><U+0007><U+0000><U+0000><U+0001><U+0003><U+0000><U+0000><80><U+0002><U+0000><U+0000><U+0000><U+0011><U+0000><U+0000>
^
../../../string:1:23: error: null character ignored [-Werror,-Wnull-character]
<CF><FA><ED><FE><U+0007><U+0000><U+0000><U+0001><U+0003><U+0000><U+0000><80><U+0002><U+0000><U+0000><U+0000><U+0011><U+0000><U+0000><U+0000>(<U+0007>
^
../../../string:1:24: error: null character ignored [-Werror,-Wnull-character]
<CF><FA><ED><FE><U+0007><U+0000><U+0000><U+0001><U+0003><U+0000><U+0000><80><U+0002><U+0000><U+0000><U+0000><U+0011><U+0000><U+0000><U+0000>(<U+0007><U+0000>
^
../../../string:1:25: error: source file is not valid UTF-8
<CF><FA><ED><FE><U+0007><U+0000><U+0000><U+0001><U+0003><U+0000><U+0000><80><U+0002><U+0000><U+0000><U+0000><U+0011><U+0000><U+0000><U+0000>(<U+0007><U+0000><U+0000><85>
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[18/57] OBJCXX brightray/browser/mac/brightray.bry_inspectable_web_contents_view.o
ninja: build stopped: subcommand failed.
...how do i fix that? Because, it just confuses me! I actually looked this up, and its just:
#include <string>
...but why is it erroring at this?
We should show how to define messages and send them messages between processes.
We should show how you can use Brightray to expose APIs to JS.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.