Generate rpm dependencies (#143415)

* Commit non-py files

* Finish porting calculate and merge scripts for rpm

* Switch back to ts, add binaryDir

* Pass in app path

* Trim string before splitting

* Move files, apply PR feedback

* Add deps to exclude and crashpad handler dep

* polish
This commit is contained in:
Raymond Zhao
2022-03-17 21:57:25 -07:00
committed by GitHub
parent 3ffbbe7413
commit d572d6e9d1
6 changed files with 233 additions and 187 deletions

View File

@@ -0,0 +1,31 @@
"use strict";
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.bundledDeps = exports.additionalDeps = void 0;
// Based on https://source.chromium.org/chromium/chromium/src/+/main:chrome/installer/linux/rpm/additional_deps
// Additional dependencies not in the rpm find-requires output.
exports.additionalDeps = [
'ca-certificates',
'libgtk-3.so.0()(64bit)',
'libnss3.so(NSS_3.22)(64bit)',
'libssl3.so(NSS_3.28)(64bit)',
'rpmlib(FileDigests) <= 4.6.0-1',
'libvulkan.so.1()(64bit)',
'libcurl.so.4()(64bit)',
'xdg-utils' // OS integration
];
// Based on https://source.chromium.org/chromium/chromium/src/+/refs/tags/98.0.4758.109:chrome/installer/linux/BUILD.gn;l=64-80
// and the Linux Archive build
// Shared library dependencies that we already bundle.
exports.bundledDeps = [
'libEGL.so',
'libGLESv2.so',
'libvulkan.so.1',
'swiftshader_libEGL.so',
'swiftshader_libGLESv2.so',
'libvk_swiftshader.so',
'libffmpeg.so'
];