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

Unified Diff: ios/chrome/common/app_group/BUILD.gn

Issue 1452593002: Add support for building "ios_chrome_unittests" with gn. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ui_gfx
Patch Set: Created 5 years, 1 month 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/common/app_group/BUILD.gn
diff --git a/ios/chrome/common/app_group/BUILD.gn b/ios/chrome/common/app_group/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..8da60efed26bfd746ceb93ce1853fd67c8a537b6
--- /dev/null
+++ b/ios/chrome/common/app_group/BUILD.gn
@@ -0,0 +1,46 @@
+# Copyright 2015 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("app_group") {
+ sources = [
+ "app_group_constants.h",
+ "app_group_constants.mm",
+ "app_group_metrics.h",
+ "app_group_metrics.mm",
+ ]
+
+ deps = [
+ "//base",
+ "//components/version_info",
+ ]
+
+ libs = [
+ "CoreGraphics.framework",
+ "Foundation.framework",
+ ]
+}
+
+# This target will be included into application extensions and the list
+# of its dependencies must be kept as short as possible.
+source_set("client") {
+ sources = [
+ "app_group_metrics_client.h",
+ "app_group_metrics_client.mm",
+ ]
+
+ deps = [
+ ":app_group",
+ ]
+}
+
+source_set("main_app") {
+ sources = [
+ "app_group_metrics_mainapp.h",
+ "app_group_metrics_mainapp.mm",
+ ]
+
+ deps = [
+ ":app_group",
+ ]
+}

Powered by Google App Engine
This is Rietveld 408576698