This commit enables chrome_tizen for desktop build as well.
With this change, default chrome target is now removed from
desktop build.
Change-Id: I3d4bc977bb20a4c5955e56d473729bded5230be2
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
export EVAS_GL_NO_BLACKLIST=1
export LD_LIBRARY_PATH=$PWD/out.chrome.x64/Dependencies/Root/lib64/:$LD_LIBRARY_PATH
-./out.chrome.x64/chrome $1 --no-sandbox --ignore-gpu-blocklist --use-gl=egl --ozone-platform=efl --window-size=800,600
+./out.chrome.x64/chrome_tizen $1 --no-sandbox --ignore-gpu-blocklist --use-gl=egl --ozone-platform=efl --window-size=800,600
group("chrome_dsym_archive") {
}
}
-} else if (is_tizen) {
+} else if (use_efl) {
browser_binary_name = "chrome_tizen"
if (is_samsung_next_browser) {
browser_binary_name = "next_browser"
"-pie",
"-Wl,--export-dynamic",
]
- if(is_samsung_next_browser)
- {
+ if (is_samsung_next_browser) {
ldflags += [ "-Wl,-rpath=\$ORIGIN/../lib" ]
defines = [ "SAMSUNG_NEXT_BROWSER" ]
}
cflags = [ "-fPIC" ]
- configs += [ "//tizen_src/build/config/tizen:executable_config" ]
+ if (is_tizen) {
+ configs += [ "//tizen_src/build/config/tizen:executable_config" ]
+ }
}
static_library("chrome_lib") {
ldflags = []
- if(is_samsung_next_browser)
- {
+ if (is_samsung_next_browser) {
defines = [ "SAMSUNG_NEXT_BROWSER" ]
}
"socket.h",
]
- if (is_chromeos || is_linux) {
- sources += [
- "bluez/metrics_recorder.cc",
- "bluez/metrics_recorder.h",
- ]
- }
-
deps = [
":bluetooth",
"//device/bluetooth/public/mojom:deprecated_experimental_interfaces",
local RESULT=0
if [[ $SKIP_NINJA == 0 ]]; then
if [[ $BUILD_CHROME == 1 ]]; then
- TARGETS="content_shell chrome"
- else
- TARGETS="chromium-ewk efl_webprocess efl_webview_app ubrowser"
+ TARGETS="chrome_tizen"
fi
+ TARGETS="$TARGETS chromium-ewk efl_webprocess efl_webview_app ubrowser"
if [[ $BUILD_EWK_UNITTESTS == 1 ]]; then
TARGETS="$TARGETS ewk_unittests"
fi
"//tizen_src/ewk/efl_webview_app:efl_webview_app",
"//tizen_src/ewk/ubrowser:ubrowser",
]
- if (build_chrome) {
- deps += [ "//chrome:chrome" ]
- }
if (is_tizen) {
deps += [ "//tizen_src/downloadable:chromium-efl-install" ]
}
"//ui/views:test_support",
"//v8",
]
- if (build_chrome && is_tizen) {
+ if (build_chrome) {
deps += [ "//chrome:chrome_lib" ]
}
if (enable_basic_printing) {
"-w",
]
- if(is_samsung_next_browser) {
- ldflags += [ "-Wl,-rpath=$app_samsung_next_browser_root_dir/lib" ]
+ if (is_samsung_next_browser) {
+ ldflags += [ "-Wl,-rpath=$app_samsung_next_browser_root_dir/lib" ]
}
if (is_tizen) {
}
if (use_allocator_shim) {
- deps += [
+ deps += [
"//components/memory_system",
- "//tizen_src/ewk/efl_integration/browser/profiling_host",
"//tizen_src/chromium_impl/components/memory_system:memory_system_ewk",
+ "//tizen_src/ewk/efl_integration/browser/profiling_host",
]
}