rename builddir to chromebuilddir

epel9
Than Ngo 5 months ago
parent 92a731d246
commit a807056bef

@ -126,7 +126,7 @@
%global useapikey 1 %global useapikey 1
# Leave this alone, please. # Leave this alone, please.
%global builddir out/Release %global chromebuilddir out/Release
%global headlessbuilddir out/Headless %global headlessbuilddir out/Headless
%global remotingbuilddir out/Remoting %global remotingbuilddir out/Remoting
@ -1734,17 +1734,17 @@ fi
%if %{bootstrap} %if %{bootstrap}
tools/gn/bootstrap/bootstrap.py --gn-gen-args="$CHROMIUM_CORE_GN_DEFINES $CHROMIUM_BROWSER_GN_DEFINES" tools/gn/bootstrap/bootstrap.py --gn-gen-args="$CHROMIUM_CORE_GN_DEFINES $CHROMIUM_BROWSER_GN_DEFINES"
%else %else
mkdir -p %{builddir} && cp -a %{_bindir}/gn %{builddir}/ mkdir -p %{chromebuilddir} && cp -a %{_bindir}/gn %{chromebuilddir}/
%endif %endif
%{builddir}/gn --script-executable=%{chromium_pybin} gen --args="$CHROMIUM_CORE_GN_DEFINES $CHROMIUM_BROWSER_GN_DEFINES" %{builddir} %{chromebuilddir}/gn --script-executable=%{chromium_pybin} gen --args="$CHROMIUM_CORE_GN_DEFINES $CHROMIUM_BROWSER_GN_DEFINES" %{chromebuilddir}
%if %{build_headless} %if %{build_headless}
%{builddir}/gn --script-executable=%{chromium_pybin} gen --args="$CHROMIUM_CORE_GN_DEFINES $CHROMIUM_HEADLESS_GN_DEFINES" %{headlessbuilddir} %{chromebuilddir}/gn --script-executable=%{chromium_pybin} gen --args="$CHROMIUM_CORE_GN_DEFINES $CHROMIUM_HEADLESS_GN_DEFINES" %{headlessbuilddir}
%endif %endif
%if %{build_remoting} %if %{build_remoting}
%{builddir}/gn --script-executable=%{chromium_pybin} gen --args="$CHROMIUM_CORE_GN_DEFINES $CHROMIUM_BROWSER_GN_DEFINES" %{remotingbuilddir} %{chromebuilddir}/gn --script-executable=%{chromium_pybin} gen --args="$CHROMIUM_CORE_GN_DEFINES $CHROMIUM_BROWSER_GN_DEFINES" %{remotingbuilddir}
%endif %endif
%if %{build_headless} %if %{build_headless}
@ -1752,18 +1752,18 @@ mkdir -p %{builddir} && cp -a %{_bindir}/gn %{builddir}/
%build_target %{headlessbuilddir} headless_shell %build_target %{headlessbuilddir} headless_shell
%endif %endif
%build_target %{builddir} chrome %build_target %{chromebuilddir} chrome
%build_target %{builddir} chrome_sandbox %build_target %{chromebuilddir} chrome_sandbox
%if %{build_chromedriver} %if %{build_chromedriver}
%build_target %{builddir} chromedriver %build_target %{chromebuilddir} chromedriver
%endif %endif
%if %{build_clear_key_cdm} %if %{build_clear_key_cdm}
%build_target %{builddir} clear_key_cdm %build_target %{chromebuilddir} clear_key_cdm
%endif %endif
%build_target %{builddir} policy_templates %build_target %{chromebuilddir} policy_templates
%if %{build_remoting} %if %{build_remoting}
%build_target %{remotingbuilddir} remoting_all %build_target %{remotingbuilddir} remoting_all
@ -1804,7 +1804,7 @@ sed -i "s|@@CHROMIUM_BROWSER_CHANNEL@@|$CHROMIUM_BROWSER_CHANNEL|g" %{buildroot}
ln -s ../..%{chromium_path}/%{chromium_browser_channel}.sh %{buildroot}%{_bindir}/%{chromium_browser_channel} ln -s ../..%{chromium_path}/%{chromium_browser_channel}.sh %{buildroot}%{_bindir}/%{chromium_browser_channel}
mkdir -p %{buildroot}%{_mandir}/man1/ mkdir -p %{buildroot}%{_mandir}/man1/
pushd %{builddir} pushd %{chromebuilddir}
%if %{bundleicu} %if %{bundleicu}
cp -a icudtl.dat %{buildroot}%{chromium_path} cp -a icudtl.dat %{buildroot}%{chromium_path}
%endif %endif

Loading…
Cancel
Save