| OLD | NEW |
| 1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 { | 5 { |
| 6 'targets': [ | 6 'targets': [ |
| 7 { | 7 { |
| 8 'target_name': 'apps', | 8 'target_name': 'apps', |
| 9 'type': 'static_library', | 9 'type': 'static_library', |
| 10 'variables': { 'enable_wexit_time_destructors': 1, }, | 10 'variables': { 'enable_wexit_time_destructors': 1, }, |
| (...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 146 ], | 146 ], |
| 147 'outputs': [ | 147 'outputs': [ |
| 148 '<(PRODUCT_DIR)/app_shell.pak', | 148 '<(PRODUCT_DIR)/app_shell.pak', |
| 149 ], | 149 ], |
| 150 'action': ['python', '<(repack_path)', '<@(_outputs)', | 150 'action': ['python', '<(repack_path)', '<@(_outputs)', |
| 151 '<@(pak_inputs)'], | 151 '<@(pak_inputs)'], |
| 152 }, | 152 }, |
| 153 ], | 153 ], |
| 154 }, | 154 }, |
| 155 { | 155 { |
| 156 'target_name': 'app_shell', | 156 'target_name': 'app_shell_lib', |
| 157 'type': 'executable', | 157 'type': 'static_library', |
| 158 'defines!': ['CONTENT_IMPLEMENTATION'], | 158 'defines!': ['CONTENT_IMPLEMENTATION'], |
| 159 'variables': { | 159 'variables': { |
| 160 'chromium_code': 1, | 160 'chromium_code': 1, |
| 161 }, | 161 }, |
| 162 'dependencies': [ | 162 'dependencies': [ |
| 163 'app_shell_pak', | 163 'app_shell_pak', |
| 164 'apps', | 164 'apps', |
| 165 'test_support_common', | 165 'test_support_common', |
| 166 '../base/base.gyp:base', | 166 '../base/base.gyp:base', |
| 167 '../base/base.gyp:base_prefs_test_support', | 167 '../base/base.gyp:base_prefs_test_support', |
| 168 '../content/content.gyp:content', | 168 '../content/content.gyp:content', |
| 169 '../content/content_shell_and_tests.gyp:content_shell_lib', | 169 '../content/content_shell_and_tests.gyp:content_shell_lib', |
| 170 '../skia/skia.gyp:skia', | 170 '../skia/skia.gyp:skia', |
| 171 '../ui/views/views.gyp:views', | 171 '../ui/views/views.gyp:views', |
| 172 '../ui/wm/wm.gyp:wm_test_support', | 172 '../ui/wm/wm.gyp:wm_test_support', |
| 173 ], | 173 ], |
| 174 'include_dirs': [ | 174 'include_dirs': [ |
| 175 '..', | 175 '..', |
| 176 ], | 176 ], |
| 177 'sources': [ | 177 'sources': [ |
| 178 'shell/app/shell_main_delegate.cc', | 178 'shell/app/shell_main_delegate.cc', |
| 179 'shell/app/shell_main_delegate.h', | 179 'shell/app/shell_main_delegate.h', |
| 180 'shell/app/shell_main.cc', | |
| 181 'shell/browser/shell_app_sorting.cc', | 180 'shell/browser/shell_app_sorting.cc', |
| 182 'shell/browser/shell_app_sorting.h', | 181 'shell/browser/shell_app_sorting.h', |
| 183 'shell/browser/shell_app_window_delegate.cc', | 182 'shell/browser/shell_app_window_delegate.cc', |
| 184 'shell/browser/shell_app_window_delegate.h', | 183 'shell/browser/shell_app_window_delegate.h', |
| 185 'shell/browser/shell_apps_client.cc', | 184 'shell/browser/shell_apps_client.cc', |
| 186 'shell/browser/shell_apps_client.h', | 185 'shell/browser/shell_apps_client.h', |
| 187 'shell/browser/shell_browser_context.cc', | 186 'shell/browser/shell_browser_context.cc', |
| 188 'shell/browser/shell_browser_context.h', | 187 'shell/browser/shell_browser_context.h', |
| 189 'shell/browser/shell_browser_main_parts.cc', | 188 'shell/browser/shell_browser_main_parts.cc', |
| 190 'shell/browser/shell_browser_main_parts.h', | 189 'shell/browser/shell_browser_main_parts.h', |
| 191 'shell/browser/shell_content_browser_client.cc', | 190 'shell/browser/shell_content_browser_client.cc', |
| 192 'shell/browser/shell_content_browser_client.h', | 191 'shell/browser/shell_content_browser_client.h', |
| 193 'shell/browser/shell_extension_system.cc', | 192 'shell/browser/shell_extension_system.cc', |
| 194 'shell/browser/shell_extension_system.h', | 193 'shell/browser/shell_extension_system.h', |
| 195 'shell/browser/shell_extension_system_factory.cc', | 194 'shell/browser/shell_extension_system_factory.cc', |
| 196 'shell/browser/shell_extension_system_factory.h', | 195 'shell/browser/shell_extension_system_factory.h', |
| 197 'shell/browser/shell_extension_web_contents_observer.cc', | 196 'shell/browser/shell_extension_web_contents_observer.cc', |
| 198 'shell/browser/shell_extension_web_contents_observer.h', | 197 'shell/browser/shell_extension_web_contents_observer.h', |
| 199 'shell/browser/shell_extensions_browser_client.cc', | 198 'shell/browser/shell_extensions_browser_client.cc', |
| 200 'shell/browser/shell_extensions_browser_client.h', | 199 'shell/browser/shell_extensions_browser_client.h', |
| 201 'shell/browser/web_view_window.cc', | 200 'shell/browser/web_view_window.cc', |
| 202 'shell/browser/web_view_window.cc', | 201 'shell/browser/web_view_window.cc', |
| 203 'shell/common/shell_content_client.cc', | 202 'shell/common/shell_content_client.cc', |
| 204 'shell/common/shell_content_client.h', | 203 'shell/common/shell_content_client.h', |
| 205 'shell/common/shell_extensions_client.cc', | 204 'shell/common/shell_extensions_client.cc', |
| 206 'shell/common/shell_extensions_client.h', | 205 'shell/common/shell_extensions_client.h', |
| 207 'shell/renderer/shell_content_renderer_client.cc', | 206 'shell/renderer/shell_content_renderer_client.cc', |
| 208 'shell/renderer/shell_content_renderer_client.h', | 207 'shell/renderer/shell_content_renderer_client.h', |
| 209 ], | 208 ], |
| 209 }, |
| 210 { |
| 211 'target_name': 'app_shell', |
| 212 'type': 'executable', |
| 213 'defines!': ['CONTENT_IMPLEMENTATION'], |
| 214 'variables': { |
| 215 'chromium_code': 1, |
| 216 }, |
| 217 'dependencies': [ |
| 218 'app_shell_lib', |
| 219 'app_shell_pak', |
| 220 ], |
| 221 'include_dirs': [ |
| 222 '..', |
| 223 ], |
| 224 'sources': [ |
| 225 'shell/app/shell_main.cc', |
| 226 ], |
| 210 'conditions': [ | 227 'conditions': [ |
| 211 ['OS=="win"', { | 228 ['OS=="win"', { |
| 212 'msvs_settings': { | 229 'msvs_settings': { |
| 213 'VCLinkerTool': { | 230 'VCLinkerTool': { |
| 214 'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS | 231 'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS |
| 215 }, | 232 }, |
| 216 }, | 233 }, |
| 217 'msvs_large_pdb': 1, | 234 'msvs_large_pdb': 1, |
| 218 'dependencies': [ | 235 'dependencies': [ |
| 219 '../sandbox/sandbox.gyp:sandbox', | 236 '../sandbox/sandbox.gyp:sandbox', |
| 220 ], | 237 ], |
| 221 }], | 238 }], |
| 222 ], | 239 ], |
| 223 }, | 240 }, |
| 241 { |
| 242 'target_name': 'apps_browsertests', |
| 243 'type': '<(gtest_target_type)', |
| 244 'variables': { |
| 245 'chromium_code': 1, |
| 246 }, |
| 247 'dependencies': [ |
| 248 'app_shell_lib', |
| 249 # TODO(yoz): find the right deps |
| 250 '../base/base.gyp:test_support_base', |
| 251 '../content/content.gyp:content_app_both', |
| 252 '../content/content_shell_and_tests.gyp:content_browser_test_support
', |
| 253 '../content/content_shell_and_tests.gyp:test_support_content', |
| 254 '../testing/gtest.gyp:gtest', |
| 255 ], |
| 256 'defines': [ |
| 257 'HAS_OUT_OF_PROC_TEST_RUNNER', |
| 258 ], |
| 259 'sources': [ |
| 260 # TODO(yoz): Refactor once we have a second test target. |
| 261 'test/app_shell_test.h', |
| 262 'test/app_shell_test.cc', |
| 263 'test/apps_test_launcher_delegate.cc', |
| 264 'test/apps_test_launcher_delegate.h', |
| 265 'test/apps_tests_main.cc', |
| 266 ], |
| 267 }, |
| 224 ], # targets | 268 ], # targets |
| 225 }], # chromeos==1 | 269 }], # chromeos==1 or linux aura or win aura |
| 226 ], # conditions | 270 ], # conditions |
| 227 } | 271 } |
| OLD | NEW |