missing-dependencies.patch 3.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. --- a/chrome/browser/extensions/BUILD.gn
  2. +++ b/chrome/browser/extensions/BUILD.gn
  3. @@ -883,6 +883,7 @@ source_set("extensions") {
  4. "//components/resources",
  5. "//components/safe_browsing:buildflags",
  6. "//components/safe_browsing/content/browser/web_ui:web_ui",
  7. + "//components/safe_browsing/content/common/proto:download_file_types_proto",
  8. "//components/safe_browsing/core/browser/db:database_manager",
  9. "//components/safe_browsing/core/common",
  10. "//components/safe_browsing/core/common:safe_browsing_prefs",
  11. --- a/chrome/browser/ui/browser_commands.cc
  12. +++ b/chrome/browser/ui/browser_commands.cc
  13. @@ -5,6 +5,7 @@
  14. #include "chrome/browser/ui/browser_commands.h"
  15. #include <memory>
  16. +#include <numeric>
  17. #include <optional>
  18. #include <utility>
  19. #include <vector>
  20. --- a/chrome/browser/ui/lens/lens_overlay_controller.cc
  21. +++ b/chrome/browser/ui/lens/lens_overlay_controller.cc
  22. @@ -14,6 +14,7 @@
  23. #include "base/system/sys_info.h"
  24. #include "base/task/bind_post_task.h"
  25. #include "base/task/sequenced_task_runner.h"
  26. +#include "base/task/thread_pool.h"
  27. #include "chrome/browser/feedback/show_feedback_page.h"
  28. #include "chrome/browser/lens/core/mojom/geometry.mojom.h"
  29. #include "chrome/browser/lens/core/mojom/overlay_object.mojom.h"
  30. --- a/chrome/browser/ui/webui/searchbox/searchbox_handler.cc
  31. +++ b/chrome/browser/ui/webui/searchbox/searchbox_handler.cc
  32. @@ -6,6 +6,7 @@
  33. #include "base/base64.h"
  34. #include "base/base64url.h"
  35. +#include "base/containers/contains.h"
  36. #include "build/branding_buildflags.h"
  37. #include "chrome/browser/bookmarks/bookmark_model_factory.h"
  38. #include "chrome/browser/browser_process.h"
  39. --- a/chrome/common/BUILD.gn
  40. +++ b/chrome/common/BUILD.gn
  41. @@ -555,6 +555,7 @@ static_library("url_constants") {
  42. "//components/optimization_guide/optimization_guide_internals/webui:url_constants",
  43. "//components/password_manager/content/common",
  44. "//components/safe_browsing/core/common",
  45. + "//components/supervised_user/core/common:buildflags",
  46. "//device/vr/buildflags",
  47. ]
  48. }
  49. --- a/components/component_updater/installer_policies/BUILD.gn
  50. +++ b/components/component_updater/installer_policies/BUILD.gn
  51. @@ -45,6 +45,7 @@ static_library("installer_policies_no_co
  52. "//components/update_client",
  53. "//mojo/public/cpp/base:protobuf_support",
  54. "//services/network/public/cpp",
  55. + "//third_party/re2",
  56. ]
  57. # Disallow depending on content.
  58. --- a/components/plus_addresses/BUILD.gn
  59. +++ b/components/plus_addresses/BUILD.gn
  60. @@ -111,6 +111,7 @@ source_set("plus_addresses") {
  61. "//net",
  62. "//services/data_decoder/public/cpp",
  63. "//services/network/public/cpp",
  64. + "//third_party/re2",
  65. "//ui/base",
  66. ]
  67. public_deps = [
  68. --- a/content/browser/BUILD.gn
  69. +++ b/content/browser/BUILD.gn
  70. @@ -105,6 +105,7 @@ source_set("browser") {
  71. "//components/file_access",
  72. "//components/filename_generation",
  73. "//components/input",
  74. + "//components/lens:buildflags",
  75. "//components/link_header_util",
  76. "//components/metrics",
  77. "//components/metrics:single_sample_metrics",
  78. --- a/services/passage_embeddings/BUILD.gn
  79. +++ b/services/passage_embeddings/BUILD.gn
  80. @@ -31,6 +31,7 @@ source_set("passage_embeddings") {
  81. }
  82. deps = [
  83. + "//components/optimization_guide:machine_learning_tflite_buildflags",
  84. "//components/history_embeddings",
  85. "//services/passage_embeddings/public/mojom",
  86. "//third_party/sentencepiece:sentencepiece",
  87. @@ -39,7 +40,6 @@ source_set("passage_embeddings") {
  88. if (build_with_tflite_lib) {
  89. deps += [
  90. - "//components/optimization_guide:machine_learning_tflite_buildflags",
  91. "//components/optimization_guide/core:machine_learning",
  92. ]
  93. }