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

Unified Diff: components/sad_tab.gypi

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.gypi
diff --git a/components/sad_tab.gypi b/components/sad_tab.gypi
new file mode 100644
index 0000000000000000000000000000000000000000..527d7c5504b5cd079b8541713d74a9b5df46a23f
--- /dev/null
+++ b/components/sad_tab.gypi
@@ -0,0 +1,45 @@
+# 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.
+
+{
+ 'targets': [
+ {
+ # GN version: //components/sad_tab
+ 'target_name': 'sad_tab',
+ 'type': 'static_library',
+ 'dependencies': [
+ '../base/base.gyp:base',
+ '../content/content.gyp:content',
+ '../ui/base/ui_base.gyp:ui_base',
+ '../url/url.gyp:url_lib',
+ 'components_strings.gyp:components_strings',
+ ],
+ 'include_dirs': [
+ '..',
+ ],
+ 'sources': [
+ # Note: sources list duplicated in GN build.
+ 'sad_tab/sad_tab.cc',
+ 'sad_tab/sad_tab.h',
+ 'sad_tab/sad_tab_client.h',
+ 'sad_tab/sad_tab_helper.cc',
+ 'sad_tab/sad_tab_helper.h',
+ 'sad_tab/sad_tab_types.h',
+ 'sad_tab/url_constants.cc',
+ 'sad_tab/url_constants.h',
+ ],
+ 'conditions': [
+ ['toolkit_views==1', {
+ 'dependencies': [
+ '../ui/views/views.gyp:views',
+ ],
+ 'sources': [
+ 'sad_tab/views/sad_tab_view.cc',
+ 'sad_tab/views/sad_tab_view.h',
+ ],
+ }],
+ ],
+ },
+ ],
+}

Powered by Google App Engine
This is Rietveld 408576698