known target when try to build aab chromium package

133 views
Skip to first unread message

SurfaceHeaven

unread,
Sep 30, 2021, 8:30:21 PM9/30/21
to Chromium-dev

ninja: error: unknown target 'chrome_modern_public_bundle'

Torne (Richard Coles)

unread,
Oct 1, 2021, 11:59:38 AM10/1/21
to aakash...@gmail.com, Chromium-dev
What are your gn arguments and what version are you trying to build?

On Thu, 30 Sept 2021 at 20:29, SurfaceHeaven <aakash...@gmail.com> wrote:

ninja: error: unknown target 'chrome_modern_public_bundle'

--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/382ea3d8-0535-4349-90e9-c58c775ea622n%40chromium.org.

SurfaceHeaven

unread,
Oct 4, 2021, 12:52:25 PM10/4/21
to Chromium-dev, to...@chromium.org, Chromium-dev, SurfaceHeaven
when i try build to build apk its ok but when i target chrome_modern_public_bundle its say ninja error unknown target.
my agrs.gn is

target_os = "android"
target_cpu = "arm" # <---- can be arm, arm64, x86 or x64
is_debug = false
is_java_debug = false

android_channel = "stable"
is_official_build = true
is_component_build = false
is_chrome_branded = false
is_clang = true
symbol_level = 1
use_unofficial_version_number = false
android_default_version_code = "158"
android_keystore_name = "production"
android_keystore_password = "something here"
android_keystore_path = "../../../keystore.jks"
android_default_version_name = "Quadea"
fieldtrial_testing_like_official_build = true
icu_use_data_file = false
enable_iterator_debugging = false

google_api_key = "something here"
google_default_client_id = "something here"
google_default_client_secret = "something here"
use_official_google_api_keys = true

ffmpeg_branding = "Chrome"
proprietary_codecs = true
enable_hevc_demuxing = true
enable_nacl = false
enable_wifi_display = false
enable_widevine = false
enable_google_now = true
enable_ac3_eac3_audio_demuxing = true
enable_iterator_debugging = false
enable_mse_mpeg2ts_stream_parser = true
enable_remoting = false
rtc_use_h264 = false
rtc_use_lto = false
use_openh264 = false

v8_use_external_startup_data = true
update_android_aar_prebuilts = true

use_thin_lto = true

enable_extensions = true
enable_plugins = true

Torne (Richard Coles)

unread,
Oct 5, 2021, 4:39:09 PM10/5/21
to SurfaceHeaven, Chromium-dev
That's a lot of build options, but the target should be defined unconditionally as far as I can see. What version of the source code are you trying to build?

Torne (Richard Coles)

unread,
Oct 6, 2021, 10:33:50 AM10/6/21
to SurfaceHeaven, Chromium-dev
77 is very old and we weren't building as a bundle at that point. You should use a current version; old versions have many security issues.

On Wed, 6 Oct 2021 at 10:03, SurfaceHeaven <aakash...@gmail.com> wrote:
chromium 77.0 32 bit

SurfaceHeaven

unread,
Oct 7, 2021, 1:18:24 AM10/7/21
to Torne (Richard Coles), Chromium-dev
chromium 77.0 32 bit

On Wed, Oct 6, 2021 at 2:07 AM Torne (Richard Coles) <to...@chromium.org> wrote:

SurfaceHeaven

unread,
Oct 7, 2021, 1:18:31 AM10/7/21
to Torne (Richard Coles), Chromium-dev
Thanks for the tip!
Reply all
Reply to author
Forward
0 new messages