BuildRequires: pkgconfig(privileged-service)
%endif
+# node module is required for nmt and category public features.
+%if "%{?profile}" != "tv" && "%{?profile}" != "wearable" && "%{?_with_da_profile}" != "1"
+%define _support_node_module 1
+%endif
+
%description
Browser Engine based on Chromium EFL (Shared Library)
install -m 0644 "%{OUTPUT_FOLDER}"/pkgconfig/*.pc "%{buildroot}"%{_libdir}/pkgconfig/
install -m 0644 tizen_src/ewk/efl_integration/public/*.h "%{buildroot}"%{_includedir}/chromium-ewk/
install -m 0644 v8/include/*.h "%{buildroot}"%{_includedir}/v8/
+install -d "%{buildroot}"%{_includedir}/v8/cppgc
+install -m 0644 v8/include/cppgc/common.h "%{buildroot}"%{_includedir}/v8/cppgc/
+
+%if 0%{?_support_node_module}
+install -d "%{buildroot}"%{_includedir}/node
+install -m 0644 third_party/electron_node/src/*.h "%{buildroot}"%{_includedir}/node/
+%endif
install -m 0755 "%{OUTPUT_FOLDER}"/libminigbm.so "%{buildroot}"%{_libdir}
%{_libdir}/pkgconfig/*.pc
%{_includedir}/v8/*
+%if 0%{?_support_node_module}
+%{_includedir}/node/*
+%endif
+
%if 0%{?__enable_wrt_js}
%{_includedir}/wrt/*
%endif