%global OUTPUT_FOLDER %{OUTPUT_BASE_FOLDER}/Release
%endif
+# Directory for internal chromium executable components
+%global CHROMIUM_EXE_DIR %{_libdir}/%{name}
+# Constant read only data used by chromium-efl port
+%global CHROMIUM_DATA_DIR %{_datadir}/%{name}
+# Directory containing localization files
+%global CHROMIUM_LOCALE_DIR %{_datadir}/%{name}/locale
+
export GYP_GENERATORS="dump_dependency_json,ninja"
%if %{?_skip_gyp:0}%{!?_skip_gyp:1}
--xwalk \
-Dbuilding_crosswalk_bin=0 \
-Dcomponent=shared_library \
+ -Dexe_dir="%{CHROMIUM_EXE_DIR}" \
+ -Ddata_dir="%{CHROMIUM_DATA_DIR}" \
+ -Dedje_dir="%{CHROMIUM_DATA_DIR}"/themes \
+ -Dlocale_dir="%{CHROMIUM_LOCALE_DIR}" \
%if 0%{?_remove_webcore_debug_symbols:1}
-Dremove_webcore_debug_symbols=1 \
%endif
# pattern, which was mentioned above.
rm -f "%{OUTPUT_FOLDER}"/lib/libxwalk_backend_lib.so
-%define INSTALL_FOLDER chromium-efl-libs
+%define INSTALL_FOLDER chromium-efl-libs
%install
# Supporting libraries and resources.