Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(104)

Unified Diff: extensions/shell/app_shell.gyp

Issue 696063008: Refactor ShellDesktopController and ShellNativeAppWindow to allow for non-aura implementations. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: + Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « extensions/shell/app/shell_main_delegate.cc ('k') | extensions/shell/browser/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/shell/app_shell.gyp
diff --git a/extensions/shell/app_shell.gyp b/extensions/shell/app_shell.gyp
index ce6a75dbc810de2e252933bc6c81c6e1f4b8064f..ba66d11ca75ef41a421cdd78692b451755fb9af0 100644
--- a/extensions/shell/app_shell.gyp
+++ b/extensions/shell/app_shell.gyp
@@ -38,7 +38,6 @@
'<(DEPTH)/mojo/mojo_base.gyp:mojo_environment_chromium',
'<(DEPTH)/skia/skia.gyp:skia',
'<(DEPTH)/third_party/WebKit/public/blink.gyp:blink',
- '<(DEPTH)/ui/wm/wm.gyp:wm',
'<(DEPTH)/v8/tools/gyp/v8.gyp:v8',
],
'include_dirs': [
@@ -74,8 +73,6 @@
'browser/shell_browser_main_parts.h',
'browser/shell_content_browser_client.cc',
'browser/shell_content_browser_client.h',
- 'browser/shell_desktop_controller.cc',
- 'browser/shell_desktop_controller.h',
'browser/shell_device_client.cc',
'browser/shell_device_client.h',
'browser/shell_display_info_provider.cc',
@@ -123,6 +120,18 @@
'utility/shell_content_utility_client.h',
],
'conditions': [
+ ['use_aura==1', {
+ 'dependencies': [
+ '<(DEPTH)/ui/wm/wm.gyp:wm',
+ ],
+ 'sources': [
+ 'browser/shell_app_window_client_aura.cc',
+ 'browser/shell_desktop_controller_aura.cc',
+ 'browser/shell_desktop_controller_aura.h',
+ 'browser/shell_native_app_window_aura.cc',
+ 'browser/shell_native_app_window_aura.h',
+ ],
+ }],
['chromeos==1', {
'dependencies': [
'<(DEPTH)/chromeos/chromeos.gyp:chromeos',
@@ -256,7 +265,7 @@
'browser/api/identity/identity_api_unittest.cc',
'browser/api/shell_window/shell_window_api_unittest.cc',
'browser/shell_audio_controller_chromeos_unittest.cc',
- 'browser/shell_desktop_controller_unittest.cc',
+ 'browser/shell_native_app_window_aura_unittest.cc',
'browser/shell_oauth2_token_service_unittest.cc',
'common/shell_content_client_unittest.cc'
],
@@ -266,6 +275,11 @@
'browser/shell_nacl_browser_delegate_unittest.cc',
],
}],
+ ['use_aura==1', {
+ 'sources': [
+ 'browser/shell_desktop_controller_aura_unittest.cc',
+ ],
+ }],
['chromeos==1', {
'dependencies': [
'<(DEPTH)/chromeos/chromeos.gyp:chromeos_test_support_without_gmock',
« no previous file with comments | « extensions/shell/app/shell_main_delegate.cc ('k') | extensions/shell/browser/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698