build_remove_ent_content_analysis_assert.patch 1.1 KB

1234567891011121314151617181920
  1. From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
  2. From: Keeley Hammond <[email protected]>
  3. Date: Tue, 1 Aug 2023 11:27:30 -0700
  4. Subject: build: remove enterprise content analysis assert
  5. Chromium is using enterprise content analysis, which is something
  6. Electron is not concerned with. Remove this assert before building.
  7. This patch can be removed when we decide how we want to handle
  8. enterprise content analysis.
  9. diff --git a/components/enterprise/buildflags/buildflags.gni b/components/enterprise/buildflags/buildflags.gni
  10. index 7653c1c9e8fb18ce2c471af11468583d2da0cfb0..f63c1c7263b40d4344ef4b8468acb77d9718e19c 100644
  11. --- a/components/enterprise/buildflags/buildflags.gni
  12. +++ b/components/enterprise/buildflags/buildflags.gni
  13. @@ -31,4 +31,4 @@ declare_args() {
  14. # These two flags are equivalent, but `enable_print_content_analysis` still
  15. # needs to exist separately as it lives under //printing which cannot depend
  16. # on //components.
  17. -assert(enterprise_content_analysis == enable_print_content_analysis)
  18. +# assert(enterprise_content_analysis == enable_print_content_analysis)