[building] Changes to enable bulding for TV profile
authorMarcin Wasowski <m.wasowski2@samsung.com>
Tue, 16 Dec 2014 11:47:07 +0000 (12:47 +0100)
committerJerzy Pabich <j.pabich@samsung.com>
Wed, 17 Dec 2014 08:03:07 +0000 (17:03 +0900)
Switch profile to tv change profile by changing the first
line of .spec

- TV profile moved outside of mobile/wearable in .spec
- stub directories created for channel, audio and display

Change-Id: Ib3419d3c147d91b63769180161c41d452713d3f7
Signed-off-by: Marcin Wasowski <m.wasowski2@samsung.com>
packaging/webapi-plugins.spec
src/tizen-wrt.gyp
src/tvaudio/tvaudio.gyp [new file with mode: 0644]
src/tvchannel/tvchannel.gyp [new file with mode: 0644]
src/tvdisplay/tvdisplay.gyp [new file with mode: 0644]

index f44ec3446a8e11a84ae7d8bef223fb5a5b59006d..cf35526d8b4227b793d5810e7e3f52db73d7bf8f 100644 (file)
@@ -23,7 +23,7 @@ Source0:    %{name}-%{version}.tar.gz
 %define tizen_feature_badge_support               0
 %define tizen_feature_bluetooth_support           0
 %define tizen_feature_bluetooth_health_support    0
-%define tizen_feature_bookmark_support            0
+%define tizen_feature_bookmark_support            1
 %define tizen_feature_calendar_support            1
 %define tizen_feature_callhistory_support         0
 %define tizen_feature_contact_support             1
@@ -42,7 +42,7 @@ Source0:    %{name}-%{version}.tar.gz
 %define tizen_feature_nfc_emulation_support       0
 %define tizen_feature_nfc_support                 1
 %define tizen_feature_notification_support        0
-%define tizen_feature_power_support               0
+%define tizen_feature_power_support               1
 %define tizen_feature_push_support                0
 %define tizen_feature_sap_support                 0
 %define tizen_feature_se_support                  0
@@ -94,7 +94,10 @@ Source0:    %{name}-%{version}.tar.gz
 %define tizen_feature_web_setting_support         0
 %define tizen_feature_wi_fi_support               0
 
-%else
+%endif # tizen_profile_wearable
+%endif # tizen_profile_mobile
+
+
 ####################################################################
 #       TV Profile                                                 #
 ####################################################################
@@ -136,16 +139,11 @@ Source0:    %{name}-%{version}.tar.gz
 %define tizen_feature_wi_fi_support               0
 
 %endif # tizen_profile_tv
-%endif # tizen_profile_wearable
-%endif # tizen_profile_mobile
-
 
 BuildRequires: ninja
 BuildRequires: pkgconfig(appcore-common)
 BuildRequires: pkgconfig(capi-system-device)
 BuildRequires: pkgconfig(capi-system-info)
-BuildRequires: pkgconfig(capi-system-power)
-BuildRequires: pkgconfig(bookmark-adaptor)
 BuildRequires: pkgconfig(libpcrecpp)
 BuildRequires: pkgconfig(dbus-1)
 BuildRequires: pkgconfig(dbus-glib-1)
@@ -174,6 +172,14 @@ BuildRequires: pkgconfig(tapi)
 BuildRequires: pkgconfig(libpcrecpp)
 BuildRequires: pkgconfig(capi-appfw-application)
 
+%if 0%{?tizen_feature_power_support}
+BuildRequires: pkgconfig(capi-system-power)
+%endif
+
+%if 0%{?tizen_feature_bookmark_support}
+BuildRequires: pkgconfig(bookmark-adaptor)
+%endif
+
 %if 0%{?tizen_feature_messaging_support}
 BuildRequires:  pkgconfig(email-service)
 %endif
@@ -184,6 +190,7 @@ BuildRequires:  pkgconfig(badge)
 
 %if 0%{?tizen_feature_bookmark_support}
 BuildRequires:  pkgconfig(capi-web-bookmark)
+BuildRequires: pkgconfig(bookmark-adaptor)
 %endif
 
 %if 0%{?tizen_feature_calendar_support}
index 55ab06d49422697a58b05e1c33b80318abcf6353..c313651bdee6ac790ae2d7cceb039e8283cde722 100644 (file)
         'tizen/tizen.gyp:*',
         'time/time.gyp:*',
         'utils/utils.gyp:*',
-        'power/power.gyp:*',
         'messageport/messageport.gyp:*',
-        'bookmark/bookmark.gyp:*',
         'archive/archive.gyp:*',
         'exif/exif.gyp:*',
-        'systeminfo/systeminfo.gyp:*',
       ],
       'conditions': [
-        [ 'extension_host_os == "mobile"', {
-          'dependencies': [
-            'callhistory/callhistory.gyp:*',
-            'contact/contact.gyp:*',
-            'calendar/calendar.gyp:*',
-            'datasync/datasync.gyp:*',
-            'messaging/messaging.gyp:*',
-            'nfc/nfc.gyp:*'
-          ],
-        },
-       ],
-     ],
+        [
+          'extension_host_os == "mobile"', {
+            'dependencies': [
+              'callhistory/callhistory.gyp:*',
+              'contact/contact.gyp:*',
+              'calendar/calendar.gyp:*',
+              'datasync/datasync.gyp:*',
+              'messaging/messaging.gyp:*',
+              'nfc/nfc.gyp:*',
+              'power/power.gyp:*',
+              'bookmark/bookmark.gyp:*',
+              'systeminfo/systeminfo.gyp:*',
+            ],
+          },
+        ], # end mobile
+        [
+          'extension_host_os == "tv"', {
+            'dependencies': [
+              # 'tvdisplay/tvdisplay.gyp:*',
+              # 'tvchannel/tvchannel.gyp:*',
+              # 'tvaudio/tvaudio.gyp:*',
+            ],
+          },
+        ], # end tv
+      ], # end conditions
     },
-  ],
+  ], # end targets
 }
diff --git a/src/tvaudio/tvaudio.gyp b/src/tvaudio/tvaudio.gyp
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/src/tvchannel/tvchannel.gyp b/src/tvchannel/tvchannel.gyp
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/src/tvdisplay/tvdisplay.gyp b/src/tvdisplay/tvdisplay.gyp
new file mode 100644 (file)
index 0000000..e69de29