Unable to build WebView from code tag: webview stable 87.0.4280.101

192 views
Skip to first unread message

kleine eule

unread,
Dec 18, 2020, 5:42:45 PM12/18/20
to android-webview-dev
Hi guys,

I'm trying to build WebView from the latest stable release tag.
I fetched the code by
git checkout tags/87.0.4280.101 -b 87_0_4280_101 

Set parameters by
gn args out/Default

target_os="android"
is_debug=false
is_official_build=true
is_chrome_branded=false
use_official_google_api_keys=false
exclude_unwind_tables=true
enable_resource_whitelist_generation=true
ffmpeg_branding="Chrome"
proprietary_codecs=true
enable_remoting=true

And I got this error:

ERROR at //device/vr/buildflags/buildflags.gni:24:22: Undefined identifier
  enable_oculus_vr = checkout_oculus_sdk && is_chrome_branded && is_win
                     ^------------------
See //BUILD.gn:21:1: whence it was imported.
import("//device/vr/buildflags/buildflags.gni")


Anything I miss or do wrong?

Thanks in advance.

Best regards,

Saurabh Sharma

unread,
Dec 19, 2020, 9:55:05 AM12/19/20
to android-webview-dev, kleine eule
remove below build args and try 

exclude_unwind_tables=true

kleine eule

unread,
Dec 21, 2020, 10:38:55 AM12/21/20
to android-webview-dev, Saurabh Sharma, kleine eule
I removed it but still have the same error :(

kleine eule

unread,
Dec 21, 2020, 10:40:07 AM12/21/20
to android-webview-dev, kleine eule, Saurabh Sharma
I have this error even if I remove all args and keep only:
target_os = "android"
target_cpu = "arm64"


kleine eule

unread,
Dec 21, 2020, 10:56:57 AM12/21/20
to android-webview-dev, kleine eule, Saurabh Sharma
I decided to try the earlier stable version
86.0.4240.75
With the same args I get:
ERROR at //build/config/BUILDCONFIG.gn:402:1: set_sources_assignment_filter argument must be an empty list.
set_sources_assignment_filter(sources_assignment_filter)



Torne (Richard Coles)

unread,
Jan 5, 2021, 1:26:48 PM1/5/21
to kleine eule, android-webview-dev, Saurabh Sharma
Did you run "gclient sync" after you checked out the tag you were interested in? Chromium is made of many different repositories and "git checkout" only updates the src repository (the root). "gclient sync" will bring all the other repos into sync with the current version of src.

The errors you are getting sound like you have mismatched repo versions.

--
You received this message because you are subscribed to the Google Groups "android-webview-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-webview...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/android-webview-dev/074b389c-edf1-4517-89bc-6c34b9e55470n%40chromium.org.

kleine eule

unread,
Jan 6, 2021, 10:43:15 AM1/6/21
to android-webview-dev, to...@chromium.org, android-webview-dev, Saurabh Sharma, kleine eule
Thanks!
It helped!

I definitely should run gclient sync after checkout.

Reply all
Reply to author
Forward
0 new messages