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

Unified Diff: components/sad_tab/BUILD.gn

Issue 543663002: Componentize sad_tab (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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: components/sad_tab/BUILD.gn
diff --git a/components/sad_tab/BUILD.gn b/components/sad_tab/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..d74602760adee9e4c070b01c927ff12e388ae678
--- /dev/null
+++ b/components/sad_tab/BUILD.gn
@@ -0,0 +1,36 @@
+# Copyright 2014 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.
+
+import("//build/config/ui.gni")
+
+static_library("sad_tab") {
+ sources = [
+ "sad_tab.cc",
+ "sad_tab.h",
+ "sad_tab_client.h",
+ "sad_tab_helper.cc",
+ "sad_tab_helper.h",
+ "sad_tab_types.h",
+ "url_constants.cc",
+ "url_constants.h",
+ ]
+
+ deps = [
+ "//base",
+ "//components/strings",
+ "//content/public/browser",
+ "//ui/base",
+ "//url",
+ ]
+
+ if (toolkit_views) {
+ sources += [
+ "views/sad_tab_view.cc",
+ "views/sad_tab_view.h",
+ ]
+ deps += [
+ "//ui/views",
+ ]
+ }
+}

Powered by Google App Engine
This is Rietveld 408576698