Chandan Padhi [Mon, 16 Dec 2019 10:04:09 +0000 (15:34 +0530)]
[M76 Migration] Install ScreenEfl after CommandLine has been initialized.
After changes in [1], CommandLine is getting accessed from
ScreenEfl::UpdateDisplays. However, CommandLine is not yet
initialized at this point of time that results in crash.
This commit ensures that ScreenEfl is installed only after
CommandLine has been initialized.
[1] https://review.tizen.org/gerrit/#/c/201062/
Reference: https://review.tizen.org/gerrit/#/c/201330/
Change-Id: I9bda727f247cf1c7c3ef2b39bbfff62febf0e2ae
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
(cherry picked from commit
e30ca23d63ad992a646e35e3e8cf19469e46cce8)
Chandan Padhi [Mon, 16 Dec 2019 09:39:51 +0000 (15:09 +0530)]
[M76 Migration] Add GetScreenInfo for efl port
GetScreenInfo is not implemented for efl port. This commit
adds the same and removes related code under EWK_BRINGUP flag.
Reference: https://review.tizen.org/gerrit/#/c/201021/
Change-Id: I4e8f4abe705d2d0e391acfb580001fa8a7ea3e5d
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
(cherry picked from commit
1dd1b1ba6d7f9e0e84510f0239b4290458c15b83)
Chandan Padhi [Mon, 16 Dec 2019 08:59:13 +0000 (14:29 +0530)]
[M76 Migration] Initialize DeviceDisplayInfoEfl in renderer
This commit sends DeviceDisplayInfoEfl values to renderer
via mojom::CreateViewParams.
Reference: https://review.tizen.org/gerrit/#/c/200968
Change-Id: I529ab276c2f3a3495c655633c67b0f2286d6e74c
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
(cherry picked from commit
7ed643006992bad6c298a5a76d67b34ef46a84a2)
Chandan Padhi [Wed, 11 Dec 2019 10:40:18 +0000 (16:10 +0530)]
Remove unused content_main_runner.cc
This file has been removed from upstream chromium
and is not part of the build. Removing the same.
Change-Id: Ic87f556e2b8bcc738f29f23d6a9217fb7a2cd525
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
(cherry picked from commit
c4a3fbdb15d25964819adb8b0aac2435c4c4e34e)
DongJun Kim [Thu, 16 Feb 2017 07:10:48 +0000 (16:10 +0900)]
[M76 Dev][API] Add the ewk_view_page_close API
This patch is migrated from m47 beta:
[1] https://review.tizen.org/gerrit/#/c/101956/
[2] https://review.tizen.org/gerrit/#/c/106742/
[3] https://review.tizen.org/gerrit/#/c/98056/
[4] https://review.tizen.org/gerrit/#/c/110060/
Implement the API to close the web page forcibly.
Change-Id: Ib54974d181a07ab67e54e8454fc839624aab560c
Signed-off-by: DongJun Kim <djmix.kim@samsung.com>
uzair [Thu, 28 Nov 2019 11:51:58 +0000 (17:21 +0530)]
[M76 Dev][Tizen][TV] Fix compilation and linker errors
This commit resolves compiler and linker errors for
tizen tv profile build.
Change-Id: I51ce0c4dbbfeb6fe2e29e3b504154eb0fcb6cce5
Signed-off-by: uzair <uzair.jaleel@samsung.com>
Chandan Padhi [Thu, 28 Nov 2019 05:12:00 +0000 (10:42 +0530)]
[M76 Dev][Tizen] Fix linker errors
This commit resolves linker errors for tizen standard profile build.
Change-Id: Ib9f14861602b279635ef22fbd154b9477a0b15c9
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
Chandan Padhi [Mon, 18 Nov 2019 07:00:07 +0000 (12:30 +0530)]
[M76 Dev][Tizen] Generate ninja files and fix compilation errors
This commit generates ninja files and resolves compiler errors
for tizen standard profile build.
Change-Id: I4fd12a230861da759017628ebaa11046430611fc
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
Chandan Padhi [Thu, 21 Nov 2019 05:04:03 +0000 (10:34 +0530)]
[M76 Dev][EFL] Fix black/white screen at webview launch
This commit does the following to fix black/white screen at webview launch.
1. Initializes FieldTrialList.
2. Disables SurfaceSynchronization.
3. Disables SharedImages.
Change-Id: I70d9e59f1db30fa47e3f1dca739fbbc87e0340b6
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
Chandan Padhi [Tue, 12 Nov 2019 09:19:42 +0000 (14:49 +0530)]
fixup! [M73 Dev][EFL] Attach MessagePump::Delegate to MessagePumpForUIEfl
Move AttachToMessagePump method for EFL port from MessageLoop
to SequenceManagerImpl as per changes in chromium upstream code.
This change helps fixing the crash at webview launch.
Change-Id: I9bd395b587fd09d1b734ae1d3d55a15d2615a471
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
Chandan Padhi [Tue, 22 Oct 2019 06:17:50 +0000 (11:47 +0530)]
[M76 Dev][EFL] Fix compilation and linker errors for desktop build
This commit resolves compiler and linker errors to enable EFL port.
Change-Id: Iae7948bd4bb256b7ac54cb3dab2ba0a4ccdf3c6f
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
Chandan Padhi [Fri, 11 Oct 2019 06:41:54 +0000 (23:41 -0700)]
[M76 Dev][EFL] Fix errors to generate ninja files
This commit fixes gn files to generate ninja files for desktop build.
Change-Id: Ifd3c87d9745eaee7d7aeeb5b241112db5ab87d97
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
Chandan Padhi [Wed, 16 Oct 2019 05:51:26 +0000 (11:21 +0530)]
fixup! Upload upstream chromium 76.0.3809.146
Some of the //third_party repos were not synced to 76.0.3809.146
in the original patch. This commit ensures that all //third_party
repos are synced properly.
Change-Id: I3fd12aecfea826a7a5b5e4f7f5b5a82bb3c62220
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
Chandan Padhi [Thu, 19 Sep 2019 09:44:02 +0000 (15:14 +0530)]
Upload upstream chromium 76.0.3809.146
This is a patch for upstream m76 - m73 which has
been migrated from tizen.upstream branch.
Note that cherry-pick conflicts have been resolved
but this does not guarentee build success.
* chromium
91f08db83c2ce8c722ddf0911ead8f7c473bedfa
Publish DEPS for 76.0.3809.146
* v8
f1aa36df853b9956b46f3d792b59255c3b6fff46
Version 7.9.68
* skia
18531cde2ab757d82d3934fbac6c698e7b53cb3b
Roll third_party/externals/angle2
a7003d5fc306..
bf4268a3963b
Change-Id: Ib47212e09886e2de1eef5ff3e72f90f50c8b245d
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
Chandan Padhi [Mon, 10 Jun 2019 11:29:40 +0000 (04:29 -0700)]
[M73 Dev][Tizen] Fix compilation errors for TV profile
This commit resolves compiler errors for TV build.
Change-Id: I9c5946101a02b9f72b8608cb1dcaabe6540dd319
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
Chandan Padhi [Thu, 6 Jun 2019 10:54:18 +0000 (16:24 +0530)]
[M73 Migration][Product TV] Enable tizen 5.5 musem build by default
This commit enables tizen 5.5 musem build for tv profile by default.
Reference:
https://review.tizen.org/gerrit/#/c/202310/
https://review.tizen.org/gerrit/#/c/205921/
Change-Id: I1ba41efc7295c8a99f0d5c25868b872fe0a68b45
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
Chandan Padhi [Tue, 4 Jun 2019 05:11:56 +0000 (10:41 +0530)]
fixup! [M73 Dev][EFL] Attach MessagePump::Delegate to MessagePumpForUIEfl
This commit fixes below compilation warning introduced by the parent patch.
In file included from ../base/message_loop/message_loop_impl.cc:33:
../tizen_src/chromium_impl/base/message_loop/message_pump_for_ui_efl.h:25:25:
warning: [chromium-style] Overriding method must be marked with 'override' or
'final'. ~MessagePumpForUIEfl();
^
override
Change-Id: I1969f20267e0facdc43661926562fdb7060828d4
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
Chandan Padhi [Thu, 16 May 2019 11:46:10 +0000 (04:46 -0700)]
[M73 Dev][Tizen] Fix linker errors
This commit resolves linker errors for tizen standard profile.
Change-Id: I99c097699e7f5476022d3d5cc01a1a8e84fc85d7
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
Chandan Padhi [Mon, 13 May 2019 11:11:40 +0000 (04:11 -0700)]
[M73 Dev][Tizen] Generate ninja files and fix compilation errors
This commit generates ninja files and resolves compiler errors
for tizen standard profile.
Change-Id: I18d7d59905aa98c3a8cd3c9bb8d681a0ea866266
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
Chandan Padhi [Wed, 8 May 2019 08:40:03 +0000 (14:10 +0530)]
[M73 Dev][EFL] Disable VizDisplayCompositor for EFL port
Chromium-efl does not support the display compositor as it
uses evasgl delegated renderer for rendering.
Change-Id: I7d43718c6adc4aa179fd51ba38d2f8d97b5a9ceb
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
Chandan Padhi [Wed, 8 May 2019 06:06:40 +0000 (11:36 +0530)]
[M73 Dev][EFL] Attach MessagePump::Delegate to MessagePumpForUIEfl
Due to changes in chromium upstream, MessageLoop is no longer
a MessagePump::Delegate. Therefore, below piece of code becomes
invalid and had to be removed.
Delegate* delegate = MessageLoopForUI::current();
Due to this, calls to Delegate methods are not made which breaks
the loop and ecore_pipe_write() does not get executed resulting
in white screen at webview launch.
This commit attaches MessagePump::Delegate to MessagePumpForUIEfl.
Change-Id: I674dac8ca736a5c6ff2172c5f5938325b706b5ab
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
Chandan Padhi [Wed, 8 May 2019 05:31:54 +0000 (11:01 +0530)]
[M73 Dev][EFL] Move MessagePumpForUIEfl from efl_integration to chromium_impl
This commit moves message_pump_for_ui_efl.cc|h files to
chromium_impl/base/message_loop/ to align with upstream folder structure.
Change-Id: I94badba3b7efd6387cf96d9af1d231ad4cc720ab
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
Chandan Padhi [Thu, 25 Apr 2019 10:31:48 +0000 (03:31 -0700)]
[M73 Dev][EFL] Use unique pointers instead of raw pointers in EwkGlobalData
As per changes in chromium upstream code, BrowserMainRunner::Create()
now returns a unique pointer. This commit adapts code in EwkGlobalData
accordingly to fix crash at webview launch.
Change-Id: I325d5cc8a7294eee9e40cdce711533f20601ef84
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
Chandan Padhi [Mon, 22 Apr 2019 09:21:06 +0000 (02:21 -0700)]
[M73 Dev][EFL] Fix compilation and linker errors for desktop build
This commit resolves compiler and linker errors to enable EFL port.
Change-Id: Ic83ff065fadee8e83b2d4b81b851457982571462
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
Chandan Padhi [Mon, 15 Apr 2019 13:01:54 +0000 (06:01 -0700)]
[M73 Dev] Remove *.pyc files from git repositories
This patch removes *.pyc files so that they are not shown in git status.
Change-Id: I977c52770829d362d2d89a54a77d84b8fccd6dfa
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
Chandan Padhi [Tue, 16 Apr 2019 13:27:13 +0000 (06:27 -0700)]
[M73 Dev][EFL] Fix errors to generate ninja files
This commit fixes gn files to generate ninja files for desktop build.
Change-Id: Ie27e41a3eca53cdc6ac4d4a814a3bd73a7d02623
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
Youngsoo Choi [Thu, 11 Apr 2019 07:09:36 +0000 (16:09 +0900)]
Upload upstream chromium 73.0.3683.0
This is a patch for upstream m73 - m71
which is migrated from tizen.upstream branch.
The //BUILD.gn is removed to use build/secondary/BUILD.gn for EFL port.
In this way, conflict can be avoided whenever chromium-efl is upgraded.
Note that cherry-pick conflicts have been resolved
but this does not guarentee build success.
* chromium
73818f5fc6786b395bc593531734bf70efdd6579
Publish DEPS for 73.0.3683.0
* v8
9df9418edf64d6a080ba569ef43cd5ca0171a820
Version 7.3.492.1 (cherry-pick)
* skia
094ab18b457e0a5c79c2159231dea2b7252e8275
Update go_deps asset
Change-Id: I169ba4d25fead09c87d169240d598528f7c93f3e
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
Chandan Padhi [Thu, 21 Mar 2019 09:59:31 +0000 (02:59 -0700)]
[M71 Migration] Fix crash issue during exit
Sometimes, mailbox manager is destroyed before cleanup of gpu
thread resource. (static variable is destroyed in main thread)
So, move mailbox manager destruction to gpu thread cleanup.
Reference: https://review.tizen.org/gerrit/#/c/198268/
Change-Id: Ib91fbdfa7c157c2a5c2dd85a607b962bb312cf52
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
Chandan Padhi [Fri, 15 Mar 2019 12:27:52 +0000 (17:57 +0530)]
Remove unused duplicate shared_mailbox_manager.cc|h files
Change-Id: I711a0e2c20ee4f41c65ba715aa8acd1939795152
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
Youngsoo Choi [Mon, 11 Feb 2019 01:25:45 +0000 (17:25 -0800)]
[M71 Dev][Tizen] Upgrade chromium-efl rpm version
This updates the chromium-efl rpm version.
Change-Id: I551564f4f10d47ee4bf52005ee54a5554da4508b
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
Chandan Padhi [Fri, 1 Feb 2019 10:55:37 +0000 (16:25 +0530)]
[M71 Dev][Tizen] Fix linker errors
This commit resolves linker errors for tizen standard profile.
Change-Id: Ia643157d723491b55bcf5f768abf97ff6fe70173
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
Chandan Padhi [Thu, 17 Jan 2019 10:08:45 +0000 (02:08 -0800)]
[M71 Dev][Tizen] Fix compiler errors
This commit resolves compiler errors for tizen standard profile.
Change-Id: Ic754d6b00c071144515c010d28803d376fa9efb9
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
Chandan Padhi [Mon, 14 Jan 2019 10:08:19 +0000 (15:38 +0530)]
[M71 Dev][Tizen] Fix errors to generate ninja files
This commit fixes gn files to generate ninja files for tizen.
Change-Id: I5f7ede34d5290dff914b12e31bfe4516c812420b
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
Chandan Padhi [Fri, 11 Jan 2019 06:20:40 +0000 (22:20 -0800)]
[M71 Dev][EFL] Fix crashes at webview launch
This commit fixes the crashes/hangs at webview launch.
Change-Id: I9f29b148a44cbe885b4287562ba91b4ca4fc0db0
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
Chandan Padhi [Mon, 7 Jan 2019 12:09:11 +0000 (04:09 -0800)]
[M71 Dev][EFL] Fix linker errors for desktop build
This resolves linker errors to enable EFL port.
Change-Id: Iedf872c27420885f2e466ef4b9845c5eea28ceac
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
Chandan Padhi [Thu, 3 Jan 2019 13:16:31 +0000 (05:16 -0800)]
[M71 Dev][EFL] Fix compilation errors for desktop build
This commit resolves compiler errors to enable EFL port.
Change-Id: I52dad48542d849560d6a1b702fc2daf2603c1b52
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
Youngsoo Choi [Mon, 31 Dec 2018 04:46:05 +0000 (04:46 +0000)]
[M71 Dev][EFL] Fix errors to generate ninja files
This removes BUILD.gn to use build/secondary/BUILD.gn for tizen port.
In this way, conflict can be avoided whenever chromium-efl is upgraded.
Also, this sets testonly to true for using shell:pak or shell:resources
which already sets the option to true.
Change-Id: Ia88262d4a18467a45286dacde8604dce006b6a40
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
Youngsoo Choi [Mon, 31 Dec 2018 04:49:28 +0000 (04:49 +0000)]
[M71 Dev] Remove *.pyc
This removes *.pyc not to be shown in git status.
Change-Id: I5eb64448d015dde307f5d66b8938ae6ff822bce7
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
Youngsoo Choi [Mon, 31 Dec 2018 00:18:00 +0000 (09:18 +0900)]
Upload upstream chromium 71.0.3578.0
This is a patch for upstream m71 - m69.
Note that cherry-pick conflicts have been resolved
but this does not guarentee build.
* chromium
0bef18ab2e280536593cb86034abda3e35062293
Publish DEPS for 71.0.3578.0
* v8
f70aaa8ab2e8815505a6145c745e50d8328cd28c
Version 7.1.302
* skia
9c37cd96e4c8158643dbde6fd3eda1b42e267bec
Revert "Fix image info checking for always-opaque color types"
Change-Id: Ic4084710f98919ce4f1f2d3d29d921415a5eb1c2
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
Youngsoo Choi [Thu, 14 Feb 2019 03:37:09 +0000 (19:37 -0800)]
[M69 Dev][Product TV] Set default target to MuseM for tv build
Tizen 5.0 and 5.5 for tv utilize MuseM target by default.
Change-Id: I0ba0fecdfb229a522770ffd5e42b9842f426c856
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
Youngsoo Choi [Wed, 19 Dec 2018 01:37:58 +0000 (17:37 -0800)]
[M69 Dev] Let -B option can be used with build script
The user-defined gbs root path with -B option
which is provided by gbs build coommand like below
can be used by this patch.
$ gbs build -h
build env options:
-B BUILDROOT, --buildroot BUILDROOT
specify build root to setup chroot environment. By
default, ~/GBS-ROOT/ will be used. User can specify
customized build root in gbs.conf with 'buildroot'
key, which can be set in [general] section for default
build root, or in [profile.xx] section for profile
special build root
Usage is like below.
$ ./tizen_src/build/build_tv.sh -B {USER_DEFINED_GBS_ROOT}
Change-Id: I66e02d45b03dc122e51074e3f1a83132b358678f
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
ss440 [Fri, 21 Dec 2018 03:34:05 +0000 (19:34 -0800)]
[M69 Migration][Product TV] Apply CAP-admin capability to efl_webprocess
This patch is migrated from m63:
https://review.tizen.org/gerrit/#/c/177876/
The process privilege should be dropped when web app is launched
to support "Process Pool" feature.
In order to drop the privilege, the process should have the
cap_mac_admin capability because we cannot use the "Dyntransition"
feature of security in only product tv environment.
Change-Id: I8601d8f7c306bb333275318bef4ffd1922f1c096
Signed-off-by: ss440 <ss440.han@samsung.com>
yh106.jung [Mon, 20 Mar 2017 08:06:47 +0000 (17:06 +0900)]
[M69 Dev][Locale] Repack *.pak files for minimal string resource
This patch reimplements repacking minimal string resources on GN
build system, but concept is same with GYP version.
It is expected to reduce the size of rpm about 14.6MB.
Reference:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/174584/
Change-Id: I35ac7c564b47a6e1fa935a4b8dd7a12727c0075d
Signed-off-by: yh106.jung <yh106.jung@samsung.com>
Chandan Padhi [Tue, 11 Dec 2018 07:01:37 +0000 (23:01 -0800)]
[M69 Dev][Public][Rom Size][Build Speed] Support clang build for chromium-efl
This patch enables support for use of clang compiler and lld linker
to reduce binary size and to improve build speed for public profile
and desktop.
Note that platform llvm v3.8 does NOT support thin lto option and
there's no gain for binary size optimization. So, this utilizes
upgraded home-built llvm v7.0.
Clang is used as default for standard profile and desktop builds.
In case of standard profile, clang build is currently supported
for arm(armv7l) achitecture target only.
Below commands can be used to build with gcc.
$./tizen_src/build/build_standard_armv7l.sh --gcc
$./tizen_src/build/build_desktop.sh --gcc
We have not decided yet on default use of clang for product tv.
Below command can be used to build with clang.
$./tizen_src/build/build_tv.sh --clang
Binary Size of libchromium-ewk.so:
Note that product tv obs does NOT allow to strip section .symtab
and .strtab but public obs allows to strip those sections by default.
That's why released product tv binary size(91 MB) is much larger than
public target binary size(41 MB).
1) Product TV
w/o clang: 104.6 MB
with clang: 91 MB
2) Public Target
w/o clang: 47.6 MB
with clang: 41.7 MB
Also, build speed has been improved by about 10% and no regression has
been found, comparing to gcc built-chromium-efl.
Change-Id: I3318fbb69b441769c3905431e665fbd4ac3aa4c9
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
Youngsoo Choi [Fri, 21 Sep 2018 03:06:18 +0000 (20:06 -0700)]
Provide ported llvm 7.0 to tizen
This adds llvm 7.0 binary set to reduce binary size
and to improve build speed for chromium-efl.
Note that the tizen platform llvm 3.8.1 does not support
thin lto optimization option because the version is too old.
Also, public chromium-efl build is not possible with the llvm 6.0 or 7.0,
included in upstream chromium.
So, this provides ported llvm 7.0 to tizen.
Change-Id: I8d47e8401c803e4d5123db3af75cb9795eb0a575
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
yh106.jung [Tue, 6 Dec 2016 09:42:03 +0000 (18:42 +0900)]
[M69 Dev] fixup! [M51_2704] Chromium upversion to m51_2704 branch.
It's wrong to dereference a std::unique_ptr after std::move because
the ownership of std::unique_ptr is transferred by std::move.
Reference:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/174884/
Change-Id: Id6b2521ba70f0247b9df71ca1d6ea90ba52a18a8
Signed-off-by: yh106.jung <yh106.jung@samsung.com>
yh106.jung [Wed, 1 Feb 2017 04:49:36 +0000 (13:49 +0900)]
[M69 Dev][Callback] Remove item of IDMap after it is used
This patch remove callback item from it's IDMap after callback is
invoked.
Reference:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/174635/
Change-Id: I5283d366a46e52c8aa99e52470b3ea1e7b42e71b
Signed-off-by: yh106.jung <yh106.jung@samsung.com>
yh106.jung [Thu, 9 Feb 2017 11:47:13 +0000 (20:47 +0900)]
[M69 Dev][API] Change to a lower LOG level (CRIT to ERR)
Reference:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/173878/
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/176425/
Change-Id: Iec34ec3d3899d5e647dde1294259d8ad4e70a6a5
Signed-off-by: yh106.jung <yh106.jung@samsung.com>
yh106.jung [Wed, 28 Mar 2018 00:57:02 +0000 (17:57 -0700)]
fixup! [M67 Dev][EWK] Classify EWK APIs by public, internal, or product
Some header files were missed in gn file.
Change-Id: Id6a67e0411e952fc0e7639ed1c2605302e67ab20
Signed-off-by: yh106.jung <yh106.jung@samsung.com>
yh106.jung [Thu, 6 Dec 2018 04:33:53 +0000 (20:33 -0800)]
[M69 Dev][API] Change ewk_cookie_manager_persistent_storage_set to Public API
This patch just removes the API from internal header.
It has been already added to public header.
Reference:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/173955/
Change-Id: Ib84774fb4c89a3bdd61dc724ec637b996b3ef6bb
Signed-off-by: yh106.jung <yh106.jung@samsung.com>
Uzair [Tue, 20 Nov 2018 06:38:55 +0000 (22:38 -0800)]
[M69 Dev] Implements IPC::Sender in WebContentsDelegateEfl
IPC::Sender of WebContentsObserver was removed in the upstream [1].
Implemented IPC::Sender to send a reply message through current
RenderViewHost by the received message as before.
[1] https://chromium-review.googlesource.com/630416
Reference:
https://review.tizen.org/gerrit/c/platform/framework/web/chromium-efl/+/175401
Change-Id: I9dcf9625544ae410831f26b726425360e40303e1
Signed-off-by: Uzair <uzair.jaleel@samsung.com>
Uzair [Thu, 11 Oct 2018 05:05:15 +0000 (22:05 -0700)]
[M69 Dev][TV] Support URL parsing for web app
Below patch adds web app url parsing functionality
needed to display basic web app on TV.
Change-Id: I8375fc7768e0bb3ac8d0effe73620ad41deb2f7e
Signed-off-by: Uzair <uzair.jaleel@samsung.com>
Chandan Padhi [Mon, 19 Nov 2018 05:40:16 +0000 (21:40 -0800)]
[M69 Dev][Hotfix] Do not listen to cookie changes
This is a hotfix provided for crash during browser shutdown.
Change-Id: If9877e9f0efdd8d96ad5f54cc51396ac4b0f4827
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
Sha Yuhong [Fri, 1 Jun 2018 13:09:55 +0000 (21:09 +0800)]
[M69 Dev][TV][hotfix] Set the default geometry for webview when size is invalid
In Tizen 5.0 on engine side we get invalid size(84*24)
in resize callback as a result web app is not displayed on TV.
We suspect this issue to be vd crosswalk or efl platform side.
This is a hotfix to display webapp on TV.
Reference:
https://review.tizen.org/gerrit/#/c/180736/
Change-Id: Ica3e434be6c995a25e7c2062143ae06b6118b0ae
Signed-off-by: Sha Yuhong <yuhong.sha@samsung.com>
Signed-off-by: Uzair <uzair.jaleel@samsung.com>
Youngsoo Choi [Thu, 9 Mar 2017 06:27:45 +0000 (15:27 +0900)]
[M69 Dev][API] Add mockup EWK APIs
This adds mockup EWK APIs to bring up m69.
Reference:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/174539/
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/193091/
Change-Id: Ic04f032723e70a7e6764e903cdab175c668f9d6f
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
Chandan Padhi [Wed, 14 Nov 2018 13:23:44 +0000 (18:53 +0530)]
[M69 Dev][Tizen] Enable touch events for mobile/wearable profile
This commit enables touch and gestures handling.
Change-Id: I1a1602502f22452d583357d772fd3a829ac9074f
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
Chandan Padhi [Wed, 14 Nov 2018 10:43:17 +0000 (02:43 -0800)]
[M69 Dev] Enable EdjePath for EdgeEffect
This change is necessary to avoid CHECK failure during gesture handling.
Change-Id: Icfddb71d6fd8cb8284f33135784b8221e76413c4
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
Chandan Padhi [Wed, 14 Nov 2018 10:31:56 +0000 (02:31 -0800)]
[M69 Dev][Tizen] Use mobile user agent for mobile/wearable profile
Without this change, we get a desktop layout on TM1 which is not desirable.
Change-Id: Ia7cb6f58027b6c3fec841c7181faf073b7fb4ada
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
Youngsoo Choi [Tue, 13 Nov 2018 10:08:58 +0000 (10:08 +0000)]
[M69 Dev] Update version information
This updates the version information with 69.0.3497.106.
Change-Id: I532bf2b770517db0edf766a36efa68787650b581
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
Youngsoo Choi [Mon, 16 Apr 2018 12:38:13 +0000 (20:38 +0800)]
[M69 Dev][TV] Support cursor of mini browser and efl_web_view.
This patch is migrated from m56 beta:
https://review.tizen.org/gerrit/#/c/122123/
Mouse doesn't work in the TV Product Mini Browser
and efl_webview_app.
Wayland API calls related to the mouse when the TV Product.
guide: http://goo.gl/PqaFI1
Change-Id: I38c742198207afa80d3d848b6fb2c3bde02f7714
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
ss440 [Mon, 12 Nov 2018 02:03:36 +0000 (18:03 -0800)]
[M69 Dev][TV] Replace TIZEN_PRODUCT_TV as per platform requirements
The TIZEN_PRODUCT_TV is no longer used as per build infra policy.
This replaces TIZEN_PRODUCT_TV with tizen_profile_name
by platform requirements.
Change-Id: I8c8f43d8dcad850af479b3372f232e0f6a64b25d
Signed-off-by: ss440 <ss440.han@samsung.com>
Chandan Padhi [Tue, 6 Nov 2018 13:22:28 +0000 (05:22 -0800)]
[M69 Dev][Tizen] Fix linker errors
This fixes linker errors for tizen port.
Change-Id: Ifa61b2772545aba50261fb4db17579ec1a4e8994
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
Youngsoo Choi [Tue, 30 Oct 2018 06:32:25 +0000 (23:32 -0700)]
[M69 Dev][Tizen] Fix compiler errors
Change-Id: I7c2785cc527f0ae84f5afe491aa5d100adf408b7
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
Youngsoo Choi [Thu, 25 Oct 2018 04:02:10 +0000 (21:02 -0700)]
[M69 Dev][Tizen] Fix errors to generate ninja files
This fixes gn files to generate ninja files for tizen.
Change-Id: I309b1f458456b4c7dc149ba388d8d44b561ecbb8
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
Youngsoo Choi [Tue, 30 Oct 2018 06:32:25 +0000 (23:32 -0700)]
[M69 Dev] Do not trace automatically changed files
This removes automatically changed files.
Change-Id: Ib523ad7097544c105170d3c6bb1b8cdead59d622
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
Chandan Padhi [Wed, 24 Oct 2018 05:55:11 +0000 (22:55 -0700)]
[M69 Dev][EFL] Fix crashes/white screen at webview launch
This commit fixes the crashes at webview launch.
It also fixes the white screen observed later.
Basic page rendering works fine on desktop.
Change-Id: I3ff01e893e53241ebdb7c5951f57c4fe89ebdbcd
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
Chandan Padhi [Wed, 17 Oct 2018 05:08:23 +0000 (22:08 -0700)]
[M69 Dev][EFL] Fix linker errors for desktop build
This resolves linker errors to enable EFL port.
Change-Id: I630683e412e6363732a9e8bd5b5d97cd6645160f
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
Chandan Padhi [Tue, 16 Oct 2018 09:31:08 +0000 (15:01 +0530)]
[M69 Dev][EFL] Fix compilation errors for desktop build
This resolves compiler errors to enable EFL port.
Change-Id: I63929d560b79a0ef36e085f22c6843088820c619
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
Youngsoo Choi [Mon, 15 Oct 2018 05:30:36 +0000 (22:30 -0700)]
[M69 Dev][EFL] Fix generating gn errors for desktop build
This fixes the erros that come from generating gn files.
Change-Id: Ifa7c97cc5518571affd7e62a13859ce6f5876c78
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
Youngsoo Choi [Fri, 26 Oct 2018 07:06:47 +0000 (16:06 +0900)]
Upload upstream chromium 69.0.3497.106
This upgrades patch version of m69.
* chromium
e7075c132b1d96ecbf1ca5c89cbeaae46b430fa2
Publish DEPS for 69.0.3497.106
* v8
e9bbc6b21ab549e480cb6281613e8933b46bee3a
Version 6.9.427.24
* skia
e110fd1ebd2d559838c49a8821ebf18986bd6ec2
Make GrGLInterface great for
Win32 x86 again
Change-Id: Ib53b023d0c1684346e277f3d5c2470780fe1593f
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
Youngsoo Choi [Wed, 10 Oct 2018 12:45:34 +0000 (21:45 +0900)]
Upload upstream chromium 69.0.3497
This is a patch for upstream m69 - m67.
Note that only cherry-pick conflicts are resolved
and this does not guarentee build.
* chromium
57fb2d7055db8a2faeba1b0735575c084e1fe12b
Publish DEPS for 69.0.3497.0
* v8
d7b61abe7b48928aed739f02bf7695732d359e7e
Version 6.9.427
* skia
0b0043392bfdf13f74ed64ba729f9c1e0fbae94f
Update markdown files
Change-Id: Ia77f16de156e08093346af2203c6c9f34398ea32
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
yh106.jung [Tue, 6 Dec 2016 09:37:15 +0000 (18:37 +0900)]
[M67 Dev][WRT][Arch] Enable single process mode for web runtime
Enables single process mode for web runtime.
Reference:
https://review.tizen.org/gerrit/#/c/173876/
Change-Id: I527d5b051f98e25c70f42fa14e25054ed513d047
Signed-off-by: yh106.jung <yh106.jung@samsung.com>
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
yh106.jung [Tue, 6 Dec 2016 01:41:18 +0000 (10:41 +0900)]
[M67 Dev][WRT][Perf] Add process pool feature
This adds process pool feature for web runtime.
Also, sometimes kZygoteCommandDropProcessPrivileges will be sent
between the operation to sent kZygoteCommandForkRealPID.
Now kZygoteCommandForkRealPID has been locked by |control_lock_|,
add the lock to prevent it from being interrupted.
Reference:
https://review.tizen.org/gerrit/#/c/173439
https://review.tizen.org/gerrit/#/c/189532
Change-Id: Ic0b23425a3c336d6fd65711532c9cc3f46f021e6
Signed-off-by: yh106.jung <yh106.jung@samsung.com>
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
Aron Kim [Thu, 30 Mar 2017 02:12:07 +0000 (11:12 +0900)]
[M67 Dev][WRT] Support WRT for public targets
This applies the wrt codes from m63,
but the codes which related to tv product features were dropped in here.
The dropped features will be merged by additional patch.
Reference:
https://review.tizen.org/gerrit/#/c/173948/
Change-Id: Ia973ba33276022bddf34a7ce6d4d3ac36f7d8932
Signed-off-by: Aron Kim<aron.kim@samsung.com>
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
yh106.jung [Mon, 5 Dec 2016 23:14:11 +0000 (08:14 +0900)]
[M67 Dev][WRT][EWK] Deprecate ewk_send_widget_info and add ewk_context_tizen_app_id_set
Original patch: http://165.213.202.130/gerrit/#/c/98860/
Original author: Marcin Niesluchowski <m.niesluchow@samsung.com>
ewk_context_tizen_app_id_set() does the same as ewk_send_widget_info()
but with removal of unnecessary parameters, which are not used in
plugins. Also name has been changed due its inconsistency with
implementation and usage. ewk_send_widget_info() was marked as
deprecated. Fix
utc_blink_ewk_context_new_with_injected_bundle_path_func.POS_TEST1
failing due to ewk_send_widget_info() api called after loading url.
Now ewk_context_tizen_app_id_set() is called before loading url
instead.
To complete api change following steps should be taken:
1) After this commit is merged all plugin libraries should add [1]
and [2] api and remove [3]. [1] api should return current plugin
verison - 1. [2] should act the same as [3] api.
ewk_context_tizen_app_id_set should be used instead of
ewk_send_widget_info.
2) After that ewk_send_widget_info deprecated api should be removed
in different commit.
For proper usage see following test file:
ewk/unittest/resources/ewk_context/injected_bundle/chromium/bundle_sample.cc
[1] unsigned int DynamicPluginVersion();
[2] void DynamicPluginStartSession(const char* tizen_app_id,
v8::Handle<v8::Context> context,
int routing_handle,
const char* base_url);
[3] void DynamicPluginStartSession(const char* tizen_id,
v8::Handle<v8::Context> context,
int routing_handle,
double scale,
const char* encoded_bundle,
const char* theme,
const char* base_url);
Reference:
https://review.tizen.org/gerrit/#/c/173311/
Change-Id: I6acd741bd41dd4c68d1ca8e7e6022ce7a01e5cba
Signed-off-by: yh106.jung <yh106.jung@samsung.com>
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
sihoons.yang [Wed, 1 Feb 2017 11:59:21 +0000 (20:59 +0900)]
[M67 Dev][EWK] Classify EWK APIs by public, internal, or product
This classifies EWK APIs as follows.
Header name | API kinds | Target user
------------------------------------------------------------------------
ewk_XXX.h | APIs open to tizen.org | Public
------------------------------------------------------------------------
ewk_XXX_internal.h | APIs for platform modules | SWC internal
------------------------------------------------------------------------
ewk_XXX_product.h | APIs for product requirements | GBM (MCD, VD)
------------------------------------------------------------------------
To avoid explosion of header inclusions with similar names, following
rule is designed:
- ewk_XXX.h is included by ewk_XXX_internal.h.
- ewk_XXX_internal.h is included by ewk_XXX_product.h
Also, we provide following all-in-one headers:
- EWebKit.h : holds all "Public" EWK headers
- EWebKit_internal.h : holds all "Internal" EWK headers
- EWebKit_product.h : holds all "Product" EWK headers
Reference:
https://review.tizen.org/gerrit/#/c/173213/
Change-Id: I4193e357828a7516c23f8e4fef9283367bf8d4e6
Signed-off-by: sihoons.yang <sihoons.yang@samsung.com>
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
Youngsoo Choi [Thu, 2 Feb 2017 04:46:46 +0000 (13:46 +0900)]
[M67 Dev][API] Switch ewk_export.h with tizen.h
By the request of platform team, the 'ewk_export.h' is not allowed
to export ewk_* APIs. This switches 'ewk_export.h' with 'tizen.h' for that.
Btw, the desktop build can't use 'tizen.h' because it is
only provided by tizen snapshot. So, this contains the 'tizen.h'
and exports the C_INCLUDE_PATH and CPLUS_INCLUDE_PATH in desktop build.
Reference:
https://review.tizen.org/gerrit/#/c/173291/
Change-Id: I2d20dd2d6cae17517305decf08a80f2a741322bc
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
Uzair [Wed, 19 Sep 2018 12:39:01 +0000 (18:09 +0530)]
[M67 dev] Hotfix for fixing crashes during web app bringup
Below changes are needed temporarily for fixing crashes
during web app bringup. This patch will be reverted once
patches related to cookie and chromium shutdown are migrated.
Change-Id: I6ab9155af24f771a285921320052aead013fcf4c
Signed-off-by: Uzair <uzair.jaleel@samsung.com>
Chandan Padhi [Thu, 27 Sep 2018 05:50:21 +0000 (11:20 +0530)]
[Rendering] Allow compositor context to share resources with worker context
This is necessary to avoid synchronization issues with produce
and consume texture which might result in black/corrupted tiles.
Change-Id: I56029521c5fa19adab9f100d85262d8e0aadfbbd
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
Sha Yuhong [Mon, 17 Sep 2018 08:29:51 +0000 (16:29 +0800)]
Modify the gbs.conf to fix the gbs repo error.
Change-Id: I84a6a46b06b765178a19a78ca1884781fb6759d8
Signed-off-by: Sha Yuhong <yuhong.sha@samsung.com>
Signed-off-by: Uzair <uzair.jaleel@samsung.com>
Uzair [Wed, 19 Sep 2018 12:32:25 +0000 (18:02 +0530)]
[M67 Migration] [Architecture] Disable zygote process for single process mode in tizen port
This patch changes the codes to disable the zygote renderer
process and IPC sandbox in single process mode except tizen tv
product profile using OS_TIZEN_TV_PRODUCT flag.
Reference:
https://review.tizen.org/gerrit/#/c/174342
Change-Id: I9f0f564c05a0202bd7ae586d1dc9746989cd34a9
Signed-off-by: Uzair <uzair.jaleel@samsung.com>
Gajendra N [Wed, 14 Mar 2018 09:36:10 +0000 (15:06 +0530)]
[M67 Migration] Add "frame,rendered" message and DidRenderFrame() callback
Below patches have been migrated from m56 beta:
[1] Add "frame,rendered" message and DidRenderFrame() callback
https://review.tizen.org/gerrit/#/c/118118
[2] Added a function to send "frame,rendered" SmartCallback
https://review.tizen.org/gerrit/#/c/143556
[3] Keep frame,rendered can call correctly if page loading fast.
https://review.tizen.org/gerrit/#/c/145079
[4] Remove FrameRendered callback in LoadProgressChanged
https://review.tizen.org/gerrit/#/c/163533
Change-Id: I6bee5bd3d299046abca330f0320cacc57935bfe8
Signed-off-by: Gajendra N <gajendra.n@samsung.com>
Signed-off-by: Uzair <uzair.jaleel@samsung.com>
Uzair [Tue, 18 Sep 2018 13:22:53 +0000 (18:52 +0530)]
[M67 Migration] Prevent double free of MailboxManager unique pointer
Crash is observed at browser shutdown as MaiboxManager is getting
deleted twice, once when GpuChannelManager is destroyed and again
in SharedMailboxManager. Since we already maintain a unique pointer
(static) for MailboxManager in SharedMailboxManager, GpuChannelManager
doesn't necessarily need to have another.
This patch also avoids creation of GLShareGroup and MailboxManager
in GpuChannelManager as they are anyway overriden in GpuChildThreadEfl.
Reference :
https://review.tizen.org/gerrit/#/c/179612
Change-Id: I3d4e7e211bb1260ccf28a03da92a94b39f6a16d0
Signed-off-by: Uzair <uzair.jaleel@samsung.com>
Youngsoo Choi [Thu, 29 Mar 2018 01:37:13 +0000 (18:37 -0700)]
[M67 Dev][Tizen] Enable dlogutil for chromium and V8
This patch revised the implementation for V8 tag and removed
unused codes.
Following patch set has been migrated from tizen 4.0:
[1] [Debugging] Dlog support on chromium
https://review.tizen.org/gerrit/#/c/117909/
[2] Add dlog print for V8 module
https://review.tizen.org/gerrit/#/c/120169/
https://review.tizen.org/gerrit/#/c/120695/
https://review.tizen.org/gerrit/#/c/120670/
https://review.tizen.org/gerrit/#/c/130508/
https://review.tizen.org/gerrit/#/c/143064/
[3] Print ASSERT error log to Tizen dlogutil
https://review.tizen.org/gerrit/#/c/123738/
Reference:
https://review.tizen.org/gerrit/#/c/174185/
Change-Id: I77861f94e8398a1223a16fa0ee2de0c972a461bf
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
Aron Kim [Thu, 13 Sep 2018 07:40:11 +0000 (00:40 -0700)]
[M67 Dev] Refactor spec file.
This CL includes the following things for refactoring .spec file.
Reference from M56 :
https://review.tizen.org/gerrit/#/c/120973/
Change-Id: I9d1a512e5ac80f85c9e06fbbe328c3d900293b2c
Signed-off-by: Aron Kim <aron.kim@samsung.com>
Chandan Padhi [Tue, 21 Aug 2018 05:45:14 +0000 (22:45 -0700)]
[Rom Size] Refactor tizen GN build
This patch reduces libchromiumewk.so file size by ~17MB.
out.tz_v5.0.standard.armv7l/libchromium-ewk.so size:
w/o patch: 115M
with patch: 98M
It also reduces .text size by ~18MB.
.text size:
w/o patch: 53M
with patch: 35M
Change-Id: I801a7a8904d745593f5f181883a6dbb4d8bc35fe
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
ss440 [Thu, 23 Aug 2018 04:28:40 +0000 (21:28 -0700)]
[M67 Dev][Product TV] Enable Cursor with ecore-wl2
Enable VD Cursor for simple browsers
reference:
https://review.tizen.org/gerrit/#/c/180842
Change-Id: I5fa2f692b52930d58a784454fea888c494a8a0f1
Signed-off-by: ss440 <ss440.han@samsung.com>
Youngsoo Choi [Fri, 23 Mar 2018 11:03:25 +0000 (16:33 +0530)]
Provide tizen branch and chromium version in gbs root folder
This provides gbs root folder name to have
tizen branch, and chromium version information like below:
> GBS-ROOT-{PROFILE}-{ARCHITECTURE}-{TIZEN_VERSION}-{BRANCH}-{CHROMIUM_VERSION}
Change-Id: Iedfae02625cb7819af366cd8d4a52ea01a082b41
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
Youngsoo Choi [Fri, 23 Mar 2018 11:03:25 +0000 (16:33 +0530)]
[M67 Dev][Product TV] Support build and flags
This corrects the repository links and makes arm-kantm2
as the default profile for product tv build.
* Usage of build commands:
1) for tizen 5.0 kantm2
$ ./tizen_src/build/build_tv.sh
2) for tizen 5.0 kantm
$ ./tizen_src/build/build_tv.sh -P tztv_arm-kantm
Also, this introduces build flags, like below.
* Usage of flags:
1) in spec
+--------------------------------------------+
| %if "%{?TIZEN_PRODUCT_TV}" == "1" |
| # for TV |
| %endif |
+--------------------------------------------+
2) in C or C++
+--------------------------------------------+
| #if defined(OS_TIZEN_TV_PRODUCT) |
| // for TV |
| #endif |
+--------------------------------------------+
3) in gn
+--------------------------------------------+
| if (tizen_product_tv) { |
| # for TV |
| } |
+--------------------------------------------+
4) in gn_chromiumefl.sh
+--------------------------------------------+
| if [ "$tizen_product_tv" == "true" ]; then |
| # for TV |
| fi |
+--------------------------------------------+
Reference:
https://review.tizen.org/gerrit/#/c/173727/
https://review.tizen.org/gerrit/#/c/177233/
https://review.tizen.org/gerrit/#/c/174943/
Change-Id: I9d06426f48c91ec2508c8a34a7eb067451653867
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
Youngsoo Choi [Thu, 29 Mar 2018 02:32:17 +0000 (19:32 -0700)]
[Rom Size] Stop exporting unnecessary symbols
This stops exporting unnecessary symbols from libchromium-ewk.so.
Not that the exported symbols have to support builds of
crosswalk-tizen and webapi-plugin.
Following is the M67 result of nodebug build for public armv7l target.
Improvement:
The libchromium-ewk.so size is reduced from 92MB to 65MB by -27MB.
Also, number of exported symbols is reduced from 188173 to 9109 by -95.16%.
reference:
https://review.tizen.org/gerrit/#/c/174184/
Change-Id: Ic2a7c4040317a9e239db6665c92912e01db42f95
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
Youngsoo Choi [Tue, 15 May 2018 07:42:33 +0000 (07:42 +0000)]
[Rom Size] Enable 'is_official_build' and disable 'COMPONENT_BUILD'
This enables is_official_build and disables COMPONENT_BUILD for tizen port
to reduce libchromium-ewk.so binary size and to improve memory usage.
Improvement:
Code segement reduced by ~1MB
libchromium-ewk.so size reduced by ~1.56MB
Reference:
https://review.tizen.org/gerrit/#/c/147774/
Change-Id: Iec89b8c041841f7ad223f029fee6c1c14255eada
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
Youngsoo Choi [Mon, 20 Aug 2018 05:00:47 +0000 (22:00 -0700)]
Remove unused and git-cached gn files
If build is failed, copied unbundle gn files are left.
This removes them not to be shown in git status.
Change-Id: I599e59de4c914cd8f29ff5376c5354a5af1d0e7b
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
Chandan Padhi [Thu, 16 Aug 2018 11:43:37 +0000 (17:13 +0530)]
fixup! [M67 Dev][Tizen] Fix crashes at webview launch
This fixes a certificate error related crash due to an
invalid DevToolsManagerDelegate pointer.
Change-Id: Ic2532d83fd3b13eae78cc5b94e232940285b70ad
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
Chandan Padhi [Mon, 13 Aug 2018 11:53:56 +0000 (04:53 -0700)]
[M67 Dev][Tizen] Upgrade ecore-wayland with ecore-wl2
The ecore-wayland has been upgraded by ecore-wl2 since tizen 5.0.
This patch applies the API changes.
Reference: https://review.tizen.org/gerrit/#/c/177221/
Change-Id: I94dc46561cf8624fc1defc60f28f378480eb3b97
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
Chandan Padhi [Mon, 13 Aug 2018 11:13:46 +0000 (16:43 +0530)]
[M67 Dev][Tizen] Fix crashes at webview launch
This commit fixes the crashes during webview launch.
Change-Id: Ieeae889de17c3ca48814dacf1d320a9380719ef3
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
Chandan Padhi [Fri, 13 Apr 2018 11:52:06 +0000 (17:22 +0530)]
[M67 Dev][Tizen] Replace display specific API with public API
This patch replaces APIs that are specific to wayland or
x11 with generic ones that serve the same purpose as earlier.
This patch also updates rotation degree at the time of
initialization of DeviceDisplayInfoEfl.
Reference:
https://review.tizen.org/gerrit/#/c/175936/
https://review.tizen.org/gerrit/#/c/176794/
Change-Id: I5c123d387c49f9644b14c9f2fdbe54f0cc6e8f8b
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
Chandan Padhi [Thu, 9 Aug 2018 08:50:18 +0000 (01:50 -0700)]
[M67 Dev][Tizen] Migrate version and profile related changes
This CL introduces defining the version automatically depending
on build configuration.
The double-quotes of numbers in script are removed to properly
handle a comparison operation.
Also, this removes legacy tizen version conditions such as 2.3
or 2.4 and unused legacy tizen profile dependencies.
There were tizen or chromium version definations in xml or pc file
like below.
>> in chromium-efl_v3.0.xml or ubrowser_v3.0.xml
>> <manifest xmlns="http://tizen.org/ns/packages" api-version="3.0" ...
Whenever tizen version is upgraded, the file chromium-efl_vX.X.xml
or ubrowser_vX.X.xml have been manually added or removed.
Although it works, it is not elegant and other parts of the source
base do not use similar practice.
This introduces automatically defining the current version, depending
on build system configuration and removes unsued configuration files.
This CL also updates chromium version to 67.3396.0.
This CL also refactors xml related things as per platform requirement.
Reference:
https://review.tizen.org/gerrit/#/c/172280/
https://review.tizen.org/gerrit/#/c/173541/
https://review.tizen.org/gerrit/#/c/177898/
Change-Id: Ic41a6664378d941780805e29f8d6f3d3d07a2e8a
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
Chandan Padhi [Wed, 8 Aug 2018 10:03:06 +0000 (03:03 -0700)]
[M67 Dev][Tizen] Fix linker errors
This commit resolves linker errors for tizen standard profile.
Reference:
https://review.tizen.org/gerrit/#/c/173569/
https://review.tizen.org/gerrit/#/c/173097/
https://review.tizen.org/gerrit/#/c/173290/
Change-Id: I689576804a4413c5ff6b402674ed2ad867a5e167
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
Chandan Padhi [Fri, 3 Aug 2018 08:33:26 +0000 (01:33 -0700)]
[M67 Dev][Tizen] Fix compiler errors
This commit resolves compiler errors for tizen standard profile.
This also includes changes from https://review.tizen.org/gerrit/#/c/172051/.
Change-Id: If3cc715d36e71c7bdf1a04f912704f13f3294ae8
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
Chandan Padhi [Tue, 7 Aug 2018 13:04:55 +0000 (18:34 +0530)]
[Rom Size] Use system zlib
The libchromium-ewk.so size can be reduced by using system zlib.
This utilizes unbundled zlib and removes zlib.h to refer to system zlib.h.
For desktop build, Ubuntu 16.04 has libminizip-dev but Ubuntu 14.04 doesn't.
So, this provides the zlib 1.2.8 for that by using jhbuild.
Note that the option '--disable-static' is added by default in jhbuild
at the end of configure options but zlib doesn't support the option.
So, the '#' is added in autogenargs to ignore the option
and to fix following error.
>> unknown option: --disable-static
* version of zlib
1.2.11 is provided by both third_party and tizen system.
Reference: https://review.tizen.org/gerrit/#/c/172752/
Change-Id: I5a3c6e7654a7f2c436a4748825799acfc6f235a4
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>