Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(371)

Unified Diff: components/offline_pages/downloads/BUILD.gn

Issue 2176013002: Add support for OfflinePagesDownloadBridge. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gypi fix Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/offline_pages.gypi ('k') | components/offline_pages/downloads/download_ui_adapter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/offline_pages/downloads/BUILD.gn
diff --git a/components/offline_pages/downloads/BUILD.gn b/components/offline_pages/downloads/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..32eefd7381eed67ffe59fcce2c2a20a6beb330fe
--- /dev/null
+++ b/components/offline_pages/downloads/BUILD.gn
@@ -0,0 +1,39 @@
+# 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")
+}
+
+# GYP: //components/offline_pages.gypi:offline_pages_ui_adapter
+static_library("offline_pages_ui_adapter") {
+ sources = [
+ "download_ui_adapter.cc",
+ "download_ui_adapter.h",
+ "download_ui_item.cc",
+ "download_ui_item.h",
+ ]
+
+ deps = [
+ "//base",
+ "//components/offline_pages:offline_pages",
+ "//url",
+ ]
+}
+
+source_set("unit_tests") {
+ testonly = true
+ sources = [
+ "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",
+ "//testing/gtest",
+ ]
+}
« no previous file with comments | « components/offline_pages.gypi ('k') | components/offline_pages/downloads/download_ui_adapter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698