Build desktop, Tizen mobile and IVI profiles properly.
authorZoltan Kis <zoltan.kis@intel.com>
Fri, 7 Mar 2014 15:05:09 +0000 (17:05 +0200)
committerZoltan Kis <zoltan.kis@intel.com>
Fri, 7 Mar 2014 15:38:16 +0000 (17:38 +0200)
commit398f8145aeeba2e87777d729aec22fef10e631e3
tree976a8c0082bdf0b793d5fd42090c67e758e2f683
parentffc0793e411b9a8874ca33db4b29f1773a0ded7f
Build desktop, Tizen mobile and IVI profiles properly.

Replace TIZEN_MOBILE definitions for TIZEN, change spec file to test on the %profile
variable for ivi and mobile (defined in build.xml and propagated to build.conf)
instead of _with_ivi. In the gyp files, 'extension_host_os' tests have been replaced
with testing 'tizen'. In source code, TIZEN_MOBILE used to be assumed to work with
 IVI, considering mobile equal to IVI, which is not the case with every extension.
With this change, 'extension_host_os' is set to 'desktop' by default.
If a tizen repository is present, TIZEN will be defined to 1. In addition, TIZEN_IVI
is defined for IVI and TIZEN_MOBILE is defined for mobile. All extensions which
should work on all Tizen profiles, should use TIZEN, others should use the more
specific TIZEN_MOBILE and TIZEN_IVI.
34 files changed:
application/application.gyp
bluetooth/bluetooth.gyp
bluetooth/bluetooth_context.cc
bluetooth/bluetooth_context_bluez4.cc
bookmark/bookmark.gyp
bookmark/bookmark_instance.h
common/common.gypi
download/download.gyp
network_bearer_selection/network_bearer_selection.gyp
notification/notification.gyp
notification/notification_extension.cc
notification/notification_extension.h
packaging/tizen-extensions-crosswalk.spec
power/power.gyp
power/power_extension.cc
power/power_extension.h
system_info/system_info.gyp
system_info/system_info_battery.h
system_info/system_info_build_mobile.cc
system_info/system_info_cellular_network.h
system_info/system_info_device_orientation.h
system_info/system_info_display_wayland.cc
system_info/system_info_display_x11.cc
system_info/system_info_instance.cc
system_info/system_info_locale.h
system_info/system_info_network.h
system_info/system_info_peripheral.h
system_info/system_info_sim.h
system_info/system_info_storage.h
system_info/system_info_wifi_network.h
system_setting/system_setting.gyp
time/time.gyp
time/time_instance.cc
tizen-wrt.gyp