[Tizen] Remove dependency of elocation 93/158793/3
authorYoungsoo Choi <kenshin.choi@samsung.com>
Fri, 3 Nov 2017 05:36:12 +0000 (14:36 +0900)
committerYoungsoo Choi <kenshin.choi@samsung.com>
Mon, 6 Nov 2017 03:47:47 +0000 (03:47 +0000)
It's only needed for desktop build.

Change-Id: Ia9396819cb92575c6c9d714ce7998e515fc7fdd7
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
efl/build/system.gyp
electron.gyp
packaging/electron-efl.spec

index 2461986..35d3ec6 100644 (file)
     {
       'target_name': 'elocation',
       'type': 'none',
-      'direct_dependent_settings': {
-        'cflags': [
-          '<!@(<(pkg-config) --cflags elocation)',
-        ],
-      },
-      'link_settings': {
-        'ldflags': [
-          '<!@(<(pkg-config) --libs-only-L --libs-only-other elocation)',
-        ],
-        'libraries': [
-          '<!@(<(pkg-config) --libs-only-l elocation)',
-        ],
-      },
+      'conditions': [
+        ['desktop_linux==1', {
+          'direct_dependent_settings': {
+            'cflags': [
+              '<!@(<(pkg-config) --cflags elocation)',
+            ],
+          },
+          'link_settings': {
+            'ldflags': [
+              '<!@(<(pkg-config) --libs-only-L --libs-only-other elocation)',
+            ],
+            'libraries': [
+              '<!@(<(pkg-config) --libs-only-l elocation)',
+            ],
+          },
+        }],
+      ],
     }, # elocation
     {
       'target_name': 'elementary',
index c3bdebc..9829911 100644 (file)
           'conditions': [
             ['is_tizen==1', {
               'dependencies': [
-                '<(DEPTH)/efl/build/system.gyp:elocation',
                 '<(DEPTH)/efl/build/system.gyp:elementary',
                 '<(DEPTH)/efl/build/system.gyp:evas',
                 '<(DEPTH)/efl/build/system.gyp:icu',
index 0900e75..ac901f9 100755 (executable)
@@ -20,7 +20,6 @@ BuildRequires: pkgconfig(chromium-efl) >= 56.0.0, pkgconfig(chromium-efl) < 57.0
 BuildRequires: pkgconfig(dbus-glib-1)
 BuildRequires: pkgconfig(ecore-evas)
 BuildRequires: pkgconfig(elementary)
-BuildRequires: pkgconfig(elocation)
 BuildRequires: pkgconfig(evas)
 BuildRequires: pkgconfig(expat)
 BuildRequires: pkgconfig(gmodule-2.0)