This commit removes some EWK_BRINGUPs added during M120 upversion.
Change-Id: I9501206e5755a3b589c6ea59f82ad110d24dc3de
Signed-off-by: v-saha <v.saha@samsung.com>
root_surface_id_ = surface_id;
// Start recording new stats for this aggregation.
-#if !defined(EWK_BRINGUP) // FIXME: m120 bringup
stats_.emplace();
-#else
- stats_.emplace(AggregateStatistics());
-#endif
base::ElapsedTimer prewalk_timer;
ResolvedFrameData* resolved_frame = GetResolvedFrame(surface_id);
base::TimeDelta prewalk_time;
base::TimeDelta copy_time;
base::TimeDelta declare_resources_time;
+#if BUILDFLAG(IS_TIZEN)
+ AggregateStatistics() {}
+#endif
};
// SurfaceObserver implementation.
"//v8",
]
- if (is_tizen) {
- sources += [
- "child_process_sandbox_support_impl_linux.cc",
- "child_process_sandbox_support_impl_linux.h",
- ]
- deps += [
- "//components/services/font/public/cpp",
- "//components/services/font/public/mojom",
- ]
- }
-
- if (is_linux || is_chromeos) {
+ if (is_linux || is_chromeos || is_tizen) {
sources += [
"child_process_sandbox_support_impl_linux.cc",
"child_process_sandbox_support_impl_linux.h",
// before it.
InitializeSkia();
-#if (BUILDFLAG(IS_LINUX) && !defined(EWK_BRINGUP)) || \
- BUILDFLAG(IS_CHROMEOS) // FIXME: m120 bringup
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
// Thread type delegate of the process should be registered before
// first thread type change in ChildProcess constructor.
// It also needs to be registered before the process has multiple threads,
}
#endif
-#if (BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_TIZEN)) || \
- BUILDFLAG(IS_CHROMEOS) // FIXME: m120 bringup
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
SandboxedProcessThreadTypeHandler::NotifyMainChildThreadCreated();
#endif
base::DiscardableMemoryAllocator::SetInstance(
discardable_memory_allocator_.get());
-#if (BUILDFLAG(IS_LINUX) && !defined(EWK_BRINGUP)) || \
- BUILDFLAG(IS_CHROMEOS) // FIXME: m120 bringup
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
// The SandboxedProcessThreadTypeHandler isn't created in
// render_thread_impl_browsertest.cc, nor in --single-process mode.
if (SandboxedProcessThreadTypeHandler* sandboxed_process_thread_type_handler =
: std::string{name};
}
-#if (BUILDFLAG(IS_LINUX) && !defined(EWK_BRINGUP)) || \
- BUILDFLAG(IS_CHROMEOS) // FIXME: m120 bringup
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
void RendererBlinkPlatformImpl::SetThreadType(base::PlatformThreadId thread_id,
base::ThreadType thread_type) {
// TODO: both of the usages of this method could just be switched to use
const blink::WebURL& document_url) override;
gpu::GpuMemoryBufferManager* GetGpuMemoryBufferManager() override;
blink::WebString ConvertIDNToUnicode(const blink::WebString& host) override;
-#if (BUILDFLAG(IS_LINUX) && !defined(EWK_BRINGUP)) || \
- BUILDFLAG(IS_CHROMEOS) // FIXME: m120 bringup
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
void SetThreadType(base::PlatformThreadId thread_id,
base::ThreadType) override;
#endif
}
#endif
-#if (BUILDFLAG(IS_LINUX) && !defined(EWK_BRINGUP)) || \
- BUILDFLAG(IS_CHROMEOS) // FIXME: m120 bringup
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
// Thread type delegate of the process should be registered before
// first thread type change in ChildProcess constructor.
// It also needs to be registered before the process has multiple threads,
}
}
-#if (BUILDFLAG(IS_LINUX) && !defined(EWK_BRINGUP)) || \
- BUILDFLAG(IS_CHROMEOS) // FIXME: m120 bringup
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
// Thread type delegate of the process should be registered before
// first thread type change in ChildProcess constructor.
// It also needs to be registered before the process has multiple threads,
GetContentClient()->utility()->UtilityThreadStarted();
-#if (BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_TIZEN)) || \
- BUILDFLAG(IS_CHROMEOS) // FIXME: m120 bringup
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
SandboxedProcessThreadTypeHandler::NotifyMainChildThreadCreated();
#endif
deps += [ "//gpu/command_buffer/client" ]
}
- if (is_linux) {
+ if (is_linux || is_tizen) {
sources += [
"video/linux/v4l2_capture_delegate_gpu_helper.cc",
"video/linux/v4l2_capture_delegate_gpu_helper.h",
}
# Establish GPU Channel
- if (is_linux || is_win) {
+ if (is_linux || is_win || is_tizen) {
sources += [
"video/video_capture_gpu_channel_host.cc",
"video/video_capture_gpu_channel_host.h",
client_->OnError(error, from_here, reason);
}
-#if BUILDFLAG(IS_LINUX) && !defined(EWK_BRINGUP) // FIXME: m120 bringup
+#if BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_TIZEN)
gfx::ColorSpace V4L2CaptureDelegate::BuildColorSpaceFromv4l2() {
v4l2_colorspace v4l2_primary = (v4l2_colorspace)video_fmt_.fmt.pix.colorspace;
v4l2_quantization v4l2_range =
return std::make_unique<GpuMemoryBufferTrackerCros>();
#elif BUILDFLAG(IS_APPLE)
return std::make_unique<GpuMemoryBufferTrackerApple>();
-#elif BUILDFLAG(IS_LINUX) && !defined(EWK_BRINGUP) // FIXME: m120 bringup
+#elif BUILDFLAG(IS_LINUX)
return std::make_unique<V4L2GpuMemoryBufferTracker>();
#elif BUILDFLAG(IS_WIN)
if (!dxgi_device_manager_) {
void MediaControlTimelineElement::SetPosition(double current_time,
bool suppress_aria) {
if (is_live_ && !live_anchor_time_ && current_time != 0) {
-#if !defined(EWK_BRINGUP) // FIXME: m120 bringup
live_anchor_time_.emplace();
-#else
- live_anchor_time_.emplace(LiveAnchorTime());
-#endif
live_anchor_time_->clock_time_ = base::TimeTicks::Now();
live_anchor_time_->media_time_ = MediaElement().currentTime();
}
struct LiveAnchorTime {
base::TimeTicks clock_time_;
double media_time_ = 0;
+#if BUILDFLAG(IS_TIZEN)
+ LiveAnchorTime() {}
+#endif
};
void DefaultEventHandler(Event&) override;
to_2d_translation_root_ += translation;
if (parent.plane_root_transform_) {
-#if !defined(EWK_BRINGUP) // FIXME: m120 bringup
plane_root_transform_.emplace();
-#else
- plane_root_transform_.emplace(PlaneRootTransform());
-#endif
plane_root_transform_->plane_root = parent.plane_root();
plane_root_transform_->to_plane_root = parent.to_plane_root();
plane_root_transform_->to_plane_root.Translate(translation.x(),
// as the 2d translation root.
plane_root_transform_ = absl::nullopt;
} else {
-#if !defined(EWK_BRINGUP) // FIXME: m120 bringup
plane_root_transform_.emplace();
-#else
- plane_root_transform_.emplace(PlaneRootTransform());
-#endif
plane_root_transform_->plane_root = parent.plane_root();
plane_root_transform_->to_plane_root.MakeIdentity();
parent.ApplyToPlaneRoot(plane_root_transform_->to_plane_root);
parent_node->UpdateScreenTransform();
const auto& parent = parent_node->GetTransformCache();
-#if !defined(EWK_BRINGUP) // FIXME: m120 bringup
screen_transform_.emplace();
-#else
- screen_transform_.emplace(ScreenTransform());
-#endif
parent.ApplyToScreen(screen_transform_->to_screen);
if (node.FlattensInheritedTransform())
screen_transform_->to_screen.Flatten();
gfx::Transform from_plane_root;
const TransformPaintPropertyNode* plane_root = nullptr;
bool has_animation = false;
+#if BUILDFLAG(IS_TIZEN)
+ PlaneRootTransform() {}
+#endif
USING_FAST_MALLOC(PlaneRootTransform);
};
absl::optional<PlaneRootTransform> plane_root_transform_;
gfx::Transform projection_from_screen;
bool projection_from_screen_is_valid = false;
bool has_animation = false;
+#if BUILDFLAG(IS_TIZEN)
+ ScreenTransform() {}
+#endif
USING_FAST_MALLOC(ScreenTransform);
};
absl::optional<ScreenTransform> screen_transform_;