From ca5c02eccf746dff095b1e7fa5e3699fc913f7db Mon Sep 17 00:00:00 2001 From: Alexander David Frick Date: Fri, 15 Jul 2022 18:54:03 -0500 Subject: [PATCH] Update BUILD.gn --- src/chrome/BUILD.gn | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/chrome/BUILD.gn b/src/chrome/BUILD.gn index d448b2cc..04ec4788 100644 --- a/src/chrome/BUILD.gn +++ b/src/chrome/BUILD.gn @@ -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", @@ -297,6 +298,12 @@ if (!is_android && !is_mac) { if (is_chromeos_device) { 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 @@ -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" ] }