Files
brave-core/patches/third_party-blink-renderer-modules-BUILD.gn.patch
T

21 lines
971 B
Diff

diff --git a/third_party/blink/renderer/modules/BUILD.gn b/third_party/blink/renderer/modules/BUILD.gn
index 8a7265117d41b257099e027a05af7012a60351bf..828039774e2addb428f8427d3a778c0a0428da89 100644
--- a/third_party/blink/renderer/modules/BUILD.gn
+++ b/third_party/blink/renderer/modules/BUILD.gn
@@ -15,6 +15,7 @@ if (is_android) {
}
visibility = [ "//third_party/blink/renderer/*" ]
+visibility += brave_blink_renderer_modules_visibility
config("modules_implementation") {
defines = [ "BLINK_MODULES_IMPLEMENTATION=1" ]
@@ -169,6 +170,7 @@ component("modules") {
# generating the snapshot for android, blink is compiled with
# current_os="linux" and target_os="android". Using target_os is necessary as
# we need to compile in the same way as would happen when current_os="android".
+ sub_modules += brave_blink_sub_modules
if (target_os == "android") {
sub_modules += [ "//third_party/blink/renderer/modules/remote_objects" ]
} else {