Master Release Build fail browsing_data...unittest.obj

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

Master Release Build fail browsing_data...unittest.obj

Postby solarisx » Tue Aug 29, 2017 5:05 am

Hi, the build of the current master branch on windows (10.0.15063 Build 15063) fails at:

Code: Select all
D:\_DEV_DATA\CEF\chromium_git\chromium\src>ninja -C out\Release_GN_x86
ninja: Entering directory `out\Release_GN_x86'
[241/11146] CXX obj/content/test/content_unittests/browsing_data_remover_impl_unittest.obj
FAILED: obj/content/test/content_unittests/browsing_data_remover_impl_unittest.obj
ninja -t msvc -e environment.x86 -- "c:\program files (x86)\microsoft visual studio 14.0\vc\bin\amd64_x86/cl.exe" /nologo /showIncludes  @obj/content/test/content_unittests/browsing_data_remover_impl_unittest.obj.rsp /c ../../content/browser/browsing_data/browsing_data_remover_impl_unittest.cc /Foobj/content/test/content_unittests/browsing_data_remover_impl_unittest.obj /Fd"obj/content/test/content_unittests_cc.pdb"
../../content/browser/browsing_data/browsing_data_remover_impl_unittest.cc(542): error C2259: 'content::`anonymous-namespace'::TestStoragePartition': cannot instantiate abstract class
../../content/browser/browsing_data/browsing_data_remover_impl_unittest.cc(542): note: due to following members:
../../content/browser/browsing_data/browsing_data_remover_impl_unittest.cc(542): note: 'content::BackgroundFetchContext *content::StoragePartition::GetBackgroundFetchContext(void)': is abstract
D:\_DEV_DATA\CEF\chromium_git\chromium\src\content/public/browser/storage_partition.h(96): note: see declaration of 'content::StoragePartition::GetBackgroundFetchContext'
../../content/browser/browsing_data/browsing_data_remover_impl_unittest.cc(542): note: 'content::BackgroundSyncContext *content::StoragePartition::GetBackgroundSyncContext(void)': is abstract
D:\_DEV_DATA\CEF\chromium_git\chromium\src\content/public/browser/storage_partition.h(97): note: see declaration of 'content::StoragePartition::GetBackgroundSyncContext'
../../content/browser/browsing_data/browsing_data_remover_impl_unittest.cc(542): note: 'content::PaymentAppContextImpl *content::StoragePartition::GetPaymentAppContext(void)': is abstract
D:\_DEV_DATA\CEF\chromium_git\chromium\src\content/public/browser/storage_partition.h(98): note: see declaration of 'content::StoragePartition::GetPaymentAppContext'
../../content/browser/browsing_data/browsing_data_remover_impl_unittest.cc(542): note: 'content::BroadcastChannelProvider *content::StoragePartition::GetBroadcastChannelProvider(void)': is abstract
D:\_DEV_DATA\CEF\chromium_git\chromium\src\content/public/browser/storage_partition.h(99): note: see declaration of 'content::StoragePartition::GetBroadcastChannelProvider'
../../content/browser/browsing_data/browsing_data_remover_impl_unittest.cc(542): note: 'content::BluetoothAllowedDevicesMap *content::StoragePartition::GetBluetoothAllowedDevicesMap(void)': is abstract
D:\_DEV_DATA\CEF\chromium_git\chromium\src\content/public/browser/storage_partition.h(100): note: see declaration of 'content::StoragePartition::GetBluetoothAllowedDevicesMap'
../../content/browser/browsing_data/browsing_data_remover_impl_unittest.cc(542): note: 'content::BlobURLLoaderFactory *content::StoragePartition::GetBlobURLLoaderFactory(void)': is abstract
D:\_DEV_DATA\CEF\chromium_git\chromium\src\content/public/browser/storage_partition.h(101): note: see declaration of 'content::StoragePartition::GetBlobURLLoaderFactory'
../../content/browser/browsing_data/browsing_data_remover_impl_unittest.cc(542): note: 'content::BlobRegistryWrapper *content::StoragePartition::GetBlobRegistry(void)': is abstract
D:\_DEV_DATA\CEF\chromium_git\chromium\src\content/public/browser/storage_partition.h(102): note: see declaration of 'content::StoragePartition::GetBlobRegistry'
../../content/browser/browsing_data/browsing_data_remover_impl_unittest.cc(542): note: 'content::mojom::NetworkContext *content::StoragePartition::network_context(void)': is abstract
D:\_DEV_DATA\CEF\chromium_git\chromium\src\content/public/browser/storage_partition.h(208): note: see declaration of 'content::StoragePartition::network_context'
../../content/browser/browsing_data/browsing_data_remover_impl_unittest.cc(542): note: 'content::URLLoaderFactoryGetter *content::StoragePartition::url_loader_factory_getter(void)': is abstract
D:\_DEV_DATA\CEF\chromium_git\chromium\src\content/public/browser/storage_partition.h(209): note: see declaration of 'content::StoragePartition::url_loader_factory_getter'
../../content/browser/browsing_data/browsing_data_remover_impl_unittest.cc(542): note: 'content::BrowserContext *content::StoragePartition::browser_context(void) const': is abstract
D:\_DEV_DATA\CEF\chromium_git\chromium\src\content/public/browser/storage_partition.h(210): note: see declaration of 'content::StoragePartition::browser_context'
../../content/browser/browsing_data/browsing_data_remover_impl_unittest.cc(542): note: 'void content::StoragePartition::Bind(mojo::InterfaceRequest<content::mojom::StoragePartitionService>)': is abstract
D:\_DEV_DATA\CEF\chromium_git\chromium\src\content/public/browser/storage_partition.h(213): note: see declaration of 'content::StoragePartition::Bind'
../../content/browser/browsing_data/browsing_data_remover_impl_unittest.cc(564): error C2259: 'content::`anonymous-namespace'::TestStoragePartition': cannot instantiate abstract class
../../content/browser/browsing_data/browsing_data_remover_impl_unittest.cc(564): note: due to following members:
../../content/browser/browsing_data/browsing_data_remover_impl_unittest.cc(564): note: 'content::BackgroundFetchContext *content::StoragePartition::GetBackgroundFetchContext(void)': is abstract
D:\_DEV_DATA\CEF\chromium_git\chromium\src\content/public/browser/storage_partition.h(96): note: see declaration of 'content::StoragePartition::GetBackgroundFetchContext'
../../content/browser/browsing_data/browsing_data_remover_impl_unittest.cc(564): note: 'content::BackgroundSyncContext *content::StoragePartition::GetBackgroundSyncContext(void)': is abstract
D:\_DEV_DATA\CEF\chromium_git\chromium\src\content/public/browser/storage_partition.h(97): note: see declaration of 'content::StoragePartition::GetBackgroundSyncContext'
../../content/browser/browsing_data/browsing_data_remover_impl_unittest.cc(564): note: 'content::PaymentAppContextImpl *content::StoragePartition::GetPaymentAppContext(void)': is abstract
D:\_DEV_DATA\CEF\chromium_git\chromium\src\content/public/browser/storage_partition.h(98): note: see declaration of 'content::StoragePartition::GetPaymentAppContext'
../../content/browser/browsing_data/browsing_data_remover_impl_unittest.cc(564): note: 'content::BroadcastChannelProvider *content::StoragePartition::GetBroadcastChannelProvider(void)': is abstract
D:\_DEV_DATA\CEF\chromium_git\chromium\src\content/public/browser/storage_partition.h(99): note: see declaration of 'content::StoragePartition::GetBroadcastChannelProvider'
../../content/browser/browsing_data/browsing_data_remover_impl_unittest.cc(564): note: 'content::BluetoothAllowedDevicesMap *content::StoragePartition::GetBluetoothAllowedDevicesMap(void)': is abstract
D:\_DEV_DATA\CEF\chromium_git\chromium\src\content/public/browser/storage_partition.h(100): note: see declaration of 'content::StoragePartition::GetBluetoothAllowedDevicesMap'
../../content/browser/browsing_data/browsing_data_remover_impl_unittest.cc(564): note: 'content::BlobURLLoaderFactory *content::StoragePartition::GetBlobURLLoaderFactory(void)': is abstract
D:\_DEV_DATA\CEF\chromium_git\chromium\src\content/public/browser/storage_partition.h(101): note: see declaration of 'content::StoragePartition::GetBlobURLLoaderFactory'
../../content/browser/browsing_data/browsing_data_remover_impl_unittest.cc(564): note: 'content::BlobRegistryWrapper *content::StoragePartition::GetBlobRegistry(void)': is abstract
D:\_DEV_DATA\CEF\chromium_git\chromium\src\content/public/browser/storage_partition.h(102): note: see declaration of 'content::StoragePartition::GetBlobRegistry'
../../content/browser/browsing_data/browsing_data_remover_impl_unittest.cc(564): note: 'content::mojom::NetworkContext *content::StoragePartition::network_context(void)': is abstract
D:\_DEV_DATA\CEF\chromium_git\chromium\src\content/public/browser/storage_partition.h(208): note: see declaration of 'content::StoragePartition::network_context'
../../content/browser/browsing_data/browsing_data_remover_impl_unittest.cc(564): note: 'content::URLLoaderFactoryGetter *content::StoragePartition::url_loader_factory_getter(void)': is abstract
D:\_DEV_DATA\CEF\chromium_git\chromium\src\content/public/browser/storage_partition.h(209): note: see declaration of 'content::StoragePartition::url_loader_factory_getter'
../../content/browser/browsing_data/browsing_data_remover_impl_unittest.cc(564): note: 'content::BrowserContext *content::StoragePartition::browser_context(void) const': is abstract
D:\_DEV_DATA\CEF\chromium_git\chromium\src\content/public/browser/storage_partition.h(210): note: see declaration of 'content::StoragePartition::browser_context'
../../content/browser/browsing_data/browsing_data_remover_impl_unittest.cc(564): note: 'void content::StoragePartition::Bind(mojo::InterfaceRequest<content::mojom::StoragePartitionService>)': is abstract
D:\_DEV_DATA\CEF\chromium_git\chromium\src\content/public/browser/storage_partition.h(213): note: see declaration of 'content::StoragePartition::Bind'
[258/11146] CXX obj/content/test/content_unittests/devtools_manager_unittest.obj
ninja: build stopped: subcommand failed.


I followed this build instructions to do an unmodfied build
https://bitbucket.org/chromiumembedded/cef/wiki/MasterBuildQuickStart.md

Hope someone can help. I need to test CEF with these pull requests:
https://bitbucket.org/chromiumembedded/cef/pull-requests/96/osr-fix-gpu-cpu-readback-performance/diff
https://bitbucket.org/chromiumembedded/cef/pull-requests/104/touch-processing-for-osr-different-api/diff

Thanks in advance
solarisx
Techie
 
Posts: 11
Joined: Fri Jul 21, 2017 2:08 pm

Re: Master Release Build fail browsing_data...unittest.obj

Postby magreenblatt » Tue Aug 29, 2017 10:10 am

You didn't specify a target to ninja so it's trying to build everything. Use `ninja -C out\Release_GN_x86 cef` instead.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: Master Release Build fail browsing_data...unittest.obj

Postby solarisx » Wed Aug 30, 2017 3:56 am

Thanks! Overlook that. Have to polish my glasses.
Greets
solarisx
Techie
 
Posts: 11
Joined: Fri Jul 21, 2017 2:08 pm


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 99 guests