Changeset 278606 in webkit
- Timestamp:
- Jun 8, 2021, 7:16:21 AM (5 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
flatpak/flatpakutils.py (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r278601 r278606 1 2021-06-08 Philippe Normand <pnormand@igalia.com> 2 3 [Flatpak SDK] Enable network access in the WPE build sandbox 4 https://bugs.webkit.org/show_bug.cgi?id=225914 5 6 Reviewed by Michael Catanzaro. 7 8 * flatpak/flatpakutils.py: 9 (WebkitFlatpak.run_in_sandbox): Allow network access for WPE build jobs, so that CMake is 10 able to git checkout Cog from github. 11 1 12 2021-06-08 Jean-Yves Avenard <jya@apple.com> 2 13 -
trunk/Tools/flatpak/flatpakutils.py
r278600 r278606 766 766 raise e 767 767 768 share_network_option = "--share=network" 769 770 if self.platform == 'WPE': 771 flatpak_command.append(share_network_option) 772 768 773 if not building: 769 774 flatpak_command.extend([ … … 842 847 sandbox_environment[envvar] = value 843 848 844 share_network_option = "--share=network"845 849 remote_sccache_configs = set(["SCCACHE_REDIS", "SCCACHE_BUCKET", "SCCACHE_MEMCACHED", 846 850 "SCCACHE_GCS_BUCKET", "SCCACHE_AZURE_CONNECTION_STRING", … … 871 875 if self.use_icecream and not skip_icc: 872 876 _log.debug('Enabling the icecream compiler') 873 if share_network_option not in flatpak_command: 874 flatpak_command.append(share_network_option) 875 flatpak_command.append("--filesystem=home") 877 flatpak_command.extend([share_network_option, "--filesystem=home"]) 876 878 877 879 n_cores = multiprocessing.cpu_count() * 3 … … 953 955 flatpak_env["WEBKIT_FLATPAK_DISPLAY"] = display 954 956 957 # FIXME: Remove duplicate values from the flatpak command. 958 command = flatpak_command 959 955 960 if gather_output: 956 return run_sanitized( flatpak_command, gather_output=True, ignore_stderr=True, env=flatpak_env)961 return run_sanitized(command, gather_output=True, ignore_stderr=True, env=flatpak_env) 957 962 958 963 try: 959 return self.execute_command( flatpak_command, stdout=stdout, env=flatpak_env, keep_signals=keep_signals)964 return self.execute_command(command, stdout=stdout, env=flatpak_env, keep_signals=keep_signals) 960 965 except KeyboardInterrupt: 961 966 return 0
Note:
See TracChangeset
for help on using the changeset viewer.