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

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: Fix GN 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/dom_distiller/webui/BUILD.gn b/components/sad_tab/BUILD.gn
similarity index 41%
copy from components/dom_distiller/webui/BUILD.gn
copy to components/sad_tab/BUILD.gn
index 98f9d479907b018f7271505735d2e84687d00026..d292ed4dd3ae8633bf554f780fe9f48b57d5c9c0 100644
--- a/components/dom_distiller/webui/BUILD.gn
+++ b/components/sad_tab/BUILD.gn
@@ -2,23 +2,36 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-# GYP version: components/dom_distiller.gyp:dom_distiller_webui
-static_library("webui") {
+import("//build/config/ui.gni")
+
+static_library("sad_tab") {
sources = [
- "dom_distiller_handler.cc",
- "dom_distiller_handler.h",
- "dom_distiller_ui.cc",
- "dom_distiller_ui.h",
+ "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/dom_distiller/core",
- "//components/dom_distiller/core/proto",
"//components/resources",
"//components/strings",
"//content/public/browser",
- "//skia",
- "//sync",
+ "//ui/base",
+ "//url",
]
+
+ if (toolkit_views) {
+ sources += [
+ "views/sad_tab_view.cc",
+ "views/sad_tab_view.h",
+ ]
+ deps += [
+ "//ui/views",
+ ]
+ }
}
« no previous file with comments | « components/sad_tab.gypi ('k') | components/sad_tab/DEPS » ('j') | components/sad_tab/sad_tab.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698