Move exclusions out of supplement.gypi
authorAntonio Gomes <a1.gomes@samsung.com>
Fri, 12 Jun 2015 18:07:07 +0000 (11:07 -0700)
committerYoungsoo Choi <kenshin.choi@samsung.com>
Tue, 10 Jul 2018 06:57:09 +0000 (06:57 +0000)
Patch cleans up supplement.gypi by moving exclusions
related to wayland_bringup to the targets they
belong to.

No functional difference intended.

Bug: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=12490
Reviewed by: Balazs Kelemen, arno renevier

Change-Id: I6e442729a182f133292145f916982568ecc8d825
Signed-off-by: Antonio Gomes <a1.gomes@samsung.com>
tizen_src/chromium_impl/content/content_efl.gypi
tizen_src/chromium_impl/ui/ui_efl.gypi
tizen_src/supplement.gypi

index 9f52228..3d968a5 100644 (file)
               'common/gpu/media/efl/tizen_video_encode_accelerator.cc',
             ],
           }], # tizen_multimedia_support==1
+          ['wayland_bringup==1', {
+            'sources/': [
+              ['exclude', 'content/common/gpu/client/gpu_memory_buffer_impl_efl_pixmap\\.(h|cc)$'],
+              ['exclude', 'content/common/gpu/gpu_memory_buffer_factory_efl_pixmap\\.(h|cc)$'],
+            ],
+          }], # wayland_bringup
         ],
       }],
 
index 11bf29b..eb50d99 100644 (file)
         'sources/': [
           [ 'exclude', 'x11_types.cc$' ],
         ],
+        'conditions': [
+          ['wayland_bringup==1', {
+            'sources/': [
+              ['exclude', 'gfx/x11_types_override\\.cc$'],
+            ],
+          }],
+        ],
       }],
 
       ['_target_name=="gl"', {
               'gl/efl_pixmap.h',
             ],
           }],
+          ['wayland_bringup==1', {
+            'sources/': [
+              ['exclude', 'ui/gl/efl_pixmap\\.(h|cc)$'],
+            ],
+          }],
         ],
       }],
 
+      ['_target_name=="x11_events_platform"', {
+        'conditions': [
+          ['wayland_bringup==1', {
+            'sources/': [
+              ['exclude', 'gfx/x11_event_source_efl\\.(h|cc)$'],
+            ],
+          }],
+        ],
+      }],
+
+
       ['_target_name=="ui_base"', {
         'include_dirs': [
           '<(DEPTH)/third_party/mojo/src/',
           'base/selection/selection_magnifier_efl.h',
           'base/selection/selection_magnifier_efl.cc',
         ],
+        'conditions': [
+          ['wayland_bringup==1', {
+            'sources/': [
+              ['exclude', 'ui/base/cursor/cursor_loader_x11\\.(h|cc)$'],
+              ['exclude', 'ui/base/cursor/cursor_x11\\.(h|cc)$'],
+            ],
+          }],
+        ],
       }],
 
       ['_target_name=="snapshot"', {
index d74f9c2..aff0f18 100644 (file)
@@ -12,6 +12,7 @@
     'use_efl%' : 1,
 
     'ewk_bringup%': 1,
+    'wayland_bringup%': 0,
 
     'building_for_tizen%': 0,
     'building_for_tizen_mobile%': 0,
             'defines': [
               'WAYLAND_BRINGUP=1',
             ],
-            'target_conditions': [
-              ['_target_name=="content_common"', {
-                'sources/': [
-                  ['exclude', 'content/common/gpu/client/gpu_memory_buffer_impl_efl_pixmap\\.(h|cc)$'],
-                  ['exclude', 'content/common/gpu/gpu_memory_buffer_factory_efl_pixmap\\.(h|cc)$'],
-                ],
-              }],
-              ['_target_name=="gl"', {
-                'sources/': [
-                  ['exclude', 'ui/gl/efl_pixmap\\.(h|cc)$'],
-                ],
-              }],
-              ['_target_name=="x11_events_platform"', {
-                'sources/': [
-                  ['exclude', 'gfx/x11_event_source_efl\\.(h|cc)$'],
-                ],
-              }],
-              ['_target_name=="gfx_x11"', {
-                'sources/': [
-                  ['exclude', 'gfx/x11_types_override\\.cc$'],
-                ],
-              }],
-              ['_target_name=="ui_base"', {
-                'sources/': [
-                  ['exclude', 'ui/base/cursor/cursor_loader_x11\\.(h|cc)$'],
-                  ['exclude', 'ui/base/cursor/cursor_x11\\.(h|cc)$'],
-                ],
-              }],
-            ],
           }],
         ],
       }],