Before this commit, there were two silent installers: a 1 MB online "stub" installer and a standalone installer. Both opened a Brave window, so were not truly silent. To fix this, the online installer was removed entirely. And the standalone installer was updated to be built from a new version of the Omaha update framework, which passes the flag `--do-not-launch-chrome` to Brave's installer.
94 lines
3.4 KiB
Python
94 lines
3.4 KiB
Python
use_relative_paths = True
|
|
|
|
deps = {
|
|
"vendor/extension-whitelist": "https://github.com/brave/extension-whitelist.git@b4d059c73042cacf3a5e9156d4b1698e7bc18678",
|
|
"vendor/hashset-cpp": "https://github.com/brave/hashset-cpp.git@6eab0271d014ff09bd9f38abe1e0c117e13e9aa9",
|
|
"vendor/requests": "https://github.com/kennethreitz/requests@e4d59bedfd3c7f4f254f4f5d036587bcd8152458",
|
|
"vendor/boto": "https://github.com/boto/boto@f7574aa6cc2c819430c1f05e9a1a1a666ef8169b",
|
|
"vendor/python-patch": "https://github.com/brave/python-patch@d8880110be6554686bc08261766538c2926d4e82",
|
|
"vendor/omaha": "https://github.com/brave/omaha.git@f1407b11524f110d87fdb7496e153724a9f8d9e4",
|
|
"vendor/sparkle": "https://github.com/brave/Sparkle.git@07933da3e178265d0f0ba86e02bbde38e701a04d",
|
|
"vendor/bat-native-rapidjson": "https://github.com/brave-intl/bat-native-rapidjson.git@86aafe2ef89835ae71c9ed7c2527e3bb3000930e",
|
|
"vendor/bip39wally-core-native": "https://github.com/brave-intl/bip39wally-core-native.git@f5676241d4fdb01807708f0ac67b809d739905bd",
|
|
"vendor/bat-native-anonize": "https://github.com/brave-intl/bat-native-anonize.git@e3742ba3e8942eea9e4755d91532491871bd3116",
|
|
"vendor/bat-native-tweetnacl": "https://github.com/brave-intl/bat-native-tweetnacl.git@800f9d40b7409239ff192e0be634764e747c7a75",
|
|
"vendor/challenge_bypass_ristretto_ffi": "https://github.com/brave-intl/challenge-bypass-ristretto-ffi.git@f2eff7aca4ea04564e3647b93eb72f33ebdbf683",
|
|
"vendor/gn-project-generators": "https://github.com/brave/gn-project-generators.git@b76e14b162aa0ce40f11920ec94bfc12da29e5d0",
|
|
"third_party/ethash/src": "https://github.com/chfast/ethash.git@e4a15c3d76dc09392c7efd3e30d84ee3b871e9ce",
|
|
"third_party/bitcoin-core/src": "https://github.com/bitcoin/bitcoin.git@95ea54ba089610019a74c1176a2c7c0dba144b1c",
|
|
}
|
|
|
|
hooks = [
|
|
{
|
|
'name': 'bootstrap',
|
|
'pattern': '.',
|
|
'action': ['python', 'script/bootstrap.py'],
|
|
},
|
|
{
|
|
# Download rust deps if necessary for Android
|
|
'name': 'download_rust_deps',
|
|
'pattern': '.',
|
|
'condition': 'checkout_android',
|
|
'action': ['vpython3', 'script/download_rust_deps.py', '--platform', 'android'],
|
|
},
|
|
{
|
|
# Download rust deps if necessary for iOS
|
|
'name': 'download_rust_deps',
|
|
'pattern': '.',
|
|
'condition': 'checkout_ios',
|
|
'action': ['vpython3', 'script/download_rust_deps.py', '--platform', 'ios'],
|
|
},
|
|
{
|
|
# Download rust deps if necessary for Windows
|
|
'name': 'download_rust_deps',
|
|
'pattern': '.',
|
|
'condition': 'checkout_win',
|
|
'action': ['vpython', 'script/download_rust_deps.py'],
|
|
},
|
|
{
|
|
# Download rust deps if necessary for Linux and macOS
|
|
'name': 'download_rust_deps',
|
|
'pattern': '.',
|
|
'condition': 'not checkout_android and not checkout_ios and not checkout_win',
|
|
'action': ['vpython3', 'script/download_rust_deps.py'],
|
|
},
|
|
{
|
|
'name': 'generate_licenses',
|
|
'pattern': '.',
|
|
'action': ['python', 'script/generate_licenses.py'],
|
|
},
|
|
]
|
|
|
|
include_rules = [
|
|
# Everybody can use some things.
|
|
"+brave_base",
|
|
"+crypto",
|
|
"+net",
|
|
"+sql",
|
|
"+ui/base",
|
|
|
|
"-chrome",
|
|
"-brave/app",
|
|
"-brave/browser",
|
|
"-brave/common",
|
|
"-brave/renderer",
|
|
"-brave/services",
|
|
"-ios",
|
|
"-brave/third_party/bitcoin-core",
|
|
]
|
|
|
|
# Temporary workaround for massive nummber of incorrect test includes
|
|
specific_include_rules = {
|
|
".*test.*(\.cc|\.mm|\.h)": [
|
|
"+bat",
|
|
"+brave",
|
|
"+chrome",
|
|
"+components",
|
|
"+content",
|
|
"+extensions",
|
|
"+mojo",
|
|
"+services",
|
|
"+third_party",
|
|
],
|
|
}
|