From 6f637730a38de10a1173f05e48271483d27b648d Mon Sep 17 00:00:00 2001 From: "dhollowa@chromium.org" Date: Thu, 19 Jan 2012 03:15:34 +0000 Subject: Aura Shell needs to exist on Mac Adds first cut at "Aura Shell.app" on Mac. The 'ash_shell' is extended to generate a Cocoa application. This application brings up a single window containing the Aura desktop. The main view of this window provides an accelerated surface to Aura in which it can composite and draw its results. What works: - The application launches and renders the Aura desktop and background - Mouse movement, clicking, double-clicking, and interactions with Aura windows and widgets - Text buttons render with Skia text (needs improvement) - Non-modal transient window button - Window-modal window button - System-modal window button - Example Widgets button (checkboxes, radios, buttons) - Lock Screen button - Create Non-Resizable window button - Create Pointy Bubble button - Create Widow button - Switcher and Taskbar What doesn't work: - Open Views Examples Window button - Views menus - Views scrollbars - Views accelerators - Views tooltips - Drag and drop - Anything involving MessageLoop dispatcher logic - Mouse movement doesn't pass through to Aura when mouse button is up Note: Required .gyp flags are: 'use_aura': 1, 'use_webkit_compositor': 1, BUG=109946 TEST=Manual tests. R=sky@chromium.org, thakis@chromium.org Review URL: https://chromiumcodereview.appspot.com/9232028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118222 0039d316-1c4b-4281-b951-d872f2087c98 --- ash/ash.gyp | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'ash/ash.gyp') diff --git a/ash/ash.gyp b/ash/ash.gyp index 4b95c66..8c97177 100644 --- a/ash/ash.gyp +++ b/ash/ash.gyp @@ -5,6 +5,7 @@ { 'variables': { 'chromium_code': 1, + 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/chrome', }, 'targets': [ @@ -293,6 +294,29 @@ '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/ui_resources.rc', '../ui/views/test/test_views_delegate.cc', ], + 'conditions': [ + ['OS=="mac"', { + 'product_name': 'AuraShell', + 'mac_bundle': 1, + 'sources/': [ + ['exclude', 'shell/shell_main_parts.cc'], + ], + 'mac_bundle_resources': [ + 'shell/cocoa/app.icns', + 'shell/cocoa/app-Info.plist', + 'shell/cocoa/nibs/MainMenu.xib', + 'shell/cocoa/nibs/RootWindow.xib', + '<(SHARED_INTERMEDIATE_DIR)/repack/chrome.pak', + '