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

Unified Diff: ios/chrome/browser/ui/content_suggestions/identifier/BUILD.gn

Issue 2762643003: Move ContentSuggestions identifiers to custom target (Closed)
Patch Set: Address comments Created 3 years, 9 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
Index: ios/chrome/browser/ui/content_suggestions/identifier/BUILD.gn
diff --git a/ios/chrome/browser/ui/content_suggestions/identifier/BUILD.gn b/ios/chrome/browser/ui/content_suggestions/identifier/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..d89c5448a6643b80dc64f77b675786bdf2d4afdb
--- /dev/null
+++ b/ios/chrome/browser/ui/content_suggestions/identifier/BUILD.gn
@@ -0,0 +1,28 @@
+# Copyright 2017 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("identifier") {
+ configs += [ "//build/config/compiler:enable_arc" ]
+ sources = [
+ "content_suggestion_identifier.h",
+ "content_suggestion_identifier.mm",
+ "content_suggestions_section_information.h",
+ "content_suggestions_section_information.mm",
+ ]
+ deps = [
+ "//base",
+ ]
+}
+
+source_set("unit_tests") {
+ configs += [ "//build/config/compiler:enable_arc" ]
+ testonly = true
+ sources = [
+ "content_suggestion_identifier_unittest.mm",
+ ]
+ deps = [
+ ":identifier",
+ "//testing/gtest",
+ ]
+}

Powered by Google App Engine
This is Rietveld 408576698