Changeset 242882 in webkit
- Timestamp:
- Mar 13, 2019, 8:33:01 AM (7 years ago)
- Location:
- trunk/Tools
- Files:
-
- 3 edited
-
ChangeLog (modified) (1 diff)
-
flatpak/flatpakutils.py (modified) (2 diffs)
-
flatpak/org.webkit.WPEModules.yaml (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r242880 r242882 1 2019-03-13 Thibault Saunier <tsaunier@igalia.com> 2 3 [Flatpak] Expand submodule recursively 4 https://bugs.webkit.org/show_bug.cgi?id=195672 5 6 Building WPE with flatpak was impossible without that as it was raising an exception. 7 Also update wpebackend-fdo to match what is built in jhbuild 8 9 Reviewed by Philippe Normand. 10 11 * flatpak/flatpakutils.py: 12 (expand_submodules_recurse): 13 (expand_manifest): 14 * flatpak/org.webkit.WPEModules.yaml: 15 1 16 2019-03-13 Aakash Jain <aakash_jain@apple.com> 2 17 -
trunk/Tools/flatpak/flatpakutils.py
r242040 r242882 165 165 166 166 167 def expand_submodules_recurse(modules, manifest_path, port_name, command): 168 all_modules = [] 169 if type(modules) is str: 170 submanifest_path = os.path.join(os.path.dirname(manifest_path), modules) 171 submanifest = load_manifest(submanifest_path, port_name=port_name, command=command) 172 all_modules.extend(expand_submodules_recurse(submanifest, submanifest_path, port_name, command)) 173 return all_modules 174 175 for module in modules: 176 if type(module) is str: 177 submanifest_path = os.path.join(os.path.dirname(manifest_path), module) 178 submanifest = load_manifest(submanifest_path, port_name=port_name, command=command) 179 all_modules.extend(expand_submodules_recurse(submanifest, submanifest_path, port_name, command)) 180 else: 181 all_modules.append(module) 182 183 return all_modules 184 167 185 def expand_manifest(manifest_path, outfile, port_name, source_root, command): 168 186 """Creates the manifest file.""" … … 189 207 overriden_modules = [] 190 208 for modules in manifest["modules"]: 191 submanifest_path = None 192 if type(modules) is str: 193 submanifest_path = os.path.join(os.path.dirname(manifest_path), modules) 194 modules = load_manifest(submanifest_path, port_name=port_name, command=command) 209 modules = expand_submodules_recurse(modules, manifest_path, port_name, command) 195 210 196 211 if not isinstance(modules, list): -
trunk/Tools/flatpak/org.webkit.WPEModules.yaml
r240141 r242882 8 8 buildsystem: cmake-ninja 9 9 sources: 10 - type: archive11 url: https:// wpewebkit.org/releases/wpebackend-fdo-1.1.0.tar.xz12 sha256: f6c72130d16e50860cb83eb0f6e109c76f1826d2c6bee39025fb3651941761e710 - type: git 11 url: https://github.com/Igalia/wpebackend-fdo.git 12 commit: fa227dac7c6a133d62b35d7a6af0332582b64d4d
Note:
See TracChangeset
for help on using the changeset viewer.