summaryrefslogtreecommitdiff
path: root/chromium/apps
diff options
context:
space:
mode:
authorAndras Becsi <andras.becsi@digia.com>2014-03-18 13:16:26 +0100
committerFrederik Gladhorn <frederik.gladhorn@digia.com>2014-03-20 15:55:39 +0100
commit3f0f86b0caed75241fa71c95a5d73bc0164348c5 (patch)
tree92b9fb00f2e9e90b0be2262093876d4f43b6cd13 /chromium/apps
parente90d7c4b152c56919d963987e2503f9909a666d2 (diff)
downloadqtwebengine-chromium-3f0f86b0caed75241fa71c95a5d73bc0164348c5.tar.gz
Update to new stable branch 1750
This also includes an updated ninja and chromium dependencies needed on Windows. Change-Id: Icd597d80ed3fa4425933c9f1334c3c2e31291c42 Reviewed-by: Zoltan Arvai <zarvai@inf.u-szeged.hu> Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
Diffstat (limited to 'chromium/apps')
-rw-r--r--chromium/apps/app_shim/app_shim.gypi35
-rw-r--r--chromium/apps/apps.gypi87
2 files changed, 103 insertions, 19 deletions
diff --git a/chromium/apps/app_shim/app_shim.gypi b/chromium/apps/app_shim/app_shim.gypi
new file mode 100644
index 00000000000..8d206031d2b
--- /dev/null
+++ b/chromium/apps/app_shim/app_shim.gypi
@@ -0,0 +1,35 @@
+# Copyright 2013 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': [
+ {
+ 'target_name': 'app_shim',
+ 'type': 'static_library',
+ # Since app_shim and browser depend on each other, we omit the dependency
+ # on browser here.
+ 'dependencies': [
+ '../chrome/chrome_resources.gyp:chrome_strings',
+ '../skia/skia.gyp:skia',
+ ],
+ 'include_dirs': [
+ '<(INTERMEDIATE_DIR)',
+ '<(grit_out_dir)',
+ ],
+ 'sources': [
+ 'app_shim_handler_mac.cc',
+ 'app_shim_handler_mac.h',
+ 'app_shim_host_mac.cc',
+ 'app_shim_host_mac.h',
+ 'app_shim_host_manager_mac.h',
+ 'app_shim_host_manager_mac.mm',
+ 'app_shim_mac.cc',
+ 'app_shim_mac.h',
+ 'chrome_main_app_mode_mac.mm',
+ 'extension_app_shim_handler_mac.cc',
+ 'extension_app_shim_handler_mac.h',
+ ],
+ },
+ ], # targets
+}
diff --git a/chromium/apps/apps.gypi b/chromium/apps/apps.gypi
index 9724dc61281..be6a6190320 100644
--- a/chromium/apps/apps.gypi
+++ b/chromium/apps/apps.gypi
@@ -23,10 +23,10 @@
'<(grit_out_dir)',
],
'sources': [
- 'app_launch_for_metro_restart_win.cc',
- 'app_launch_for_metro_restart_win.h',
- 'app_launcher.cc',
- 'app_launcher.h',
+ 'app_keep_alive_service.cc',
+ 'app_keep_alive_service.h',
+ 'app_keep_alive_service_factory.cc',
+ 'app_keep_alive_service_factory.h',
'app_lifetime_monitor.cc',
'app_lifetime_monitor.h',
'app_lifetime_monitor_factory.cc',
@@ -39,27 +39,13 @@
'app_restore_service.h',
'app_restore_service_factory.cc',
'app_restore_service_factory.h',
- 'app_shim/app_shim_handler_mac.cc',
- 'app_shim/app_shim_handler_mac.h',
- 'app_shim/app_shim_host_mac.cc',
- 'app_shim/app_shim_host_mac.h',
- 'app_shim/app_shim_host_manager_mac.h',
- 'app_shim/app_shim_host_manager_mac.mm',
- 'app_shim/app_shim_mac.cc',
- 'app_shim/app_shim_mac.h',
- 'app_shim/chrome_main_app_mode_mac.mm',
- 'app_shim/extension_app_shim_handler_mac.cc',
- 'app_shim/extension_app_shim_handler_mac.h',
'app_window_contents.cc',
'app_window_contents.h',
'apps_client.cc',
'apps_client.h',
- 'field_trial_names.cc',
- 'field_trial_names.h',
'launcher.cc',
'launcher.h',
'metrics_names.h',
- 'native_app_window.h',
'pref_names.cc',
'pref_names.h',
'prefs.cc',
@@ -76,6 +62,9 @@
'shell_window_registry.h',
'switches.cc',
'switches.h',
+ 'ui/native_app_window.h',
+ 'ui/views/shell_window_frame_view.cc',
+ 'ui/views/shell_window_frame_view.h',
],
'conditions': [
['chromeos==1',
@@ -92,9 +81,69 @@
],
}
],
+ ['toolkit_views==1', {
+ 'dependencies': [
+ '../ui/base/strings/ui_strings.gyp:ui_strings',
+ '../ui/views/views.gyp:views',
+ ],
+ }, { # toolkit_views==0
+ 'sources/': [
+ ['exclude', 'ui/views/'],
+ ],
+ }],
],
# TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
'msvs_disabled_warnings': [ 4267, ],
},
- ],
+ ], # targets
+ 'conditions': [
+ ['chromeos==1', {
+ 'targets': [
+ {
+ 'target_name': 'app_shell',
+ 'type': 'executable',
+ 'defines!': ['CONTENT_IMPLEMENTATION'],
+ 'variables': {
+ 'chromium_code': 1,
+ },
+ 'dependencies': [
+ 'apps',
+ 'chrome_resources.gyp:packed_resources',
+ 'test_support_common',
+ '../base/base.gyp:base',
+ '../base/base.gyp:base_prefs_test_support',
+ '../content/content.gyp:content',
+ '../content/content_shell_and_tests.gyp:content_shell_lib',
+ '../skia/skia.gyp:skia',
+ '../ui/views/views.gyp:views',
+ '../ui/wm/wm.gyp:wm_test_support',
+ ],
+ 'include_dirs': [
+ '..',
+ ],
+ 'sources': [
+ 'shell/shell_app_sorting.cc',
+ 'shell/shell_app_sorting.h',
+ 'shell/shell_browser_context.cc',
+ 'shell/shell_browser_context.h',
+ 'shell/shell_browser_main_parts.cc',
+ 'shell/shell_browser_main_parts.h',
+ 'shell/shell_content_browser_client.cc',
+ 'shell/shell_content_browser_client.h',
+ 'shell/shell_content_client.cc',
+ 'shell/shell_content_client.h',
+ 'shell/shell_extensions_browser_client.cc',
+ 'shell/shell_extensions_browser_client.h',
+ 'shell/shell_extensions_client.cc',
+ 'shell/shell_extensions_client.h',
+ 'shell/shell_main_delegate.cc',
+ 'shell/shell_main_delegate.h',
+ 'shell/shell_main.cc',
+ 'shell/web_view_window.cc',
+ 'shell/web_view_window.cc',
+ ],
+ },
+ ], # targets
+ }], # chromeos==1
+ ], # conditions
}