Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / apps / apps.gypi
index ea177bd..1b464ae 100644 (file)
@@ -5,6 +5,7 @@
 {
   'targets': [
     {
+      # GN version: //apps
       'target_name': 'apps',
       'type': 'static_library',
       'variables': { 'enable_wexit_time_destructors': 1, },
@@ -15,7 +16,8 @@
       # browser, then we can clean up these dependencies.
       'dependencies': [
         'browser_extensions',
-        'common/extensions/api/api.gyp:api',
+        'chrome_resources.gyp:theme_resources',
+        'common/extensions/api/api.gyp:chrome_api',
         '../skia/skia.gyp:skia',
       ],
       'include_dirs': [
         '<(grit_out_dir)',
       ],
       'sources': [
-        'app_keep_alive_service.cc',
-        'app_keep_alive_service.h',
-        'app_keep_alive_service_factory.cc',
-        'app_keep_alive_service_factory.h',
+        # Note: file list duplicated in GN build.
         'app_lifetime_monitor.cc',
         'app_lifetime_monitor.h',
         'app_lifetime_monitor_factory.cc',
         'app_restore_service.h',
         'app_restore_service_factory.cc',
         'app_restore_service_factory.h',
-        'app_shim/app_shim_handler_mac.cc',
-        'app_shim/app_shim_handler_mac.h',
-        'app_shim/app_shim_host_mac.cc',
-        'app_shim/app_shim_host_mac.h',
-        'app_shim/app_shim_host_manager_mac.h',
-        'app_shim/app_shim_host_manager_mac.mm',
-        'app_shim/app_shim_mac.cc',
-        'app_shim/app_shim_mac.h',
-        'app_shim/chrome_main_app_mode_mac.mm',
-        'app_shim/extension_app_shim_handler_mac.cc',
-        'app_shim/extension_app_shim_handler_mac.h',
-        'app_window_contents.cc',
-        'app_window_contents.h',
-        'apps_client.cc',
-        'apps_client.h',
+        'browser_context_keyed_service_factories.cc',
+        'browser_context_keyed_service_factories.h',
+        'custom_launcher_page_contents.cc',
+        'custom_launcher_page_contents.h',
         'launcher.cc',
         'launcher.h',
         'metrics_names.h',
-        'pref_names.cc',
-        'pref_names.h',
-        'prefs.cc',
-        'prefs.h',
+        'saved_devices_service.cc',
+        'saved_devices_service.h',
+        'saved_devices_service_factory.cc',
+        'saved_devices_service_factory.h',
         'saved_files_service.cc',
         'saved_files_service.h',
         'saved_files_service_factory.cc',
         'saved_files_service_factory.h',
-        'shell_window.cc',
-        'shell_window.h',
-        'shell_window_geometry_cache.cc',
-        'shell_window_geometry_cache.h',
-        'shell_window_registry.cc',
-        'shell_window_registry.h',
         'switches.cc',
         'switches.h',
-        'ui/native_app_window.h',
-        'ui/views/shell_window_frame_view.cc',
-        'ui/views/shell_window_frame_view.h',
+        'ui/views/app_window_frame_view.cc',
+        'ui/views/app_window_frame_view.h',
       ],
       'conditions': [
         ['chromeos==1',
         ],
         ['enable_extensions==0',
           {
+            'dependencies!': [
+              'browser_extensions',
+              'common/extensions/api/api.gyp:chrome_api',
+            ],
             'sources/': [
-              ['exclude', '^apps/'],
+              ['exclude', '.*'],
             ],
           }
         ],
         ['toolkit_views==1', {
           'dependencies': [
-            '../ui/base/strings/ui_strings.gyp:ui_strings',
+            '../components/components.gyp:native_app_window',
+            '../ui/strings/ui_strings.gyp:ui_strings',
             '../ui/views/views.gyp:views',
           ],
         }, {  # toolkit_views==0
       '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_shell_and_tests.gyp:content_shell_lib',
-            '../skia/skia.gyp:skia',
-            '../ui/shell/shell.gyp:shell',
-            '../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_content_client.cc',
-            'shell/app_shell_content_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
 }