Skip to content

Commit

Permalink
Merge pull request #4711 from brave/fix-android-build
Browse files Browse the repository at this point in the history
Don't build brave_settings_import_data_handler on Android
  • Loading branch information
emerick authored Feb 22, 2020
2 parents 3aa0e54 + 601428b commit 7ed0673
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions browser/ui/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,16 @@ source_set("ui") {
"webui/settings/default_brave_shields_handler.h",
]

if (is_mac) {
sources += [
"webui/settings/brave_settings_import_data_handler_mac.mm",
]
} else {
sources += [
"webui/settings/brave_settings_import_data_handler.cc",
]
}

if (enable_sparkle) {
sources += [
"webui/settings/brave_relaunch_handler_mac.h",
Expand Down Expand Up @@ -172,16 +182,6 @@ source_set("ui") {
]
}

if (is_mac) {
sources += [
"webui/settings/brave_settings_import_data_handler_mac.mm",
]
} else {
sources += [
"webui/settings/brave_settings_import_data_handler.cc",
]
}

deps = [
"//base",
"//brave/app:command_ids",
Expand Down

0 comments on commit 7ed0673

Please sign in to comment.