]
}
- if (is_linux || is_chromeos) {
+ if (is_linux || is_chromeos || is_tizen) {
sources += [
"debug/proc_maps_linux.cc",
"debug/proc_maps_linux.h",
sources += [ "power_monitor/power_monitor_device_source_stub.cc" ]
}
- if (is_tizen) {
- set_sources_assignment_filter([])
- sources += [
- "files/file_path_watcher_linux.cc",
- "files/file_util_linux.cc",
- "process/internal_linux.cc",
- "process/internal_linux.h",
- "process/memory_linux.cc",
- "process/process_handle_linux.cc",
- "process/process_iterator_linux.cc",
- "process/process_linux.cc",
- "process/process_metrics_linux.cc",
- "system/sys_info_linux.cc",
- "threading/platform_thread_linux.cc",
- ]
- set_sources_assignment_filter(sources_assignment_filter)
- }
-
# On ARC++-enabled ChromeOS system, we need TimeTicks::FromUptimeMillis to
# interpret time values sent from Android container.
if (is_android || is_chromeos_ash) {
#endif // defined(__clang_analyzer__)
// Use nomerge attribute to disable optimization of merging multiple same calls.
-#if defined(__clang__) && __has_attribute(nomerge)
+// FIXME(M94) Need to remove OS_TIZEN macro
+#if defined(__clang__) && __has_attribute(nomerge) && !defined(OS_TIZEN)
#define NOMERGE [[clang::nomerge]]
#else
#define NOMERGE
-#!/usr/bin/env python
+#!/usr/bin/env python3
# Copyright 2016 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
if not os.path.isdir(target_dir):
try:
os.makedirs(target_dir)
- except OSError, e:
+ except OSError as e:
if e.errno != errno.EEXIST:
raise
}
}
- if (is_tizen) {
- sources += [
- "child_process_launcher_helper_linux.cc",
- "memory/swap_metrics_driver_impl_linux.cc",
- "memory/swap_metrics_driver_impl_linux.h",
- "renderer_host/pepper/pepper_truetype_font_linux.cc",
- "sandbox_host_linux.cc",
- "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",
- ]
- }
-
if (enable_vr) {
if (!is_android) {
sources += [
}
}
- if (is_tizen) {
- 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",
- ]
- }
- }
-
if (is_mac) {
sources += [
"cursors/webcursor_mac.mm",
sources -= [ "cursors/webcursor_aura.cc" ]
}
- if (is_linux || is_chromeos) {
+ if (is_linux || is_chromeos || is_tizen) {
sources += [
"sandbox_init_linux.cc",
"zygote/sandbox_support_linux.cc",
}
}
-if (is_linux || is_chromeos) {
+if (is_linux || is_chromeos || is_tizen) {
source_set("set_process_title_linux") {
public = [ "set_process_title_linux.h" ]
sources = [ "set_process_title_linux.cc" ]
]
}
- if (is_linux || is_chromeos) {
+ if (is_linux || is_chromeos || is_tizen) {
sources += [ "renderer_main_platform_delegate_linux.cc" ]
}
if (use_efl) {
sources += external_content_renderer_efl_sources
}
-
- if (is_tizen) {
- sources += [
- "render_view_linux.cc",
- "renderer_main_platform_delegate_linux.cc",
- ]
- }
}
# See comment at the top of //content/BUILD.gn for how this works.
"speech_recognition_sandbox_hook_linux.h",
]
- if (is_tizen) {
- sources += [
- "speech_recognition_sandbox_hook_linux.cc",
- "speech_recognition_sandbox_hook_linux.h",
- ]
- }
-
deps = [
"//base",
"//components/component_updater:component_updater",
"//device/vr/buildflags",
]
deps = [ "//build:chromeos_buildflags" ]
- if (use_udev) {
+ if (use_udev || is_tizen) {
sources += [
"device_monitor_linux.cc",
"device_monitor_linux.h",
deps += [ "//device/udev_linux" ]
}
- if (is_tizen) {
- set_sources_assignment_filter([])
- sources += [
- "device_monitor_linux.cc",
- "device_monitor_linux.h",
- ]
- set_sources_assignment_filter(sources_assignment_filter)
- }
-
if (is_win) {
sources += [
"device_info_query_win.cc",
}
if (is_chromeos_ash) {
import("//chromeos/dbus/use_real_dbus_clients.gni")
-} else if (use_dbus) {
+} else if (use_dbus && !is_tizen) {
use_real_dbus_clients = false
}
}
if (is_tizen) {
- set_sources_assignment_filter([])
sources += [
"dbus/dbus_bluez_manager_wrapper_linux.cc",
"dbus/dbus_bluez_manager_wrapper_linux.h",
"dbus/dbus_thread_manager_linux.cc",
"dbus/dbus_thread_manager_linux.h",
]
- set_sources_assignment_filter(sources_assignment_filter)
}
if (!use_real_dbus_clients) {
[ "/wd4267" ] # conversion from 'size_t' (64 bit) to 'type'(32 bit).
}
- if (is_linux || is_chromeos) {
+ if (is_linux || is_chromeos || is_tizen) {
sources += [
"gamepad_standard_mappings_linux.cc",
"hid_writer_linux.cc",
}
}
- if (is_tizen && use_udev) {
- set_sources_assignment_filter([])
- sources += [
- "gamepad_device_linux.cc",
- "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)
- }
-
if (is_android) {
sources += [
"gamepad_platform_data_fetcher_android.cc",
]
libs += [ "android" ]
}
- if (is_linux || is_chromeos) {
+ if (is_linux || is_chromeos || is_tizen) {
sources += [ "image_transport_surface_linux.cc" ]
}
if (is_linux || is_chromeos || use_ozone) {
"gpu_memory_buffer_factory_native_pixmap.h",
]
}
- if (is_tizen) {
- set_sources_assignment_filter([])
- sources += [ "image_transport_surface_linux.cc" ]
- set_sources_assignment_filter(sources_assignment_filter)
- }
if (use_x11) {
sources += [ "x_util.h" ]
]
}
- if (is_linux || is_chromeos) {
+ if (is_linux || is_chromeos || is_tizen) {
sources += [ "linux/audio_manager_linux.cc" ]
}
"//third_party/fuchsia-sdk/sdk/pkg/sys_cpp",
]
}
-
- if (is_tizen) {
- set_sources_assignment_filter([])
- sources += [ "linux/audio_manager_linux.cc" ]
- set_sources_assignment_filter(sources_assignment_filter)
- }
}
if (use_cras) {
Name: chromium-efl
Summary: Chromium EFL
# Set by by scripts/update-chromium-version.sh
-%define ChromiumVersion 85.0.4183.93
+%define ChromiumVersion 94.0.4606.31
%define Week 1
Version: %{ChromiumVersion}.%{Week}
Release: 1
BuildRequires: binutils-gold
BuildRequires: bison, edje-tools, expat-devel, flex, gettext, gperf, libcap-devel
-BuildRequires: libjpeg-turbo-devel, ninja, perl, python, python-xml, which
+BuildRequires: libjpeg-turbo-devel, ninja, perl, python3, python3-xml, which
BuildRequires: pkgconfig(capi-appfw-application)
BuildRequires: pkgconfig(capi-location-manager)
BuildRequires: pkgconfig(capi-media-audio-io)
]
}
- if (is_tizen) {
- sources += [ "network_sandbox_hook_linux.cc" ]
- }
-
if (is_chromeos_ash) {
sources += [
"cert_verifier_with_trust_anchors.cc",
defines = [ "IS_NETWORK_SERVICE_IMPL" ]
}
-if (is_linux || is_chromeos) {
+if (is_linux || is_chromeos || is_tizen) {
source_set("network_sandbox_hook") {
sources = [
"network_sandbox_hook_linux.cc",
if (is_android) {
sources += [ "ext/fontmgr_default_android.cc" ]
}
- if (is_linux || is_chromeos) {
+ if (is_linux || is_chromeos || is_tizen) {
sources += [ "ext/fontmgr_default_linux.cc" ]
}
if (is_ios) {
}
}
- if (is_tizen) {
- set_sources_assignment_filter([])
- sources += [
- "ext/fontmgr_default_linux.cc",
- "ext/fontmgr_default_linux.h",
- ]
- set_sources_assignment_filter(sources_assignment_filter)
- }
-
if (is_win) {
sources += [
# Select the right BitmapPlatformDevice.
]
}
- if (is_linux || is_chromeos) {
+ if (is_linux || is_chromeos || is_tizen) {
sources += [
"fonts/linux/font_cache_linux.cc",
"fonts/linux/font_unique_name_lookup_linux.cc",
sources += [ "fonts/fuchsia/font_cache_fuchsia.cc" ]
}
- if (is_tizen) {
- set_sources_assignment_filter([])
- sources += [
- "fonts/linux/font_cache_linux.cc",
- "fonts/linux/font_unique_name_lookup_linux.cc",
- "text/linux/hyphenation_linux.cc",
- ]
- set_sources_assignment_filter(sources_assignment_filter)
- }
-
if (use_minikin_hyphenation) {
sources += [
"text/hyphenation/hyphenation_minikin.cc",
"EXTRASYSCONFDIR=\"/pkg/data\"",
]
}
- if (is_linux || is_mac) {
+ if (is_linux || is_mac || is_tizen) {
defines += [
"SYSCONFDIR=\"/etc\"",
"FALLBACK_CONFIG_DIRS=\"/etc/xdg\"",
export SCRIPTDIR=$(readlink -e $(dirname $0))
export TOPDIR=$(readlink -f "${SCRIPTDIR}/../..")
export CHROME_SRC="${TOPDIR}"
-export LATEST_TIZEN_VERSION=6.0
+export LATEST_TIZEN_VERSION=6.5
export DEFAULT_TIZEN_VERSION=$LATEST_TIZEN_VERSION
if [ "$(echo "$@" | grep -e "--tizen")" != "" ]; then
}
function getPythonVersion() {
- echo $(python --version 2>&1 | sed -e 's/Python \([0-9]\+\.[0-9]\+\)\.[0-9]\+/\1/')
+ echo $(python3 --version 2>&1 | sed -e 's/Python \([0-9]\+\.[0-9]\+\)\.[0-9]\+/\1/')
}
function setIfUndef() {
-#!/usr/bin/env python
+#!/usr/bin/env python3
import argparse
import glob
chrome_src = os.path.abspath(chrome_src)
if not chrome_src or not os.path.isdir(chrome_src):
chrome_src = os.path.join(top_dir, '..')
- print 'CHROME_SRC not set, falling back to ' + chrome_src
+ print ('CHROME_SRC not set, falling back to ' + chrome_src)
script_dir = os.path.abspath(os.path.join(chrome_src, 'build'))
if not os.path.isdir(script_dir):
- print script_dir + " is not a valid directory"
+ print (script_dir + " is not a valid directory")
sys.exit(1)
sys.path.insert(0, script_dir)
buildtools_path = os.environ.get('CHROMIUM_BUILDTOOLS_PATH')
host_arch = os.environ.get('HOST_ARCH')
if not buildtools_path:
- print "build tool path is empty"
+ print ("build tool path is empty")
sys.exit(1)
else:
if sys.platform.startswith(('cygwin', 'win')):
gn_path = os.path.join(bin_path, 'gn' + exeSuffix)
if not os.path.exists(gn_path):
- print 'Could not find gn executable at: %s' % gn_path
+ print ('Could not find gn executable at: %s' % gn_path)
sys.exit(2)
else:
- print 'Updating projects from gn files...'
+ print ('Updating projects from gn files...')
sys.exit(subprocess.call([gn_path] + args[1:]))
current_cpu=\"${host_arch}\"
host_cpu=\"${host_arch}\"
target_cpu=\"${host_arch}\"
+ use_real_dbus_clients=false
"
# FIXME : Note that the v8_snapshot_toolchain has been set to wrong
import("//base/allocator/allocator.gni")
import("//build/config/features.gni")
+import("//printing/buildflags/buildflags.gni")
# [M48_2564] Temporary disabling the flag for switching to new chromium
# FIXME: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=15382
"//content/public/app",
"//content/shell:pak",
"//content/shell:resources",
- "//printing",
"//services/device:lib",
"//skia",
"//storage/browser",
"//v8",
]
+ if (enable_basic_printing) {
+ deps += [ "//printing" ]
+ }
+
# TODO : needs to check for generating this macro define
defines = [ "CHROMIUM_VERSION=\"<!(python <(version_script) -f <(version_file) -t \"<(version_pattern)\")\"" ]
ldflags = [
deps += [ "//third_party/fontconfig" ]
}
- if (is_tizen) {
- set_sources_assignment_filter([])
- sources += [ "idle/idle_linux.cc" ]
- set_sources_assignment_filter(sources_assignment_filter)
- }
-
if (use_glib) {
configs += [ "//build/config/linux:glib" ]
sources += [
deps += [ "//ui/events:dom_keycode_converter" ]
}
- if (is_android || is_linux || is_chromeos || is_mac || is_win || is_fuchsia || is_tizen) {
+ if (is_android || is_linux || is_chromeos || is_mac || is_win || is_fuchsia ||
+ is_tizen) {
# TODO(brettw): We should be able to depend on //ui/resources:ui_test_pak
# instead of depending directly on the non-test .pak files, but depending
# on ui_test_pak seems to have no effect.
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_ash) {
sources += [ "cros/native_color_mixers.cc" ]
} else if (is_fuchsia) {
sources += [ "fuchsia/native_color_mixers.cc" ]
- } else if (is_linux || is_chromeos) {
+ } else if (is_linux || is_chromeos || is_tizen) {
sources += [ "linux/native_color_mixers.cc" ]
} else if (is_mac) {
frameworks = [ "AppKit.framework" ]
"touchscreen_device.h",
]
- if (is_linux || is_chromeos) {
+ if (is_linux || is_chromeos || is_tizen) {
sources += [
"device_util_linux.cc",
"device_util_linux.h",
"//ui/gfx/geometry",
]
- if (is_tizen) {
- set_sources_assignment_filter([])
- sources += [
- "device_util_linux.cc",
- "device_util_linux.h",
- ]
- set_sources_assignment_filter(sources_assignment_filter)
- }
-
if (is_android) {
deps += [ ":ui_events_devices_jni_headers" ]
}
"android/view_configuration.h",
]
}
- if (is_linux || is_chromeos) {
+ if (is_linux || is_chromeos || is_tizen) {
sources += [
"font_fallback_linux.cc",
"font_fallback_linux.h",
configs += external_ui_gfx_configs
sources += external_ui_gfx_sources
}
-
- if (is_tizen) {
- 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)
- }
}
component("color_space") {
"shell_dialogs_export.h",
]
- if (is_linux || is_chromeos) {
+ if (is_linux || is_chromeos || is_tizen) {
sources += [
"shell_dialog_linux.cc",
"shell_dialog_linux.h",
sources += [ "select_file_dialog_fuchsia.cc" ]
}
- if (is_tizen) {
- set_sources_assignment_filter([])
- sources += [
- "shell_dialog_linux.cc",
- "shell_dialog_linux.h",
- ]
- set_sources_assignment_filter(sources_assignment_filter)
- }
-
# TODO(crbug.com/1052397): Rename is_chromeos_lacros.
if (is_chromeos_lacros) {
sources += [