Index: ios/chrome/browser/reading_list/BUILD.gn |
diff --git a/ios/chrome/browser/reading_list/BUILD.gn b/ios/chrome/browser/reading_list/BUILD.gn |
new file mode 100644 |
index 0000000000000000000000000000000000000000..758563e17106e6822e836f8cf8da638901e70c72 |
--- /dev/null |
+++ b/ios/chrome/browser/reading_list/BUILD.gn |
@@ -0,0 +1,64 @@ |
+# 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. |
+ |
+source_set("reading_list") { |
+ sources = [ |
+ "reading_list_download_service.cc", |
+ "reading_list_download_service.h", |
+ "reading_list_download_service_factory.cc", |
+ "reading_list_download_service_factory.h", |
+ "reading_list_entry.cc", |
+ "reading_list_entry.h", |
+ "reading_list_model.cc", |
+ "reading_list_model.h", |
+ "reading_list_model_bridge_observer.h", |
+ "reading_list_model_bridge_observer.mm", |
+ "reading_list_model_factory.cc", |
+ "reading_list_model_factory.h", |
+ "reading_list_model_impl.cc", |
+ "reading_list_model_impl.h", |
+ "reading_list_model_observer.h", |
+ "reading_list_model_observer.h", |
+ "reading_list_model_storage.h", |
+ "reading_list_pref_names.cc", |
+ "reading_list_pref_names.h", |
+ "reading_list_store.cc", |
+ "reading_list_store.h", |
+ "url_downloader.cc", |
+ "url_downloader.h", |
+ ] |
+ |
+ deps = [ |
+ "//base", |
+ "//components/keyed_service/core", |
+ "//components/keyed_service/ios", |
+ "//components/leveldb_proto", |
+ "//components/pref_registry", |
+ "//components/prefs", |
+ "//ios/chrome/browser/reading_list/proto", |
+ "//ios/web", |
+ "//net", |
+ "//url", |
+ ] |
+} |
+ |
+source_set("reading_list_tests") { |
+ testonly = true |
+ sources = [ |
+ "reading_list_entry_unittest.cc", |
+ "reading_list_model_unittest.cc", |
+ "reading_list_store_unittest.cc", |
+ "url_downloader_unittest.cc", |
+ ] |
+ deps = [ |
+ ":reading_list", |
+ "//base", |
+ "//base/test:test_support", |
+ "//components/leveldb_proto:test_support", |
+ "//ios/chrome/browser", |
+ "//ios/chrome/browser/reading_list/proto", |
+ "//ios/web:test_support", |
+ "//testing/gtest", |
+ ] |
+} |