Skip to content

Commit

Permalink
Fix android build.
Browse files Browse the repository at this point in the history
  • Loading branch information
iefremov committed Apr 13, 2020
1 parent d2495b0 commit 9b98691
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions browser/ui/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import("//brave/components/brave_rewards/browser/buildflags/buildflags.gni")
import("//brave/components/brave_sync/buildflags/buildflags.gni")
import("//brave/components/brave_wallet/browser/buildflags/buildflags.gni")
import("//brave/components/brave_wayback_machine/buildflags/buildflags.gni")
import("//brave/components/speedreader/buildflags.gni")
import("//build/config/features.gni")
import("//components/gcm_driver/config.gni")
import("//chrome/common/features.gni")
Expand Down Expand Up @@ -137,8 +138,6 @@ source_set("ui") {
"views/tabs/brave_tab_context_menu_contents.h",
"views/toolbar/bookmark_button.cc",
"views/toolbar/bookmark_button.h",
"views/toolbar/speedreader_button.cc",
"views/toolbar/speedreader_button.h",
]

if (enable_sparkle) {
Expand Down Expand Up @@ -211,7 +210,6 @@ source_set("ui") {
"//brave/components/brave_wallet/browser/buildflags:buildflags",
"//brave/components/brave_welcome_ui:generated_resources",
"//brave/components/p3a:buildflags",
"//brave/components/speedreader",
"//chrome/app:command_ids",
"//chrome/app/vector_icons:vector_icons",
"//chrome/common",
Expand Down Expand Up @@ -361,5 +359,15 @@ source_set("ui") {
if (enable_brave_translate_extension) {
deps += [ "//components/translate/core/browser" ]
}

if (enable_speedreader) {
sources += [
"views/toolbar/speedreader_button.cc",
"views/toolbar/speedreader_button.h",
]
deps += [
"//brave/components/speedreader",
]
}
}
}

0 comments on commit 9b98691

Please sign in to comment.