summaryrefslogtreecommitdiff
path: root/chromium/components/chrome_cleaner
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2022-09-07 13:12:05 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2022-11-09 10:02:59 +0000
commit33fc33aa94d4add0878ec30dc818e34e1dd3cc2a (patch)
treef6af110909c79b2759136554f1143d8b0572af0a /chromium/components/chrome_cleaner
parent7d2c5d177e9813077a621df8d18c0deda73099b3 (diff)
downloadqtwebengine-chromium-33fc33aa94d4add0878ec30dc818e34e1dd3cc2a.tar.gz
BASELINE: Update Chromium to 104.0.5112.120
Change-Id: I5d2726c2ab018d75d055739b6ba64317904f05bb Reviewed-on: https://codereview.qt-project.org/c/qt/qtwebengine-chromium/+/438935 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'chromium/components/chrome_cleaner')
-rw-r--r--chromium/components/chrome_cleaner/public/constants/BUILD.gn16
1 files changed, 16 insertions, 0 deletions
diff --git a/chromium/components/chrome_cleaner/public/constants/BUILD.gn b/chromium/components/chrome_cleaner/public/constants/BUILD.gn
index 38c17138375..7e16990007a 100644
--- a/chromium/components/chrome_cleaner/public/constants/BUILD.gn
+++ b/chromium/components/chrome_cleaner/public/constants/BUILD.gn
@@ -2,10 +2,26 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+import("//build/buildflag_header.gni")
+import("//build/config/chrome_build.gni")
+
+declare_args() {
+ # Whether software reporter is enabled for this build. This defaults to true
+ # for Chrome branded builds, but can be disabled manually if a Chrome branded
+ # build is required without necessarily needing the software reporter.
+ enable_software_reporter = is_chrome_branded
+}
+
source_set("constants") {
sources = [
"constants.cc",
"constants.h",
"result_codes.h",
]
+ public_deps = [ ":buildflags" ]
+}
+
+buildflag_header("buildflags") {
+ header = "buildflags.h"
+ flags = [ "ENABLE_SOFTWARE_REPORTER=$enable_software_reporter" ]
}