Commit Graph
627 Commits
Author SHA1 Message Date
Emerick Rogul 4ebf607193 Fix overly-aggressive string replacements and update scripts 2022-03-18 20:04:16 -04:00
samartnik 01be5f9b2e Explicitly specified path for llvm_ar in cargo
Otherwise there is build issue on Android with missing
i686-linux-android-ar.
2022-03-18 20:03:51 -04:00
Mihai PLESA a9eb3a5318 moved to a generic deps cdn (#12642) 2022-03-17 17:57:03 -05:00
Michael Herrmann dd118e8db2 Improve error when Win. delta update build fails
Previously, trying to generate a delta update with
--last_chrome_installer from the same source and target versions gave:

    ...
    Did not find an archive input file for ".../chrome.dll"

Now we get:

    Cannot create delta update files between the same source and target
    version 99.1.38.5. Please increment the Chrome version (for
    instance by rebasing your changes against a later upstream
    version). Or pass files representing a lower version to
    --last_chrome_installer.

This commit also fixes some pylint errors in the affected code.
2022-03-14 12:31:40 +01:00
Emerick Rogul d35abb8427 Fix Google Lens branding 2022-03-07 23:13:23 -07:00
Max 4b3e33287f Merge pull request #12158 from brave/maxk-transifex-api-v3
Transition l10n scripts to Transifex API v3
2022-03-02 18:11:23 -05:00
Brian Clifton 250bbc3f96 Fix pylint warnings in signing_helper.py
Fixes https://github.com/brave/brave-browser/issues/21376
2022-02-28 23:55:01 -07:00
bridiver 63cd41ca5b add missing trailing quote 2022-02-28 14:13:12 -07:00
bridiver f2d56e8ff9 add missing property tag 2022-02-28 13:24:03 -07:00
bridiver e8ca04dbff add back outer app requirements because the identifier is missing in release signed builds for some reason 2022-02-28 08:22:08 -07:00
bridiver a4f73e3893 add basic requirements 2022-02-26 18:50:20 -07:00
bridiver 43f3d1b95b add signing requirements to framework 2022-02-26 11:37:25 -07:00
bridiver bc28cb1d2f include identifier and don't exclude leaf node 2022-02-26 09:51:01 -07:00
bridiver 8698110062 add designated => 2022-02-25 18:50:38 -07:00
bridiver c3a4a03666 removing leading and 2022-02-25 17:13:09 -07:00
bridiver d696f45444 add codesign requirements to match upstream 2022-02-25 15:31:06 -07:00
Mario Sanchez Prada 9088553140 Cleanup list of exclusions for the check_chromium_src.py script
These files were moved out of chromium_src/ 2 months ago, as
part of https://github.com/brave/brave-core/commit/54b76b20f0.
2022-02-17 14:03:34 -05:00
Mario Sanchez Prada d5e0accea2 Add exception for brave_behaviors.cc to check_chromium_src.py
This file is being copied over to Chromium's src/ directory as part
of the build process (i.e. the updateBranding step), and so checking
it is not needed.
2022-02-17 14:03:20 -05:00
Mario Sanchez Prada ee9ec018d8 Add check_chromium_src.py coverage for v8_navigator.cc
The third_party/blink/renderer/bindings/modules/v8/v8_navigator.cc
chromium_src override modifies a file in the gen/ directory.
2022-02-17 14:03:18 -05:00
Mario Sanchez Prada e9449eeb5d Adapt to relocation of blink/renderer/core/origin_trials/origin_trials.*
Adapt the chromium_src overrides to the new locations under the common/
and public/common/ directories in Blink, add BLINK_COMMON_EXPORT to the
Brave-specific functions added to blink::origin_trials:: and fix the
paths in the script/check_chromium_src.py script.

Chromium change:

https://source.chromium.org/chromium/chromium/src/+/e4b14e32105c5a6912f5b1ff736ecbb796e2741b

commit e4b14e32105c5a6912f5b1ff736ecbb796e2741b
Author: Jason Chase <chasej@chromium.org>
Date:   Mon Jan 17 16:00:25 2022 +0000

    Move static origin_trials functions to blink/common

    As in crbug.com/1227440, correctly checking if an origin trial is
    enabled needs logic only available in the renderer. This CL is a first
    step to make the logic available in the browser.

    This CL moves the static functions in origin_trials.h|cc, including:
    - Move origin_trials.h into blink/public/common
      (and changes to Chromium types from WTF)
    - Move generated origin_trials.cc file into blink/common
    - Move navigation_origin_trials_features.cc into blink/common, keeping
      the unique security owners
    - Extract the generated OriginTrialFeature enum into its own header file
    - Update all references to the moved files, removing any includes that
      are no longer needed

    Bug: 1227440
2022-02-17 14:02:54 -05:00
mkarolin 6a92c95c66 Transifex: implement an option for Transifex API V3. 2022-02-08 22:00:16 -05:00
mkarolin f2be80fc91 Transifex: Add an option to dump downloaded content into a file. 2022-02-08 22:00:15 -05:00
mkarolin 9811e58f1f Transifex: Pull json files in alphabetical order of the languages. 2022-02-08 22:00:15 -05:00
mkarolin 06612d35ee Transifex: Delete override XTBs after they are used. 2022-02-08 22:00:14 -05:00
mkarolin b21293f55e Transifex: modularize and migrate to python3 2022-02-08 22:00:13 -05:00
Aleksey Khoroshilov a11be3bc90 Always use forward-slashed paths in redirect-cc (fix goma on Windows). 2022-02-07 21:13:48 +07:00
Francois Marier 2d2dbfef58 Fix Pylint warnings.
No changes to the generated LICENSE files before & after.
2022-02-02 10:33:52 -08:00
Francois Marier e92e7dd23e Avoid overwriting LICENSE files needlessly (fixes brave/brave-browser#20783) 2022-02-01 20:04:39 -08:00
mkarolin 4f09c03d5c Use python3 to invoke l10n scripts. 2022-02-01 21:13:43 -05:00
Brian Johnson ed2685eb4f Merge pull request #11954 from brave/rust-incremental-build-2
Rust build profiles
2022-01-25 16:03:45 -07:00
Brian Johnson 4621847ac1 Merge pull request #11977 from brave/wdp-gn
Web Discovery Project build output is generated by GN to the gen directory
2022-01-25 12:02:01 -07:00
Pete Miller cf8810ab00 Merge pull request #11975 from brave/revert-11973-revert-11391-news-rss 2022-01-25 09:19:01 -08:00
Pete Miller 8e2a17248c Web Discovery Project build output is generated by GN to the gen directory 2022-01-25 00:22:38 -08:00
Pete Miller daacefb8d1 Revert "Revert "Brave News user-provided feed support (rss, atom, etc)"" 2022-01-25 00:00:05 -07:00
Aleksey Khoroshilov 5a63505dd3 Move some bits of brave/chromium_src overrides to gn. 2022-01-25 12:14:05 +07:00
bridiver 0d2b311f88 lint 2022-01-24 18:01:58 -07:00
bridiver 2714a7ebc9 fix pylintrc 2022-01-24 18:01:58 -07:00
bridiver 72e9458fdb lint is wrong 2022-01-24 18:01:58 -07:00
bridiver 31777ae495 lint 2022-01-24 18:01:57 -07:00
bridiver 5b9565c4d9 make sure we have the absolute path 2022-01-24 18:01:57 -07:00
bridiver 5263b3655e only use release profile for official build 2022-01-24 18:01:57 -07:00
mkarolin 51a511c324 Disables a pylint warning. 2022-01-24 15:39:26 -05:00
mkarolin 0fa97b6c33 Updated check_chromium_src.py to check src/-prefixed overrides. 2022-01-24 15:38:43 -05:00
Pete Miller 4b12f083ef Revert "Brave News user-provided feed support (rss, atom, etc)" 2022-01-24 12:05:46 -08:00
Mihai PLESA dfd0f7e3f0 bumped rust deps to 0.1.8 and rust 1.58.1 (#11955) 2022-01-21 21:09:59 -05:00
Pete Miller 491cdaece4 Introduce RSS / Atom feed support for Brave News
This first version provides the user a feature to add custom feed urls
to their preferences via the NTP "customize" button. Once added, feed
content will be downloaded on the same schedule as the current "combined
sources" single remote feed. The "direct feed" items will be scored using
approximately the same algorithm as the existing items, and displayed
using the existing Brave News feed view.

This PR does not introduce the relevant UI for Android, only Desktop.
2022-01-21 10:09:58 -08:00
Brian Johnson 31dbee6c98 Merge pull request #11892 from brave/rust-incremental-build
selectively delete the cargo build path only when args change
2022-01-20 12:08:53 -07:00
Aleksey Khoroshilov 14ee2bab1c Fix python2 empty stdout.encoding case in util.py. 2022-01-20 18:42:00 +07:00
Pete Miller 9758a3f3c9 do not save any potential changes to package-lock.json during sync 2022-01-19 17:56:49 -08:00
bridiver 691016ee44 lint 2022-01-19 16:28:27 -07:00