diff options
author | jamescook@chromium.org <jamescook@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-09 16:00:27 +0000 |
---|---|---|
committer | jamescook@chromium.org <jamescook@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-09 16:00:27 +0000 |
commit | a39745708b7051bc6d040fe2f1381200d502785b (patch) | |
tree | c6743ac2750737b35d1119c7809d8805b09e3526 /apps/apps.gypi | |
parent | 3b6ac81404396e08df6aa416cc6281e36dc76dd0 (diff) | |
download | chromium_src-a39745708b7051bc6d040fe2f1381200d502785b.zip chromium_src-a39745708b7051bc6d040fe2f1381200d502785b.tar.gz chromium_src-a39745708b7051bc6d040fe2f1381200d502785b.tar.bz2 |
Create an app_shell target
The goal of app_shell is to depend only on content (not chrome), and run
an app instead of a web browser. This is the initial build target. For now,
only Chrome OS is supported. The app initializes an X window, an Aura
RootWindow, and creates a sample views::Widget containing a WebView to
demonstrate that src/content is properly initialized.
BUG=297890
TEST=Run app_shell on linux_chromeos, see google.com load in a window
R=derat@chromium.org, miket@chromium.org
Review URL: https://codereview.chromium.org/26603002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@227743 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'apps/apps.gypi')
-rw-r--r-- | apps/apps.gypi | 38 |
1 files changed, 37 insertions, 1 deletions
diff --git a/apps/apps.gypi b/apps/apps.gypi index 4f1be5d..baf0379 100644 --- a/apps/apps.gypi +++ b/apps/apps.gypi @@ -90,5 +90,41 @@ # 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', + '../base/base.gyp:base', + '../content/content.gyp:content', + '../content/content.gyp:content_shell_lib', + '../skia/skia.gyp:skia', + '../ui/views/views.gyp:views', + ], + 'include_dirs': [ + '..', + ], + 'sources': [ + 'shell/app_shell_browser_main_parts.cc', + 'shell/app_shell_browser_main_parts.h', + 'shell/app_shell_content_browser_client.cc', + 'shell/app_shell_content_browser_client.h', + 'shell/app_shell_main_delegate.cc', + 'shell/app_shell_main_delegate.h', + 'shell/app_shell_main.cc', + 'shell/web_view_window.cc', + 'shell/web_view_window.cc', + ], + }, + ], # targets + }], # chromeos==1 + ], # conditions } |