Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / content / content.gyp
index fbd3b7d..f380cab 100644 (file)
       ],
       'targets': [
         {
+          # GN version: //content
           'target_name': 'content',
           'type': 'none',
           'dependencies': [
             'content_browser',
             'content_common',
           ],
+          'export_dependent_settings': [
+            'content_common',
+          ],
           'conditions': [
             ['OS != "ios"', {
               'dependencies': [
                 'content_ppapi_plugin',
                 'content_renderer',
                 'content_utility',
-                'content_worker',
               ],
             }],
           ],
         },
         {
+          # GN version: //content/app:browser
           'target_name': 'content_app_browser',
           'type': 'static_library',
           'variables': { 'enable_wexit_time_destructors': 1, },
@@ -70,6 +74,9 @@
           'dependencies': [
             'content_common',
           ],
+          'export_dependent_settings': [
+            'content_common',
+          ],
           'conditions': [
             ['chrome_multiple_dll', {
               'defines': [
@@ -79,6 +86,7 @@
           ],
         },
         {
+          # GN version: //content/app:child
           'target_name': 'content_app_child',
           'type': 'static_library',
           'variables': { 'enable_wexit_time_destructors': 1, },
@@ -88,6 +96,9 @@
           'dependencies': [
             'content_common',
           ],
+          'export_dependent_settings': [
+            'content_common',
+          ],
           'conditions': [
             ['chrome_multiple_dll', {
               'defines': [
           ],
         },
         {
+          # GN version: //content/app:both
           'target_name': 'content_app_both',
           'type': 'static_library',
           'variables': { 'enable_wexit_time_destructors': 1, },
           ],
         },
         {
+          # GN version: //content/browser and //content/public/browser
           'target_name': 'content_browser',
           'type': 'static_library',
           'variables': { 'enable_wexit_time_destructors': 1, },
             'content_common',
             'content_resources.gyp:content_resources',
           ],
+          'export_dependent_settings': [
+            'content_common',
+          ],
           'conditions': [
             ['java_bridge==1', {
               'dependencies': [
           ],
         },
         {
+          # GN version: //content/common and //content/public/common
           'target_name': 'content_common',
           'type': 'static_library',
           'variables': { 'enable_wexit_time_destructors': 1, },
         ['OS != "ios"', {
           'targets': [
             {
+              # GN version: //content/child and //content/public/child
               'target_name': 'content_child',
               'type': 'static_library',
               'variables': { 'enable_wexit_time_destructors': 1, },
               'msvs_disabled_warnings': [ 4267, ],
             },
             {
+              # GN version: //content/gpu
               'target_name': 'content_gpu',
               'type': 'static_library',
               'variables': { 'enable_wexit_time_destructors': 1, },
               ],
             },
             {
+              # GN version: //content/plugin and //content/public/plugin
               'target_name': 'content_plugin',
               'type': 'static_library',
               'variables': { 'enable_wexit_time_destructors': 1, },
               ],
             },
             {
+              # GN version: //content/ppapi_plugin
               'target_name': 'content_ppapi_plugin',
               'type': 'static_library',
               'variables': { 'enable_wexit_time_destructors': 1, },
               'msvs_disabled_warnings': [ 4267, ],
             },
             {
+              # GN version: //content/renderer and //content/public/renderer
               'target_name': 'content_renderer',
               'type': 'static_library',
               'variables': { 'enable_wexit_time_destructors': 1, },
               ],
             },
             {
+              # GN version: //content/utility and //content/public/utility
               'target_name': 'content_utility',
               'type': 'static_library',
               'variables': { 'enable_wexit_time_destructors': 1, },
                 'content_common',
               ],
             },
-            {
-              'target_name': 'content_worker',
-              'type': 'static_library',
-              'variables': { 'enable_wexit_time_destructors': 1, },
-              'includes': [
-                'content_worker.gypi',
-              ],
-              'dependencies': [
-                'content_child',
-                'content_common',
-              ],
-            },
           ],
         }],
       ],
     {  # component != static_library
       'targets': [
         {
+          # GN version: //content
           'target_name': 'content',
           'type': 'shared_library',
           'variables': { 'enable_wexit_time_destructors': 1, },
             'content_ppapi_plugin.gypi',
             'content_renderer.gypi',
             'content_utility.gypi',
-            'content_worker.gypi',
           ],
           'msvs_settings': {
             'VCLinkerTool': {
           },
         },
         {
+          # GN version: //content/app:browser
           'target_name': 'content_app_browser',
           'type': 'none',
           'dependencies': ['content', 'content_browser'],
         },
         {
+          # GN version: //content/app:child
           'target_name': 'content_app_child',
           'type': 'none',
           'dependencies': ['content', 'content_child'],
         },
         {
+          # GN version: //content/app:both
           'target_name': 'content_app_both',
           'type': 'none',
           'dependencies': ['content'],
           'export_dependent_settings': ['content'],
         },
         {
+          # GN version: //content/browser and //content/public/browser
           'target_name': 'content_browser',
           'type': 'none',
           'dependencies': ['content'],
           'export_dependent_settings': ['content'],
         },
         {
+          # GN version: //content/common and //content/public/common
           'target_name': 'content_common',
           'type': 'none',
           'dependencies': ['content', 'content_resources.gyp:content_resources'],
           'export_dependent_settings': ['content'],
         },
         {
+          # GN Version: //content/child
           'target_name': 'content_child',
           'type': 'none',
           'dependencies': ['content'],
         },
         {
+          # GN version: //content/gpu
           'target_name': 'content_gpu',
           'type': 'none',
           'dependencies': ['content'],
         },
         {
+          # GN version: //content/plugin
           'target_name': 'content_plugin',
           'type': 'none',
           'dependencies': ['content'],
         },
         {
+          # GN version: //content/ppapi_plugin
           'target_name': 'content_ppapi_plugin',
           'type': 'none',
           'dependencies': ['content'],
           'msvs_disabled_warnings': [ 4267, ],
         },
         {
+          # GN version: //content/renderer and //content/public/renderer
           'target_name': 'content_renderer',
           'type': 'none',
           'dependencies': ['content'],
         },
         {
+          # GN version: //content/utility
           'target_name': 'content_utility',
           'type': 'none',
           'dependencies': ['content'],
           'export_dependent_settings': ['content'],
         },
-        {
-          'target_name': 'content_worker',
-          'type': 'none',
-          'dependencies': ['content'],
-        },
       ],
     }],
     ['OS == "android"', {
             'page_transition_types_java',
             'popup_item_type_java',
             'result_codes_java',
+            'selection_event_type_java',
             'speech_recognition_error_java',
             'top_controls_state_java',
             'screen_orientation_values_java',
           'includes': [ '../build/android/java_cpp_template.gypi' ],
         },
         {
+          'target_name': 'selection_event_type_java',
+          'type': 'none',
+          'sources': [
+            'public/android/java/src/org/chromium/content/browser/input/SelectionEventType.template',
+          ],
+          'variables': {
+            'package_name': 'org/chromium/content/browser/input',
+            'template_deps': ['browser/renderer_host/input/selection_event_type_list.h'],
+          },
+          'includes': [ '../build/android/java_cpp_template.gypi' ],
+        },
+        {
           'target_name': 'speech_recognition_error_java',
           'type': 'none',
           'sources': [