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