From e3a8ebb9866a207a123d7a5f165d35c2f7019b7d Mon Sep 17 00:00:00 2001 From: "jamescook@chromium.org" Date: Mon, 31 Mar 2014 01:54:38 +0000 Subject: Introduce apps API target in //apps and move app.runtime API into it This breaks a dependency from //apps onto //chrome, getting us closer to an app_shell build that does not include chrome. * Introduce apps/browser/api and apps/common/api to mirror extensions. * Introduce an apps_api build target. * Hook up schema and function registration in chrome and app_shell. * Move app_runtime_api.h/cc into //apps and switch to apps namespace. * Eliminate AppEventRouter dependencies on Chrome: ** Use ExtensionsBrowserClient to determine if we're in kiosk mode. ** Introduce apps::file_handler_util for GrantedFileEntry (anticipating more code from app_file_handler_util to move there in the future). BUG=357818 TEST=browser_tests *PlatformApp* Review URL: https://codereview.chromium.org/217533006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@260480 0039d316-1c4b-4281-b951-d872f2087c98 --- apps/apps.gypi | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'apps/apps.gypi') diff --git a/apps/apps.gypi b/apps/apps.gypi index 9a295bf..3662fdf 100644 --- a/apps/apps.gypi +++ b/apps/apps.gypi @@ -16,6 +16,7 @@ 'dependencies': [ 'browser_extensions', 'common/extensions/api/api.gyp:chrome_api', + '../apps/common/api/api.gyp:apps_api', '../skia/skia.gyp:skia', ], 'include_dirs': [ @@ -47,6 +48,10 @@ 'apps_client.h', 'browser_context_keyed_service_factories.cc', 'browser_context_keyed_service_factories.h', + 'browser/api/app_runtime/app_runtime_api.cc', + 'browser/api/app_runtime/app_runtime_api.h', + 'browser/file_handler_util.cc', + 'browser/file_handler_util.h', 'launcher.cc', 'launcher.h', 'metrics_names.h', -- cgit v1.1