| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 'includes': [ |
| 7 'app_shell.gypi', |
| 8 ], |
| 6 'variables': { | 9 'variables': { |
| 7 # Product name is used for Mac bundle. | 10 # Product name is used for Mac bundle. |
| 8 'app_shell_product_name': 'App Shell', | 11 'app_shell_product_name': 'App Shell', |
| 9 # The version is high enough to be supported by Omaha (at least 31) | 12 # The version is high enough to be supported by Omaha (at least 31) |
| 10 # but fake enough to be obviously not a Chrome release. | 13 # but fake enough to be obviously not a Chrome release. |
| 11 'app_shell_version': '38.1234.5678.9', | 14 'app_shell_version': '38.1234.5678.9', |
| 12 'chromium_code': 1, | 15 'chromium_code': 1, |
| 13 }, | 16 }, |
| 14 'targets': [ | 17 'targets': [ |
| 15 { | 18 { |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 ], | 53 ], |
| 51 'export_dependent_settings': [ | 54 'export_dependent_settings': [ |
| 52 '<(DEPTH)/content/content.gyp:content_browser', | 55 '<(DEPTH)/content/content.gyp:content_browser', |
| 53 ], | 56 ], |
| 54 'include_dirs': [ | 57 'include_dirs': [ |
| 55 '../..', | 58 '../..', |
| 56 '<(SHARED_INTERMEDIATE_DIR)', | 59 '<(SHARED_INTERMEDIATE_DIR)', |
| 57 '<(SHARED_INTERMEDIATE_DIR)/extensions/shell', | 60 '<(SHARED_INTERMEDIATE_DIR)/extensions/shell', |
| 58 ], | 61 ], |
| 59 'sources': [ | 62 'sources': [ |
| 60 'app/paths_mac.h', | 63 '<@(app_shell_lib_sources)', |
| 61 'app/paths_mac.mm', | |
| 62 'app/shell_main_delegate.cc', | |
| 63 'app/shell_main_delegate.h', | |
| 64 'browser/api/identity/identity_api.cc', | |
| 65 'browser/api/identity/identity_api.h', | |
| 66 'browser/shell_browser_context_keyed_service_factories.cc', | |
| 67 'browser/shell_browser_context_keyed_service_factories.h', | |
| 68 'browser/default_shell_browser_main_delegate.cc', | |
| 69 'browser/default_shell_browser_main_delegate.h', | |
| 70 'browser/desktop_controller.cc', | |
| 71 'browser/desktop_controller.h', | |
| 72 'browser/media_capture_util.cc', | |
| 73 'browser/media_capture_util.h', | |
| 74 'browser/shell_app_delegate.cc', | |
| 75 'browser/shell_app_delegate.h', | |
| 76 'browser/shell_app_view_guest_delegate.cc', | |
| 77 'browser/shell_app_view_guest_delegate.h', | |
| 78 'browser/shell_app_window_client.cc', | |
| 79 'browser/shell_app_window_client.h', | |
| 80 'browser/shell_app_window_client_mac.mm', | |
| 81 'browser/shell_audio_controller_chromeos.cc', | |
| 82 'browser/shell_audio_controller_chromeos.h', | |
| 83 'browser/shell_browser_context.cc', | |
| 84 'browser/shell_browser_context.h', | |
| 85 'browser/shell_browser_main_delegate.h', | |
| 86 'browser/shell_browser_main_parts.cc', | |
| 87 'browser/shell_browser_main_parts.h', | |
| 88 'browser/shell_browser_main_parts_mac.h', | |
| 89 'browser/shell_browser_main_parts_mac.mm', | |
| 90 'browser/shell_content_browser_client.cc', | |
| 91 'browser/shell_content_browser_client.h', | |
| 92 'browser/shell_desktop_controller_mac.h', | |
| 93 'browser/shell_desktop_controller_mac.mm', | |
| 94 'browser/shell_device_client.cc', | |
| 95 'browser/shell_device_client.h', | |
| 96 'browser/shell_display_info_provider.cc', | |
| 97 'browser/shell_display_info_provider.h', | |
| 98 'browser/shell_extension_host_delegate.cc', | |
| 99 'browser/shell_extension_host_delegate.h', | |
| 100 'browser/shell_extension_system.cc', | |
| 101 'browser/shell_extension_system.h', | |
| 102 'browser/shell_extension_system_factory.cc', | |
| 103 'browser/shell_extension_system_factory.h', | |
| 104 'browser/shell_extension_web_contents_observer.cc', | |
| 105 'browser/shell_extension_web_contents_observer.h', | |
| 106 'browser/shell_extensions_api_client.cc', | |
| 107 'browser/shell_extensions_api_client.h', | |
| 108 'browser/shell_extensions_browser_client.cc', | |
| 109 'browser/shell_extensions_browser_client.h', | |
| 110 'browser/shell_native_app_window.cc', | |
| 111 'browser/shell_native_app_window.h', | |
| 112 'browser/shell_native_app_window_mac.h', | |
| 113 'browser/shell_native_app_window_mac.mm', | |
| 114 'browser/shell_network_controller_chromeos.cc', | |
| 115 'browser/shell_network_controller_chromeos.h', | |
| 116 'browser/shell_network_delegate.cc', | |
| 117 'browser/shell_network_delegate.h', | |
| 118 'browser/shell_oauth2_token_service.cc', | |
| 119 'browser/shell_oauth2_token_service.h', | |
| 120 'browser/shell_prefs.cc', | |
| 121 'browser/shell_prefs.h', | |
| 122 'browser/shell_runtime_api_delegate.cc', | |
| 123 'browser/shell_runtime_api_delegate.h', | |
| 124 'browser/shell_special_storage_policy.cc', | |
| 125 'browser/shell_special_storage_policy.h', | |
| 126 'browser/shell_speech_recognition_manager_delegate.cc', | |
| 127 'browser/shell_speech_recognition_manager_delegate.h', | |
| 128 'browser/shell_update_query_params_delegate.cc', | |
| 129 'browser/shell_update_query_params_delegate.h', | |
| 130 'browser/shell_url_request_context_getter.cc', | |
| 131 'browser/shell_url_request_context_getter.h', | |
| 132 'browser/shell_web_contents_modal_dialog_manager.cc', | |
| 133 'common/shell_content_client.cc', | |
| 134 'common/shell_content_client.h', | |
| 135 'common/shell_extensions_client.cc', | |
| 136 'common/shell_extensions_client.h', | |
| 137 'common/switches.cc', | |
| 138 'common/switches.h', | |
| 139 'renderer/shell_content_renderer_client.cc', | |
| 140 'renderer/shell_content_renderer_client.h', | |
| 141 'renderer/shell_extensions_renderer_client.cc', | |
| 142 'renderer/shell_extensions_renderer_client.h', | |
| 143 'utility/shell_content_utility_client.cc', | |
| 144 'utility/shell_content_utility_client.h', | |
| 145 ], | 64 ], |
| 146 'conditions': [ | 65 'conditions': [ |
| 147 ['use_aura==1', { | 66 ['use_aura==1', { |
| 148 'dependencies': [ | 67 'dependencies': [ |
| 149 '<(DEPTH)/ui/wm/wm.gyp:wm', | 68 '<(DEPTH)/ui/wm/wm.gyp:wm', |
| 150 ], | 69 ], |
| 151 'sources': [ | 70 'sources': [ |
| 152 'browser/shell_app_window_client_aura.cc', | 71 '<@(app_shell_lib_sources_aura)', |
| 153 'browser/shell_desktop_controller_aura.cc', | |
| 154 'browser/shell_desktop_controller_aura.h', | |
| 155 'browser/shell_native_app_window_aura.cc', | |
| 156 'browser/shell_native_app_window_aura.h', | |
| 157 'browser/shell_screen.cc', | |
| 158 'browser/shell_screen.h', | |
| 159 ], | 72 ], |
| 160 }], | 73 }], |
| 161 ['chromeos==1', { | 74 ['chromeos==1', { |
| 162 'dependencies': [ | 75 'dependencies': [ |
| 163 '<(DEPTH)/chromeos/chromeos.gyp:chromeos', | 76 '<(DEPTH)/chromeos/chromeos.gyp:chromeos', |
| 164 '<(DEPTH)/ui/chromeos/ui_chromeos.gyp:ui_chromeos', | 77 '<(DEPTH)/ui/chromeos/ui_chromeos.gyp:ui_chromeos', |
| 165 '<(DEPTH)/ui/display/display.gyp:display', | 78 '<(DEPTH)/ui/display/display.gyp:display', |
| 166 ], | 79 ], |
| 167 'sources': [ | 80 'sources': [ |
| 168 'browser/api/shell_gcd/shell_gcd_api.cc', | 81 '<@(app_shell_lib_sources_chromeos)', |
| 169 'browser/api/shell_gcd/shell_gcd_api.h', | |
| 170 'browser/api/vpn_provider/vpn_service_factory.cc', | |
| 171 ], | 82 ], |
| 172 }], | 83 }], |
| 173 ['disable_nacl==0 and OS=="linux"', { | 84 ['disable_nacl==0 and OS=="linux"', { |
| 174 'dependencies': [ | 85 'dependencies': [ |
| 175 '<(DEPTH)/components/nacl.gyp:nacl_helper', | 86 '<(DEPTH)/components/nacl.gyp:nacl_helper', |
| 176 ], | 87 ], |
| 177 }], | 88 }], |
| 178 ['disable_nacl==0', { | 89 ['disable_nacl==0', { |
| 179 'dependencies': [ | 90 'dependencies': [ |
| 180 '<(DEPTH)/components/nacl.gyp:nacl', | 91 '<(DEPTH)/components/nacl.gyp:nacl', |
| 181 '<(DEPTH)/components/nacl.gyp:nacl_browser', | 92 '<(DEPTH)/components/nacl.gyp:nacl_browser', |
| 182 '<(DEPTH)/components/nacl.gyp:nacl_common', | 93 '<(DEPTH)/components/nacl.gyp:nacl_common', |
| 183 '<(DEPTH)/components/nacl.gyp:nacl_renderer', | 94 '<(DEPTH)/components/nacl.gyp:nacl_renderer', |
| 184 '<(DEPTH)/components/nacl.gyp:nacl_switches', | 95 '<(DEPTH)/components/nacl.gyp:nacl_switches', |
| 185 ], | 96 ], |
| 186 'sources': [ | 97 'sources': [ |
| 187 'browser/shell_nacl_browser_delegate.cc', | 98 '<@(app_shell_lib_sources_nacl)', |
| 188 'browser/shell_nacl_browser_delegate.h', | |
| 189 ], | 99 ], |
| 190 }], | 100 }], |
| 191 ], | 101 ], |
| 192 }, | 102 }, |
| 193 { | 103 { |
| 194 'target_name': 'app_shell', | 104 'target_name': 'app_shell', |
| 195 'type': 'executable', | 105 'type': 'executable', |
| 196 'mac_bundle': 1, | 106 'mac_bundle': 1, |
| 197 'dependencies': [ | 107 'dependencies': [ |
| 198 'app_shell_lib', | 108 'app_shell_lib', |
| 199 '<(DEPTH)/extensions/extensions.gyp:extensions_shell_and_test_pak', | 109 '<(DEPTH)/extensions/extensions.gyp:extensions_shell_and_test_pak', |
| 200 ], | 110 ], |
| 201 'include_dirs': [ | 111 'include_dirs': [ |
| 202 '../..', | 112 '../..', |
| 203 ], | 113 ], |
| 204 'sources': [ | 114 'sources': [ |
| 205 'app/shell_main.cc', | 115 '<@(app_shell_sources)', |
| 206 ], | 116 ], |
| 207 'conditions': [ | 117 'conditions': [ |
| 208 ['OS=="win"', { | 118 ['OS=="win"', { |
| 209 'msvs_settings': { | 119 'msvs_settings': { |
| 210 'VCLinkerTool': { | 120 'VCLinkerTool': { |
| 211 'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS | 121 'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS |
| 212 }, | 122 }, |
| 213 }, | 123 }, |
| 214 'dependencies': [ | 124 'dependencies': [ |
| 215 '<(DEPTH)/sandbox/sandbox.gyp:sandbox', | 125 '<(DEPTH)/sandbox/sandbox.gyp:sandbox', |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 298 'app_shell_lib', | 208 'app_shell_lib', |
| 299 '<(DEPTH)/base/base.gyp:base', | 209 '<(DEPTH)/base/base.gyp:base', |
| 300 '<(DEPTH)/base/base.gyp:test_support_base', | 210 '<(DEPTH)/base/base.gyp:test_support_base', |
| 301 '<(DEPTH)/content/content.gyp:content_app_both', | 211 '<(DEPTH)/content/content.gyp:content_app_both', |
| 302 '<(DEPTH)/content/content_shell_and_tests.gyp:test_support_content', | 212 '<(DEPTH)/content/content_shell_and_tests.gyp:test_support_content', |
| 303 '<(DEPTH)/extensions/extensions.gyp:extensions_shell_and_test_pak', | 213 '<(DEPTH)/extensions/extensions.gyp:extensions_shell_and_test_pak', |
| 304 '<(DEPTH)/extensions/extensions.gyp:extensions_test_support', | 214 '<(DEPTH)/extensions/extensions.gyp:extensions_test_support', |
| 305 '<(DEPTH)/testing/gtest.gyp:gtest', | 215 '<(DEPTH)/testing/gtest.gyp:gtest', |
| 306 ], | 216 ], |
| 307 'sources': [ | 217 'sources': [ |
| 308 '../test/extensions_unittests_main.cc', | 218 '<@(app_shell_unittests_sources)', |
| 309 'browser/api/identity/identity_api_unittest.cc', | |
| 310 'browser/shell_oauth2_token_service_unittest.cc', | |
| 311 'browser/shell_prefs_unittest.cc', | |
| 312 'common/shell_content_client_unittest.cc' | |
| 313 ], | 219 ], |
| 314 'conditions': [ | 220 'conditions': [ |
| 315 ['disable_nacl==0', { | 221 ['disable_nacl==0', { |
| 316 'sources': [ | 222 'sources': [ |
| 317 'browser/shell_nacl_browser_delegate_unittest.cc', | 223 '<@(app_shell_unittests_sources_nacl)', |
| 318 ], | 224 ], |
| 319 }], | 225 }], |
| 320 ['use_aura==1', { | 226 ['use_aura==1', { |
| 321 'sources': [ | 227 'sources': [ |
| 322 'browser/shell_desktop_controller_aura_unittest.cc', | 228 '<@(app_shell_unittests_sources_aura)', |
| 323 'browser/shell_native_app_window_aura_unittest.cc', | |
| 324 'browser/shell_screen_unittest.cc', | |
| 325 ], | 229 ], |
| 326 'dependencies': [ | 230 'dependencies': [ |
| 327 '<(DEPTH)/ui/aura/aura.gyp:aura_test_support', | 231 '<(DEPTH)/ui/aura/aura.gyp:aura_test_support', |
| 328 ], | 232 ], |
| 329 }], | 233 }], |
| 330 ['chromeos==1', { | 234 ['chromeos==1', { |
| 331 'dependencies': [ | 235 'dependencies': [ |
| 332 '<(DEPTH)/chromeos/chromeos.gyp:chromeos_test_support_without_gmock'
, | 236 '<(DEPTH)/chromeos/chromeos.gyp:chromeos_test_support_without_gmock'
, |
| 333 ], | 237 ], |
| 334 'sources': [ | 238 'sources': [ |
| 335 'browser/api/shell_gcd/shell_gcd_api_unittest.cc', | 239 '<@(app_shell_unittests_sources_chromeos)', |
| 336 'browser/shell_audio_controller_chromeos_unittest.cc', | |
| 337 ], | 240 ], |
| 338 }], | 241 }], |
| 339 ['OS=="win" and win_use_allocator_shim==1', { | 242 ['OS=="win" and win_use_allocator_shim==1', { |
| 340 'dependencies': [ | 243 'dependencies': [ |
| 341 '<(DEPTH)/base/allocator/allocator.gyp:allocator', | 244 '<(DEPTH)/base/allocator/allocator.gyp:allocator', |
| 342 ], | 245 ], |
| 343 }], | 246 }], |
| 344 ], | 247 ], |
| 345 }, | 248 }, |
| 346 { | 249 { |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 410 | 313 |
| 411 'INFOPLIST_FILE': 'app/framework-Info.plist', | 314 'INFOPLIST_FILE': 'app/framework-Info.plist', |
| 412 }, | 315 }, |
| 413 'dependencies': [ | 316 'dependencies': [ |
| 414 'app_shell_lib', | 317 'app_shell_lib', |
| 415 ], | 318 ], |
| 416 'include_dirs': [ | 319 'include_dirs': [ |
| 417 '../..', | 320 '../..', |
| 418 ], | 321 ], |
| 419 'sources': [ | 322 'sources': [ |
| 420 'app/shell_main_mac.h', | 323 '<@(app_shell_sources_mac)', |
| 421 'app/shell_main_mac.cc', | |
| 422 ], | 324 ], |
| 423 'postbuilds': [ | 325 'postbuilds': [ |
| 424 { | 326 { |
| 425 # Modify the Info.plist as needed. The script explains why | 327 # Modify the Info.plist as needed. The script explains why |
| 426 # this is needed. This is also done in the chrome target. | 328 # this is needed. This is also done in the chrome target. |
| 427 # The framework needs the Breakpad keys if this feature is | 329 # The framework needs the Breakpad keys if this feature is |
| 428 # enabled. It does not need the Keystone keys; these always | 330 # enabled. It does not need the Keystone keys; these always |
| 429 # come from the outer application bundle. The framework | 331 # come from the outer application bundle. The framework |
| 430 # doesn't currently use the SCM keys for anything, | 332 # doesn't currently use the SCM keys for anything, |
| 431 # but this seems like a really good place to store them. | 333 # but this seems like a really good place to store them. |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 515 'action': [ | 417 'action': [ |
| 516 '../../build/mac/verify_no_objc.sh', | 418 '../../build/mac/verify_no_objc.sh', |
| 517 ], | 419 ], |
| 518 }, | 420 }, |
| 519 ], | 421 ], |
| 520 }, # target app_shell_helper | 422 }, # target app_shell_helper |
| 521 ], | 423 ], |
| 522 }], # OS=="mac" | 424 }], # OS=="mac" |
| 523 ], | 425 ], |
| 524 } | 426 } |
| OLD | NEW |