libs = [ "resolv" ]
}
-if (use_glib) {
- pkg_config("glib") {
- packages = [
- "glib-2.0",
- "gmodule-2.0",
- "gobject-2.0",
- "gthread-2.0",
- ]
- defines = [
- "GLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_40",
- "GLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_40",
- ]
- }
+pkg_config("glib") {
+ packages = [
+ "glib-2.0",
+ "gmodule-2.0",
+ "gobject-2.0",
+ "gthread-2.0",
+ ]
+ defines = [
+ "GLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_40",
+ "GLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_40",
+ ]
}
# Ensures all exported symbols are added to the dynamic symbol table. This is
"sandbox_host_linux.h",
"sandbox_ipc_linux.cc",
"sandbox_ipc_linux.h",
+ "zygote_host/zygote_host_impl_linux.cc",
+ "zygote_host/zygote_host_impl_linux.h",
]
set_sources_assignment_filter(sources_assignment_filter)
}
#include "content/browser/speech/tts_platform_impl.h"
+#include "base/logging.h"
#include "build/build_config.h"
#include "content/public/browser/content_browser_client.h"
#include "content/public/common/content_client.h"
// if this is hit in something like a content-only unit test.
NOTREACHED();
return nullptr;
+#elif defined(OS_TIZEN)
+ LOG(ERROR) << " returning nullptr ";
+ return nullptr;
#else
return TtsPlatformImpl::GetInstance();
#endif
"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",
+ ]
set_sources_assignment_filter(sources_assignment_filter)
}
if (is_tizen) {
set_sources_assignment_filter([])
- sources += [ "common_sandbox_support_linux.cc" ]
+ sources += [
+ "common_sandbox_support_linux.cc",
+ "zygote/sandbox_support_linux.cc",
+ "zygote/send_zygote_child_ping_linux.cc",
+ "zygote/zygote_commands_linux.h",
+ "zygote/zygote_communication_linux.cc",
+ "zygote/zygote_communication_linux.h",
+ ]
+
+ deps += [ "//third_party/fontconfig" ]
+
+ if (use_zygote_handle) {
+ sources += [
+ "zygote/zygote_handle_impl_linux.h",
+ "zygote/zygote_handle_linux.cc",
+ ]
+ }
+
set_sources_assignment_filter(sources_assignment_filter)
}
// Not a real zygote command, but a subcommand used during the zygote fork
// protocol. Sends the child's PID as seen from the browser process.
kZygoteCommandForkRealPID = 4
+#if defined(OS_TIZEN)
+ ,
+ // Load injected bundle library.
+ kZygoteCommandLoadInjectedBundle = 5,
+
+ // Drop privilege of zygote process.
+ kZygoteCommandDropProcessPrivileges = 6
+#endif
};
} // namespace content
deps += [ "//services/proxy_resolver:lib" ]
}
- if (is_linux) {
+ if (is_linux || is_tizen) {
deps += [ "//content/utility/speech:speech_recognition_sandbox_hook" ]
}
"speech_recognition_sandbox_hook_linux.h",
]
+ if (is_tizen) {
+ set_sources_assignment_filter([])
+ sources += [
+ "speech_recognition_sandbox_hook_linux.cc",
+ "speech_recognition_sandbox_hook_linux.h",
+ ]
+ set_sources_assignment_filter(sources_assignment_filter)
+ }
+
deps = [
"//base",
"//components/component_updater:component_updater",
import("//build/config/nacl/config.gni")
import("//content/public/common/zygote/features.gni")
-if (is_linux) {
+if (is_linux || is_tizen) {
source_set("zygote") {
+ set_sources_assignment_filter([])
sources = [
"zygote_linux.cc",
"zygote_linux.h",
"zygote_main.h",
"zygote_main_linux.cc",
]
-
+ set_sources_assignment_filter(sources_assignment_filter)
deps = [
"//base",
"//base:i18n",
libs = [] # Extended for mac.
# Android implementation of FIDO is delegated to GMSCore.
- if (!is_android && !is_tizen) {
+ if (!is_android) {
sources += [
"attestation_object.cc",
"attestation_object.h",
"gamepad_platform_data_fetcher_linux.cc",
"gamepad_platform_data_fetcher_linux.h",
"gamepad_standard_mappings_linux.cc",
+ "hid_writer_linux.cc",
+ "hid_writer_linux.h",
"udev_gamepad_linux.cc",
]
set_sources_assignment_filter(sources_assignment_filter)
std::unique_ptr<VideoCaptureDeviceFactory>
CreatePlatformSpecificVideoCaptureDeviceFactory(
scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner) {
-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
+#if defined(OS_LINUX) && !defined(OS_CHROMEOS) && !defined(OS_TIZEN)
return std::make_unique<VideoCaptureDeviceFactoryLinux>(ui_task_runner);
#elif defined(OS_CHROMEOS)
return CreateChromeOSVideoCaptureDeviceFactory(ui_task_runner, {});
install -m 0755 "%{OUTPUT_FOLDER}"/efl_webprocess "%{buildroot}%{CHROMIUM_EXE_DIR}"
install -m 0755 "%{OUTPUT_FOLDER}"/icudtl.dat "%{buildroot}%{CHROMIUM_EXE_DIR}"
-install -m 0755 "%{OUTPUT_FOLDER}"/natives_blob.bin "%{buildroot}%{CHROMIUM_EXE_DIR}"
install -m 0755 "%{OUTPUT_FOLDER}"/snapshot_blob.bin "%{buildroot}%{CHROMIUM_EXE_DIR}"
install -m 0644 "%{OUTPUT_FOLDER}"/content_shell.pak "%{buildroot}%{CHROMIUM_EXE_DIR}"
install -m 0644 "%{OUTPUT_FOLDER}"/resources/*.edj "%{buildroot}%{CHROMIUM_DATA_DIR}"/themes
%{CHROMIUM_EXE_DIR}/efl_webprocess
%endif
%{CHROMIUM_EXE_DIR}/icudtl.dat
-%{CHROMIUM_EXE_DIR}/natives_blob.bin
%{CHROMIUM_EXE_DIR}/snapshot_blob.bin
%{CHROMIUM_EXE_DIR}/content_shell.pak
%{CHROMIUM_EXE_DIR}/locales/*.pak
# HighestPmfReporter depends on MemoryUsageMonitor and MemoryUsageMonitor
# depends on platform specific code. Explicitly specify supported platforms.
- if (is_linux || is_win || is_android || is_mac) {
+ if (is_linux || is_win || is_android || is_mac || is_tizen) {
sources += [
"highest_pmf_reporter.cc",
"highest_pmf_reporter.h",
add_tizen_flags() {
ADDITIONAL_GN_PARAMETERS+="is_tizen=true
+ use_zygote_handle=true
gcc_ver=\"$(getGccVersion)\"
python_ver=\"$(getPythonVersion)\"
is_official_build=true
"//tizen_src/ewk/efl_integration:chromium-ewk",
]
+ # mini browser uses glibc apis
+ configs += [ "//build/config/linux:glib" ]
if (!use_wayland) {
configs += [ "//tizen_src/build:ecore-x" ]
configs += [ "//tizen_src/build:libecore-x" ]
#include <memory>
#include "base/check.h"
+#include "base/logging.h"
#include "base/memory/ptr_util.h"
#include "base/notreached.h"
#include "base/stl_util.h"
auto it = clipboard_map->find(id);
if (it != clipboard_map->end())
return it->second.get();
-
+ LOG(ERROR) << " CLIPBOARDEFL BINGUP NEEEDS TO BE DONE";
+ return nullptr;
+#if !defined(EWK_BRINGUP) // FIXME:m85 bringup
Clipboard* clipboard = Clipboard::Create();
clipboard_map->insert({id, base::WrapUnique(clipboard)});
return clipboard;
+#endif
}
// static
public_deps = [ "//base" ]
+ if (is_tizen) {
+ set_sources_assignment_filter([])
+ sources += [ "linux/native_color_mixers.cc" ]
+ set_sources_assignment_filter(sources_assignment_filter)
+ }
+
if (is_chromeos) {
sources += [ "cros/native_color_mixers.cc" ]
} else if (is_fuchsia) {
set_sources_assignment_filter([])
sources += [
"font_fallback_linux.cc",
+ "font_fallback_linux.h",
"font_render_params_linux.cc",
+ "linux/fontconfig_util.cc",
+ "linux/fontconfig_util.h",
]
set_sources_assignment_filter(sources_assignment_filter)
}