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

Unified Diff: components/sad_tab.gypi

Issue 543663002: Componentize sad_tab (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix url_constants.cc 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
« no previous file with comments | « components/resources/sad_tab_scaled_resources.grdp ('k') | components/sad_tab/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sad_tab.gypi
diff --git a/components/sad_tab.gypi b/components/sad_tab.gypi
new file mode 100644
index 0000000000000000000000000000000000000000..c74a4882738ce763aff436359a7c5c89ca7b2b6e
--- /dev/null
+++ b/components/sad_tab.gypi
@@ -0,0 +1,58 @@
+# 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_resources.gyp:components_resources',
+ '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',
+ ],
+ }],
+ ['OS=="mac"', {
+ 'dependencies': [
+ '../third_party/google_toolbox_for_mac/google_toolbox_for_mac.gyp:google_toolbox_for_mac',
+ '../ui/gfx/gfx.gyp:gfx',
+ ],
+ 'sources': [
+ 'sad_tab/cocoa/sad_tab_controller.h',
+ 'sad_tab/cocoa/sad_tab_controller.mm',
+ 'sad_tab/cocoa/sad_tab_view.h',
+ 'sad_tab/cocoa/sad_tab_view.mm',
+ ],
+ }],
+ ],
+ },
+ ],
+}
« no previous file with comments | « components/resources/sad_tab_scaled_resources.grdp ('k') | components/sad_tab/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698