diff --git a/components/permissions/BUILD.gn b/components/permissions/BUILD.gn new file mode 100644 index 000000000000..44c94171e4b5 --- /dev/null +++ b/components/permissions/BUILD.gn @@ -0,0 +1,8 @@ +# Copyright (c) 2020 The Brave Authors. All rights reserved. +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this file, +# You can obtain one at http://mozilla.org/MPL/2.0/. + +source_set("permissions") { + deps = [ "//brave/components/resources:strings" ] +} diff --git a/patches/components-permissions-BUILD.gn.patch b/patches/components-permissions-BUILD.gn.patch new file mode 100644 index 000000000000..60b5d71c098e --- /dev/null +++ b/patches/components-permissions-BUILD.gn.patch @@ -0,0 +1,12 @@ +diff --git a/components/permissions/BUILD.gn b/components/permissions/BUILD.gn +index 2a4eb7e3a8c106687f80656051c6a0a9e70e0ce3..1e74754c75de0b7dd5e09f5bb27e8b4c98e5ab53 100644 +--- a/components/permissions/BUILD.gn ++++ b/components/permissions/BUILD.gn +@@ -55,6 +55,7 @@ source_set("permissions") { + "//ui/base", + "//url", + ] ++ deps += [ "//brave/components/permissions" ] + if (is_android) { + sources += [ + "android/permission_dialog_delegate.cc",