# Copyright 2017 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
if (is_android) {
import("//build/config/android/config.gni")
import("//build/config/android/rules.gni")
}
source_set("public") {
sources = [
"all_download_item_notifier.cc",
"all_download_item_notifier.h",
"download_navigation_observer.cc",
"download_navigation_observer.h",
]
if (is_android) {
sources += [ "context_menu_download.h" ]
}
public_deps = [ "//base" ]
deps = [
"//components/download/public/background_service:public",
"//content/public/browser",
]
configs += [ "//build/config/compiler:wexit_time_destructors" ]
}
source_set("unit_tests") {
testonly = true
sources = [ "all_download_item_notifier_unittest.cc" ]
deps = [
":public",
"//content/test:test_support",
"//testing/gmock",
"//testing/gtest",
]
}