Update BUILD.gn

This commit is contained in:
Alexander David Frick 2022-07-15 18:54:03 -05:00 committed by GitHub
parent 985862e6f8
commit ca5c02eccf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -198,6 +198,7 @@ if (!is_android && !is_mac) {
"//components/crash/core/app",
"//components/crash/core/app:run_as_crashpad_handler",
"//components/crash/core/common",
"//components/crash/win:chrome_wer",
"//components/flags_ui:switches",
"//content:sandbox_helper_win",
"//content/public/common:static_switches",
@ -298,6 +299,12 @@ if (!is_android && !is_mac) {
ldflags += [ "-L" + rebase_path(root_out_dir) ]
}
# On Chrome OS builds (for both ash-chrome and lacros-chrome), put
# a metadata.json file in root directory containing Chrome version.
if (is_chromeos) {
deps += [ "//build:version_metadata" ]
}
# Chrome OS debug builds for arm need to pass --long-plt to the linker.
# See https://bugs.chromium.org/p/chromium/issues/detail?id=583532
if (is_chromeos_ash && is_debug && target_cpu == "arm") {
@ -1602,10 +1609,6 @@ if (is_android) {
sources = [ "browser/android/bookmarks/partner_bookmarks_reader.h" ]
}
java_cpp_enum("quick_action_category_enum_javagen") {
sources = [ "browser/android/contextualsearch/resolved_search_term.h" ]
}
java_cpp_enum("offline_pages_enum_javagen") {
sources = [ "browser/offline_pages/offline_page_utils.h" ]
}