Anthony Tseng
ef6977b775
Add an enabled policy for ai chat
2024-02-07 10:35:56 -08:00
bridiver
309d463afa
check the LICENSE file so we don't get false positives with other untracked files in the directory
2024-02-07 10:37:07 -07:00
bridiver
10718ad12b
ignore untracked directories for license check
2024-02-07 10:36:56 -07:00
Aleksey Khoroshilov
9973dbac85
Refactor import_inline into brave_chromium_utils ( #21482 )
...
* Rename import_inline -> brave_chromium_utils.
* Add inline_chromium_src_override helper.
* Remove inline_file_from_src.
* Add typing info into brave_chromium_utils.
* Format and fix sys_path usage.
* Scan all overridable files in check_chromium_src.py.
* Replace another occurence of the hardcoded path in the error message.
* Move get_gn_arg to brave_chromium_utils.
* Update patches after cr121 rebase.
2024-02-06 20:40:25 +07:00
Francois Marier
51a4b79218
Update Omaha dependencies ( fixes brave/brave-browser#35743 )
2024-02-02 11:12:31 -08:00
Aleksey Khoroshilov
34ac7295c9
Fix update_release_changelog.py.
2024-01-18 18:04:24 +07:00
Aleksey Khoroshilov
7a679b1b59
Merge pull request #21539 from brave/ffmpeg-dynamic-alloc
...
Use dynamic allocation for ffmpeg fft tables on Windows.
2024-01-15 17:21:58 +07:00
Aleksey Khoroshilov
0b94c92165
Merge pull request #21565 from brave/fix-gh-uplift
...
Fix Github uplift.
2024-01-12 19:44:02 +07:00
cypt4
707009f118
Revert "Unified Addresses support" ( #21567 )
2024-01-12 12:43:55 +00:00
Aleksey Khoroshilov
17d303e4cf
Fix Github uplift.
2024-01-12 19:17:56 +07:00
bridiver
a2d89db9f6
add re back to github.py
2024-01-12 14:24:57 +07:00
bridiver
2943d698d2
add missing copyright
2024-01-12 14:24:57 +07:00
bridiver
b1140716ff
remove more usages of requests lib
2024-01-12 14:24:57 +07:00
bridiver
0b5d86a10b
cleanup
2024-01-12 14:24:56 +07:00
bridiver
c8606b55f0
re-add accidentally removed root check
2024-01-12 14:24:56 +07:00
bridiver
bad2a89ba2
use urllib instead of requests for audit_deps
2024-01-12 14:24:56 +07:00
bridiver
866449ed8d
remove unused imports
2024-01-12 14:24:56 +07:00
bridiver
ad45e40460
remove unused code
2024-01-12 14:24:56 +07:00
bridiver
4b2d88ece4
remove vendor/requests
2024-01-12 14:24:56 +07:00
bridiver
9e797188d1
remove unused method
2024-01-12 14:24:56 +07:00
bridiver
991b937c0d
remove requests
2024-01-12 14:24:56 +07:00
bridiver
d4ab4e3184
cleanup bootstrap
2024-01-12 14:24:56 +07:00
cypt4
3a58a81aa5
Unified Addresses support ( #21460 )
...
* Unified Addresses support
Resolves https://github.com/brave/brave-browser/issues/32239
2024-01-12 14:14:33 +07:00
mkarolin
883d205d95
Make chromium_rebase_l10n work via npm run.
2024-01-10 11:55:39 -05:00
Aleksey Khoroshilov
6cc4b1908a
Use dynamic allocation for ffmpeg fft tables on Windows.
2024-01-10 21:00:53 +07:00
Aleksey Khoroshilov
00f6cb99a5
Add type annotations.
2023-12-19 18:04:36 +07:00
Aleksey Khoroshilov
9d947d6f7b
Introduce wspath and fix inline_file stacktraces to show filepath.
2023-12-19 18:04:36 +07:00
Mikhail
a87567b3ae
Remove the assert for patch_ffmpeg.py ( #21184 )
2023-12-04 04:57:54 -05:00
Jay Harris and Pete Miller
7b6b475e4c
[Dependencies]: Upgrade to Webpack 5 ( #21003 )
...
Co-authored-by: Pete Miller <miller.pete@gmail.com >
2023-12-04 11:29:15 +13:00
Mikhail
024a795751
Revert ffmpeg to acb78dc0f416f6ef009192d94dc07c05effabfda ( #21160 )
...
* Revert ffmpeg to acb78dc0f416f6ef009192d94dc07c05effabfda
* Remove print
2023-11-30 11:59:58 -05:00
Aleksey Khoroshilov
05ac071ab5
Replace reclient configurator with EngFlow-supported one.
2023-11-24 13:30:41 +07:00
Max Karolinskiy
e1fcede0ec
[check_chromium_src] Reorganize code for hooking into presubmit.
...
-Added symbol exclusions.
-Load exclusions from a json5 file.
-Moved check_chromium_src script to //brave/tools.
-Various error messaging fixes.
-Additional chromium_src exclusions.
2023-10-12 11:37:21 -04:00
mkarolin
ceb4687c1a
Removed outdated CC bubble promo browser test.
...
The test was removed in https://github.com/brave/brave-core/pull/3257 ,
then re-added in https://github.com/brave/brave-core/pull/4151 , but
without adding it to test/BUILD.gn. But then upstream removed the
relevant code and we removed our patch/override in
https://github.com/brave/brave-core/commit/5b225e01faa7d1f62e6e8cab16084d426914afdf ,
so the test is no longer needed.
2023-10-12 11:26:31 -04:00
mkarolin
a6da4c56e7
Removed outdated https only mode browser test override.
...
The upstream browser test was removed in Cr117.
Chromium change:
https://chromium.googlesource.com/chromium/src/+/7a092ab29461a
commit 7a092ab29461a6864bf919ada619414b01d9f98d
Author: Chris Thompson <cthomp@chromium.org >
Date: Tue Aug 1 16:36:40 2023 +0000
Cleanup HFMv1 code and remove HFMv2 feature flag
Bug: 1468577
2023-10-12 11:26:30 -04:00
mkarolin
0815e94354
[check_chromium_src] Updated how #defines and #includes are checked.
...
-Validate exclusions.
-Do not skip #defines that have no replacement values.
-Expect #define to be at the beginning of the line.
-Check for corresponding #undef.
-Check for #defines that are used internally in the override and ignore
those.
-Always check #includes.
-v8/src #includes can start wit src.
-Return success/error code.
-Strip comments from sources and overrides to avoid finding symbols in comments.
2023-10-12 11:25:48 -04:00
Aleksey Khoroshilov
97a5f35253
Always use "brave" as branding_path_product, fix strings generation.
...
Chromium change:
https://chromium.googlesource.com/chromium/src/+/79ca9265d25f26dd9dc3c8fad2a72241054e14ae
commit 79ca9265d25f26dd9dc3c8fad2a72241054e14ae
Author: Henrique Ferreiro <hferreiro@igalia.com >
Date: Wed Aug 23 10:17:33 2023 +0000
Simplify the build for branded strings
Branded strings are defined in *chromium_strings.grd and
*google_chrome_strings.grd files. Both kind of files contain different
messages for the same ids. Those ids are compiled into generated header
files by their corresponding targets. Both the targets and the header
files are named differently, similarly to the grd files. This requires
that the correct target and header file is used depending on the build
but, in practice, most code sites just depend on both targets and
include both header files.
This CL merges those targets so that from now on only the chromium
version is used (e.g.
//chrome/app:chromium_strings and chrome/grit/chromium_strings.h,
//components/strings/component_chromium_strings and
components/strings/grit/components_chromium_strings.h, etc.). The
targets are parameterized by `branding_path_product` so that the correct
grd and pak filenames are used.
Future CLs will change the targets and generated files to be named
*branded_strings.
Bug: 1470725
2023-09-27 13:08:20 +03:00
wchen342
d8d4eb036c
[Android] Add method to extend touch area without changing View appearances
2023-09-22 21:12:06 +03:00
Claudio DeSouza
2e0aaf4af0
license.py expects list of license paths
...
Upstream has added support to multiple license files per library, which
requires we change our own list of license paths to be a list.
Chromium change:
https://chromium.googlesource.com/chromium/src/+/96c24160096388835ce0e46deb1beff3c9ce1b5e
commit 96c24160096388835ce0e46deb1beff3c9ce1b5e
Author: Anne Redulla <aredulla@google.com >
Date: Mon Jun 26 01:13:43 2023 +0000
[ssci] licenses.py to handle multiple license files
Bug: b:288202522
2023-09-06 12:38:43 +01:00
Oscar A. Jara
c77406aea2
delete scripts not needed anymore
2023-08-14 17:51:35 +02:00
Ahmed Kamal
be50933b3e
Fix formatting of python scripts ( #19623 )
...
* temp
Signed-off-by: Ahmed Kamal <email.ahmedkamal@googlemail.com >
* trivial change to trigger lint
Signed-off-by: Ahmed Kamal <email.ahmedkamal@googlemail.com >
* Apply fixes
Signed-off-by: Ahmed Kamal <email.ahmedkamal@googlemail.com >
* Revert "temp"
This reverts commit 9724d3bc66cdf8082cb62f7ee79923507fdbba47.
* Revert "trivial change to trigger lint"
This reverts commit 5417ce862b7a0f381b9dd3ed81c8a44b06f36b54.
* The big fmt
Signed-off-by: Ahmed Kamal <email.ahmedkamal@googlemail.com >
* Improve regex, please sonarcloud
Group parts of the regex together to make
the operator precedence explicit
Signed-off-by: Ahmed Kamal <email.ahmedkamal@googlemail.com >
---------
Signed-off-by: Ahmed Kamal <email.ahmedkamal@googlemail.com >
2023-08-09 12:40:12 +01:00
Mihai PLESA
fe59801751
comment fix
2023-08-07 13:48:19 +01:00
Mihai PLESA
1ccc9522a6
remove brave github token ( #19536 )
2023-08-07 08:36:41 -04:00
Ahmed Kamal
675dae8450
uplift.py: uplift-to is now a csv list of channels to uplift-to ( #19557 )
...
* uplift-to is now a csv list of ch to uplift-to
* fmt shorter help msg
Signed-off-by: Ahmed Kamal <email.ahmedkamal@googlemail.com >
* yapf fmt
Signed-off-by: Ahmed Kamal <email.ahmedkamal@googlemail.com >
---------
Signed-off-by: Ahmed Kamal <email.ahmedkamal@googlemail.com >
2023-08-07 05:26:56 -04:00
Michael Herrmann
5dc3dcc00b
Update Widevine signature_generator to Python 3 ( #19437 )
2023-07-27 23:55:10 +09:00
Mihai PLESA
66c4fac1d6
Revert "Update Widevine signature_generator to Python 3" ( #19419 )
...
Revert "Update Widevine signature_generator to Python 3 (#18636 )"
This reverts commit 2e124e822f .
2023-07-25 13:00:33 -04:00
Michael Herrmann
2e124e822f
Update Widevine signature_generator to Python 3 ( #18636 )
...
* Update Widevine signature_generator to Python 3
* Fix missing dependency 'macholib' on macOS
* Add missing license for macholib
* Fix Widevine signature generation on macOS
* Add third_party/macholib/ to .gitignore
* Fix lint errors
* Simplify code
* Add comment
* Lint
* Simplify code
* Only include DEP macholib on macOS
* Fix build error
* Remove obsolete import
* Reference more stable dep license file
* Remove wrong line of code
* Remove unnecessary comment
* Remove obsolete workaround
* Revert "Remove obsolete workaround"
This reverts commit 0c1b736ed7bc02449e6dd2d49b5985c829df85b6.
* Update comment
* Fix Android build
* Fix Android build
* Fix broken init on Windows
* Remove obsolete workaround
2023-07-25 11:56:06 -04:00
Jay Harris
0f73ab4331
[Leo] Version Bump & Integrate Presubmit ( #19187 )
2023-07-25 13:01:18 +02:00
Aleksey Khoroshilov
79ba272bbb
Don't fail license check if a dir doesn't contain any files.
2023-07-21 13:11:15 +07:00
bridiver
f0f3ae9b7f
build audit_deps with upstream toolchain
2023-07-16 14:34:20 -07:00
Cepera
4e6880798e
Move brave_vpn_wireguard_servce -> brave/browser/brave_vpn/win ( #19204 )
2023-07-12 05:10:43 +03:00