OLD | NEW |
(Empty) | |
| 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. |
| 4 |
| 5 { |
| 6 'variables': { |
| 7 'chromium_code': 1, |
| 8 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/chrome', |
| 9 }, |
| 10 'targets': [ |
| 11 { |
| 12 'target_name': 'wm', |
| 13 'type': 'static_library', |
| 14 'dependencies': [ |
| 15 '../ash/ash.gyp:ash', |
| 16 '../ash/ash.gyp:ash_resources', |
| 17 '../ash/ash_strings.gyp:ash_strings', |
| 18 '../base/base.gyp:base', |
| 19 '../base/base.gyp:base_i18n', |
| 20 '../chrome/chrome_resources.gyp:packed_resources', |
| 21 '../content/content.gyp:content', |
| 22 '../content/content.gyp:content_shell_lib', |
| 23 '../skia/skia.gyp:skia', |
| 24 '../third_party/icu/icu.gyp:icui18n', |
| 25 '../third_party/icu/icu.gyp:icuuc', |
| 26 '../ui/app_list/app_list.gyp:app_list', |
| 27 '../ui/aura/aura.gyp:aura', |
| 28 '../ui/compositor/compositor.gyp:compositor', |
| 29 '../ui/compositor/compositor.gyp:compositor_test_support', |
| 30 '../ui/message_center/message_center.gyp:message_center', |
| 31 '../ui/ui.gyp:ui', |
| 32 '../ui/ui.gyp:ui_resources', |
| 33 '../ui/views/views.gyp:views', |
| 34 '../ui/views/views.gyp:views_examples_with_content_lib', |
| 35 '../ui/views/views.gyp:views_test_support', |
| 36 ], |
| 37 'sources': [ |
| 38 'foreign_window.cc', |
| 39 'foreign_window.h', |
| 40 'foreign_window_client_view.cc', |
| 41 'foreign_window_client_view.h', |
| 42 'foreign_window_widget.cc', |
| 43 'foreign_window_widget.h', |
| 44 'gpu/foreign_window_texture_factory.cc', |
| 45 'gpu/foreign_window_texture_factory.h', |
| 46 'host/foreign_window_host.cc', |
| 47 'host/foreign_window_host.h', |
| 48 'host/foreign_window_host_delegate.h', |
| 49 'host/foreign_window_host_linux.cc', |
| 50 'host/foreign_window_host_linux.h', |
| 51 'host/root_window_host_factory.cc', |
| 52 'host/root_window_host_factory.h', |
| 53 'host/root_window_host_factory_linux.cc', |
| 54 'host/root_window_host_linux.cc', |
| 55 'host/root_window_host_linux.h', |
| 56 ], |
| 57 'conditions': [ |
| 58 ['OS=="linux"', { |
| 59 'sources/': [ |
| 60 ['exclude', 'host/foreign_window_host.cc'], |
| 61 ['exclude', 'host/root_window_host_factory.cc'], |
| 62 ], |
| 63 'link_settings': { |
| 64 'libraries': [ |
| 65 '-lX11', |
| 66 '-lXdamage', |
| 67 '-lXfixes', |
| 68 '-lXi', |
| 69 '-lXrandr', |
| 70 ], |
| 71 }, |
| 72 }], |
| 73 ], |
| 74 }, |
| 75 { |
| 76 'target_name': 'wm_test_support', |
| 77 'type': 'static_library', |
| 78 'dependencies': [ |
| 79 '../ash/ash.gyp:ash', |
| 80 '../ash/ash.gyp:ash_resources', |
| 81 '../skia/skia.gyp:skia', |
| 82 '../testing/gtest.gyp:gtest', |
| 83 'wm', |
| 84 ], |
| 85 'sources': [ |
| 86 '../ash/test/cursor_manager_test_api.cc', |
| 87 '../ash/test/cursor_manager_test_api.h', |
| 88 '../ash/test/display_manager_test_api.cc', |
| 89 '../ash/test/display_manager_test_api.h', |
| 90 '../ash/test/launcher_view_test_api.cc', |
| 91 '../ash/test/launcher_view_test_api.h', |
| 92 '../ash/test/test_activation_delegate.cc', |
| 93 '../ash/test/test_activation_delegate.h', |
| 94 '../ash/test/test_launcher_delegate.cc', |
| 95 '../ash/test/test_launcher_delegate.h', |
| 96 '../ash/test/test_suite.cc', |
| 97 '../ash/test/test_suite.h', |
| 98 '../ash/test/test_suite_init.h', |
| 99 '../ash/test/test_suite_init.mm', |
| 100 'foreign_test_window.cc', |
| 101 'foreign_test_window.h', |
| 102 'host/foreign_test_window_host.cc', |
| 103 'host/foreign_test_window_host.h', |
| 104 'host/foreign_test_window_host_linux.cc', |
| 105 'host/foreign_test_window_host_linux.h', |
| 106 'test/test_shell_delegate.cc', |
| 107 'test/test_shell_delegate.h', |
| 108 'test/wm_test_base.cc', |
| 109 'test/wm_test_base.h', |
| 110 'test/wm_unittests.cc', |
| 111 ], |
| 112 'conditions': [ |
| 113 ['OS=="linux"', { |
| 114 'sources/': [ |
| 115 ['exclude', 'host/foreign_test_window_host.cc'], |
| 116 ], |
| 117 }], |
| 118 ], |
| 119 }, |
| 120 { |
| 121 'target_name': 'wm_unittests', |
| 122 'type': 'executable', |
| 123 'dependencies': [ |
| 124 '../ash/ash.gyp:ash', |
| 125 '../ash/ash.gyp:ash_resources', |
| 126 '../ash/ash_strings.gyp:ash_strings', |
| 127 '../base/base.gyp:base', |
| 128 '../base/base.gyp:test_support_base', |
| 129 '../build/temp_gyp/googleurl.gyp:googleurl', |
| 130 '../chrome/chrome_resources.gyp:packed_resources', |
| 131 '../content/content.gyp:content_browser', |
| 132 '../content/content.gyp:test_support_content', |
| 133 '../skia/skia.gyp:skia', |
| 134 '../testing/gtest.gyp:gtest', |
| 135 '../third_party/icu/icu.gyp:icui18n', |
| 136 '../third_party/icu/icu.gyp:icuuc', |
| 137 '../ui/app_list/app_list.gyp:app_list', |
| 138 '../ui/aura/aura.gyp:aura', |
| 139 '../ui/aura/aura.gyp:aura_test_support', |
| 140 '../ui/compositor/compositor.gyp:compositor', |
| 141 '../ui/compositor/compositor.gyp:compositor_test_support', |
| 142 '../ui/message_center/message_center.gyp:message_center', |
| 143 '../ui/ui.gyp:ui', |
| 144 '../ui/ui.gyp:ui_resources', |
| 145 '../ui/ui.gyp:ui_test_support', |
| 146 '../ui/views/views.gyp:views', |
| 147 '../ui/views/views.gyp:views_examples_with_content_lib', |
| 148 '../ui/views/views.gyp:views_with_content_test_support', |
| 149 'wm_test_support', |
| 150 ], |
| 151 'sources': [ |
| 152 '../ui/views/test/test_views_delegate.cc', |
| 153 '../ui/views/test/test_views_delegate.h', |
| 154 '<(SHARED_INTERMEDIATE_DIR)/ash/ash_resources/ash_wallpaper_resources.rc
', |
| 155 'foreign_window_unittest.cc', |
| 156 ], |
| 157 }, |
| 158 { |
| 159 'target_name': 'wm_shell', |
| 160 'type': 'executable', |
| 161 'dependencies': [ |
| 162 '../ash/ash.gyp:ash', |
| 163 '../ash/ash.gyp:ash_resources', |
| 164 '../ash/ash_strings.gyp:ash_strings', |
| 165 '../base/base.gyp:base', |
| 166 '../base/base.gyp:base_i18n', |
| 167 '../chrome/chrome_resources.gyp:packed_resources', |
| 168 '../content/content.gyp:content', |
| 169 '../content/content.gyp:content_shell_lib', |
| 170 '../skia/skia.gyp:skia', |
| 171 '../third_party/icu/icu.gyp:icui18n', |
| 172 '../third_party/icu/icu.gyp:icuuc', |
| 173 '../ui/app_list/app_list.gyp:app_list', |
| 174 '../ui/aura/aura.gyp:aura', |
| 175 '../ui/compositor/compositor.gyp:compositor', |
| 176 '../ui/compositor/compositor.gyp:compositor_test_support', |
| 177 '../ui/message_center/message_center.gyp:message_center', |
| 178 '../ui/ui.gyp:ui', |
| 179 '../ui/ui.gyp:ui_resources', |
| 180 '../ui/views/views.gyp:views', |
| 181 '../ui/views/views.gyp:views_examples_with_content_lib', |
| 182 '../ui/views/views.gyp:views_test_support', |
| 183 'wm', |
| 184 ], |
| 185 'sources': [ |
| 186 '../ash/shell/app_list.cc', |
| 187 '../ash/shell/bubble.cc', |
| 188 '../ash/shell/context_menu.cc', |
| 189 '../ash/shell/context_menu.h', |
| 190 '../ash/shell/example_factory.h', |
| 191 '../ash/shell/launcher_delegate_impl.cc', |
| 192 '../ash/shell/launcher_delegate_impl.h', |
| 193 '../ash/shell/lock_view.cc', |
| 194 '../ash/shell/panel_window.cc', |
| 195 '../ash/shell/panel_window.h', |
| 196 '../ash/shell/toplevel_window.cc', |
| 197 '../ash/shell/toplevel_window.h', |
| 198 '../ash/shell/widgets.cc', |
| 199 '../ash/shell/window_type_launcher.cc', |
| 200 '../ash/shell/window_type_launcher.h', |
| 201 '../ash/shell/window_watcher.cc', |
| 202 '../ash/shell/window_watcher.h', |
| 203 '../content/app/startup_helper_win.cc', |
| 204 '../ui/views/test/test_views_delegate.cc', |
| 205 '<(SHARED_INTERMEDIATE_DIR)/ash/ash_resources/ash_wallpaper_resources.rc
', |
| 206 'foreign_test_window.cc', |
| 207 'foreign_test_window.h', |
| 208 'host/foreign_test_window_host.cc', |
| 209 'host/foreign_test_window_host.h', |
| 210 'host/foreign_test_window_host_linux.cc', |
| 211 'host/foreign_test_window_host_linux.h', |
| 212 'shell/content_client/shell_browser_main_parts.cc', |
| 213 'shell/content_client/shell_browser_main_parts.h', |
| 214 'shell/content_client/shell_content_browser_client.cc', |
| 215 'shell/content_client/shell_content_browser_client.h', |
| 216 'shell/content_client/shell_main_delegate.cc', |
| 217 'shell/content_client/shell_main_delegate.h', |
| 218 'shell/shell_delegate_impl.cc', |
| 219 'shell/shell_delegate_impl.h', |
| 220 'shell/shell_main.cc', |
| 221 'shell/shell_main_parts.cc', |
| 222 'shell/shell_main_parts.h', |
| 223 ], |
| 224 'conditions': [ |
| 225 ['OS=="linux"', { |
| 226 'sources/': [ |
| 227 ['exclude', 'host/foreign_test_window_host.cc'], |
| 228 ], |
| 229 }], |
| 230 ], |
| 231 }, |
| 232 ], |
| 233 } |
OLD | NEW |