diff options
Diffstat (limited to 'chromium/components/offline_pages/downloads/BUILD.gn')
-rw-r--r-- | chromium/components/offline_pages/downloads/BUILD.gn | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/chromium/components/offline_pages/downloads/BUILD.gn b/chromium/components/offline_pages/downloads/BUILD.gn new file mode 100644 index 00000000000..41f709f7d93 --- /dev/null +++ b/chromium/components/offline_pages/downloads/BUILD.gn @@ -0,0 +1,44 @@ +# Copyright 2016 The Chromium Authors. All rights reserved. +# 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/rules.gni") +} + +static_library("offline_pages_ui_adapter") { + sources = [ + "download_notifying_observer.cc", + "download_notifying_observer.h", + "download_ui_adapter.cc", + "download_ui_adapter.h", + "download_ui_item.cc", + "download_ui_item.h", + "offline_page_download_notifier.h", + ] + + deps = [ + "//base", + "//components/offline_pages:offline_pages", + "//components/offline_pages/background:background_offliner", + "//url", + ] +} + +source_set("unit_tests") { + testonly = true + sources = [ + "download_notifying_observer_unittest.cc", + "download_ui_adapter_unittest.cc", + ] + + deps = [ + ":offline_pages_ui_adapter", + "//base", + "//base/test:test_support", + "//components/offline_pages:offline_pages", + "//components/offline_pages:test_support", + "//components/offline_pages/background:background_offliner", + "//testing/gtest", + ] +} |