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', |
+ ], |
+ }], |
+ ], |
+ }, |
+ ], |
+} |