summaryrefslogtreecommitdiffstats
path: root/apps/apps.gypi
diff options
context:
space:
mode:
Diffstat (limited to 'apps/apps.gypi')
-rw-r--r--apps/apps.gypi39
1 files changed, 39 insertions, 0 deletions
diff --git a/apps/apps.gypi b/apps/apps.gypi
new file mode 100644
index 0000000..3cb7813
--- /dev/null
+++ b/apps/apps.gypi
@@ -0,0 +1,39 @@
+# Copyright (c) 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': 'apps',
+ 'type': 'static_library',
+ 'variables': { 'enable_wexit_time_destructors': 1, },
+ # Since browser and browser_extensions actually depend on each other,
+ # we must omit the dependency from browser_extensions to browser.
+ # However, this means browser_extensions and browser should more or less
+ # have the same dependencies. Once browser_extensions is untangled from
+ # browser, then we can clean up these dependencies.
+ 'dependencies': [
+ 'browser_extensions',
+ 'common/extensions/api/api.gyp:api',
+ '../skia/skia.gyp:skia',
+ ],
+ 'include_dirs': [
+ '<(INTERMEDIATE_DIR)',
+ ],
+ 'sources': [
+ 'app_restore_service.cc',
+ 'app_restore_service.h',
+ 'app_restore_service_factory.cc',
+ 'app_restore_service_factory.h',
+ ],
+ 'conditions': [
+ ['enable_extensions==0', {
+ 'sources/': [
+ ['exclude', '^apps/'],
+ ],
+ }],
+ ],
+ },
+ ],
+}