intel / ozone-wayland

Wayland implementation for Chromium Ozone classes
BSD 3-Clause "New" or "Revised" License
219 stars 82 forks source link

cc_unittests don't link with embedded = 1 configuration #211

Closed kalyankondapally closed 10 years ago

kalyankondapally commented 10 years ago

Build command: ninja -C out/Debug cc_unittests

Dependency: None . Blocks: #208 . SubTasks: None.

kalyankondapally commented 10 years ago

Link error:

ests.draw_quad_unittest.o obj/cc/quads/cc_unittests.render_pass_unittest.o obj/cc/resources/cc_unittests.layer_quad_unittest.o obj/cc/resources/cc_unittests.picture_layer_tiling_set_unittest.o obj/cc/resources/cc_unittests.picture_layer_tiling_unittest.o obj/cc/resources/cc_unittests.picture_pile_impl_unittest.o obj/cc/resources/cc_unittests.picture_pile_unittest.o obj/cc/resources/cc_unittests.picture_unittest.o obj/cc/resources/cc_unittests.prioritized_resource_unittest.o obj/cc/resources/cc_unittests.prioritized_tile_set_unittest.o obj/cc/resources/cc_unittests.raster_worker_pool_unittest.o obj/cc/resources/cc_unittests.resource_provider_unittest.o obj/cc/resources/cc_unittests.resource_update_controller_unittest.o obj/cc/resources/cc_unittests.scoped_resource_unittest.o obj/cc/resources/cc_unittests.task_graph_runner_unittest.o obj/cc/resources/cc_unittests.texture_mailbox_deleter_unittest.o obj/cc/resources/cc_unittests.texture_uploader_unittest.o obj/cc/resources/cc_unittests.tile_manager_unittest.o obj/cc/resources/cc_unittests.video_resource_updater_unittest.o obj/cc/scheduler/cc_unittests.delay_based_time_source_unittest.o obj/cc/scheduler/cc_unittests.frame_rate_controller_unittest.o obj/cc/scheduler/cc_unittests.scheduler_state_machine_unittest.o obj/cc/scheduler/cc_unittests.scheduler_unittest.o obj/cc/test/cc_unittests.layer_tree_json_parser_unittest.o obj/cc/test/cc_unittests.test_web_graphics_context_3d_unittest.o obj/cc/trees/cc_unittests.damage_tracker_unittest.o obj/cc/trees/cc_unittests.layer_sorter_unittest.o obj/cc/trees/cc_unittests.layer_tree_host_common_unittest.o obj/cc/trees/cc_unittests.layer_tree_host_impl_unittest.o obj/cc/trees/cc_unittests.layer_tree_host_pixeltest_blending.o obj/cc/trees/cc_unittests.layer_tree_host_pixeltest_filters.o obj/cc/trees/cc_unittests.layer_tree_host_pixeltest_masks.o obj/cc/trees/cc_unittests.layer_tree_host_pixeltest_on_demand_raster.o obj/cc/trees/cc_unittests.layer_tree_host_pixeltest_readback.o obj/cc/trees/cc_unittests.layer_tree_host_unittest.o obj/cc/trees/cc_unittests.layer_tree_host_unittest_animation.o obj/cc/trees/cc_unittests.layer_tree_host_unittest_context.o obj/cc/trees/cc_unittests.layer_tree_host_unittest_copyrequest.o obj/cc/trees/cc_unittests.layer_tree_host_unittest_damage.o obj/cc/trees/cc_unittests.layer_tree_host_unittest_delegated.o obj/cc/trees/cc_unittests.layer_tree_host_unittest_occlusion.o obj/cc/trees/cc_unittests.layer_tree_host_unittest_picture.o obj/cc/trees/cc_unittests.layer_tree_host_unittest_pinch_zoom.o obj/cc/trees/cc_unittests.layer_tree_host_unittest_scroll.o obj/cc/trees/cc_unittests.layer_tree_host_unittest_video.o obj/cc/trees/cc_unittests.occlusion_tracker_unittest.o obj/cc/trees/cc_unittests.quad_culler_unittest.o obj/cc/trees/cc_unittests.tree_synchronizer_unittest.o obj/cc/surfaces/cc_unittests.surface_aggregator_test_helpers.o obj/cc/surfaces/cc_unittests.surface_aggregator_unittest.o obj/cc/surfaces/cc_unittests.surface_unittest.o obj/cc/surfaces/cc_unittests.surfaces_pixeltest.o obj/base/libtest_support_base.a obj/gpu/libgpu_unittest_utils.a obj/media/libmedia.a obj/testing/libgmock.a obj/testing/libgtest.a obj/ui/events/libevents_base.a obj/ui/gfx/libgfx.a obj/ui/gfx/libgfx_geometry.a obj/cc/libcc.a obj/cc/libcc_surfaces.a obj/cc/libcc_test_support.a obj/base/allocator/liballocator.a obj/base/libbase.a obj/base/libbase_static.a obj/base/allocator/liballocator_extension_thunks.a obj/third_party/modp_b64/libmodp_b64.a obj/base/third_party/dynamic_annotations/libdynamic_annotations.a obj/base/libsymbolize.a obj/base/libxdg_mime.a obj/third_party/libevent/libevent.a obj/base/libbase_i18n.a obj/third_party/icu/libicui18n.a obj/third_party/icu/libicuuc.a obj/third_party/icu/libicudata.a obj/third_party/libxml/libxml.a obj/gpu/libcommand_buffer_client.a obj/gpu/libcommand_buffer_common.a obj/gpu/command_buffer/libgles2_utils.a obj/gpu/libcommand_buffer_service.a obj/gpu/libdisk_cache_proto.a obj/third_party/protobuf/libprotobuf_lite.a obj/third_party/re2/libre2.a obj/crypto/libcrcrypto.a obj/net/third_party/nss/libcrssl.a obj/skia/libskia_library.a obj/skia/libskia_opts.a obj/skia/libskia_opts_ssse3.a obj/third_party/zlib/libchrome_zlib.a obj/third_party/fontconfig/libfontconfig.a obj/skia/libskia_chrome.a obj/skia/libskia_chrome_opts.a obj/third_party/libpng/libpng.a obj/third_party/libjpeg_turbo/libjpeg_turbo.a obj/ui/gl/libgl_wrapper.a obj/ui/ozone/libozone.a obj/ui/events/libevents.a obj/ui/events/libdom4_keycode_converter.a obj/ozone/libwayland.a obj/ozone/wayland/libwayland_toolkit.a obj/ui/libui.a obj/net/libnet.a obj/sdch/libsdch.a obj/url/liburl_lib.a obj/third_party/angle/src/libtranslator.a obj/third_party/angle/src/libpreprocessor.a obj/third_party/smhasher/libcityhash.a obj/gpu/libgles2_cmd_helper.a obj/gpu/libgpu_config.a obj/gpu/libgpu_ipc.a obj/ipc/libipc.a obj/ui/gl/libgl_unittest_utils.a obj/third_party/opus/libopus.a obj/media/libshared_memory_support.a obj/media/libshared_memory_support_sse.a obj/third_party/ffmpeg/libffmpeg.a obj/third_party/libvpx/libvpx.a obj/third_party/libvpx/libvpx_asm_offsets_vp8.a obj/third_party/libvpx/libvpx_intrinsics_mmx.a obj/third_party/libvpx/libvpx_intrinsics_sse2.a obj/third_party/libvpx/libvpx_intrinsics_ssse3.a obj/media/libmedia_asm.a obj/media/libmedia_mmx.a obj/media/libmedia_sse.a obj/media/libmedia_sse2.a obj/gpu/libgles2_c_lib.a obj/gpu/libgles2_implementation.a obj/gpu/skia_bindings/libgpu_skia_bindings.a obj/ui/gfx/libgfx_test_support.a -Wl,--end-group -lrt -ldl -lxml2 -lnss3 -lnssutil3 -lsmime3 -lplds4 -lplc4 -lnspr4 -lfreetype -ldrm -lwayland-cursor -lwayland-egl -lwayland-client -lxkbcommon -lresolv ../../ozone/ui/events/remote_event_dispatcher.cc:15: error: undefined reference to 'content::ChildProcess::current()' ../../ozone/ui/events/remote_event_dispatcher.cc:16: error: undefined reference to 'content::ChildProcess::main_thread()' ../../ozone/ui/events/remote_event_dispatcher.cc:17: error: undefined reference to 'content::ChildProcess::main_thread()' ../../ozone/impl/ozone_display.cc:36: error: undefined reference to 'content::ChildProcess::current()' ../../ozone/impl/ipc/display_channel.cc:23: error: undefined reference to 'content::ChildProcess::current()' ../../ozone/impl/ipc/display_channel.cc:24: error: undefined reference to 'content::ChildProcess::main_thread()' ../../ozone/impl/ipc/display_channel.cc:25: error: undefined reference to 'content::ChildProcess::main_thread()' ../../ozone/impl/ipc/display_channel.cc:35: error: undefined reference to 'content::ChildThread::RemoveRoute(int)' ../../ozone/impl/ipc/displaychannel.cc:53: error: undefined reference to 'content::ChildThread::AddRoute(int, IPC::Listener)' ../../ozone/impl/ipc/display_channelhost.cc:20: error: undefined reference to 'content::BrowserChildProcessObserver::Add(content::BrowserChildProcessObserver)' ../../ozone/impl/ipc/display_channelhost.cc:25: error: undefined reference to 'content::BrowserChildProcessObserver::Remove(content::BrowserChildProcessObserver)' ../../ozone/impl/ipc/display_channel_host.cc:111: error: undefined reference to 'content::BrowserThread::CurrentlyOn(content::BrowserThread::ID)' ../../ozone/impl/ipc/display_channel_host.cc:134: error: undefined reference to 'content::BrowserThread::PostTask(content::BrowserThread::ID, tracked_objects::Location const&, base::Callback<void ()> const&)' ../../content/browser/gpu/browser_gpu_channel_hostfactory.h:24: error: undefined reference to 'content::BrowserGpuChannelHostFactory::instance' ../../ipc/ipc_message_utils.h:106: error: undefined reference to 'IPC::ParamTraitsgfx::Rect::Log(gfx::Rect const&, std::basic_string<char, std::chartraits, std::allocator >)' ../../ipc/ipc_messageutils.h:92: error: undefined reference to 'IPC::ParamTraitsgfx::Rect::Write(IPC::Message, gfx::Rect const&)' ../../ipc/ipc_messageutils.h:100: error: undefined reference to 'IPC::ParamTraitsgfx::Rect::Read(IPC::Message const, PickleIterator, gfx::Rect)' ../../ozone/ui/events/remote_state_change_handler.cc:29: error: undefined reference to 'content::BrowserGpuChannelHostFactory::EstablishGpuChannelSync(content::CauseForGpuLaunch)' ../../ozone/ui/events/remote_state_change_handler.cc:33: error: undefined reference to 'content::BrowserThread::PostTask(content::BrowserThread::ID, tracked_objects::Location const&, base::Callback<void ()> const&)' ../../ozone/ui/events/remote_state_change_handler.cc:43: error: undefined reference to 'content::BrowserThread::CurrentlyOn(content::BrowserThread::ID)' ../../ozone/ui/events/remote_state_change_handler.cc:46: error: undefined reference to 'content::BrowserThread::PostTask(content::BrowserThread::ID, tracked_objects::Location const&, base::Callback<void ()> const&)' ../../ozone/ui/events/remote_state_change_handler.cc:55: error: undefined reference to 'content::BrowserThread::CurrentlyOn(content::BrowserThread::ID)' ../../ozone/ui/events/remote_state_change_handler.cc:58: error: undefined reference to 'content::BrowserThread::PostTask(content::BrowserThread::ID, tracked_objects::Location const&, base::Callback<void ()> const&)' ../../ozone/ui/events/remote_state_change_handler.cc:70: error: undefined reference to 'content::BrowserThread::CurrentlyOn(content::BrowserThread::ID)' ../../ozone/ui/events/remote_state_change_handler.cc:112: error: undefined reference to 'content::BrowserChildProcessHostIterator::Send(IPC::Message*)' ../../ozone/ui/events/remote_state_change_handler.cc:118: error: undefined reference to 'content::BrowserChildProcessHostIterator::BrowserChildProcessHostIterator(int)' ../../ozone/ui/events/remote_state_change_handler.cc:119: error: undefined reference to 'content::BrowserChildProcessHostIterator::Done()' collect2: ld returned 1 exit status