Commit Graph
13 Commits
Author SHA1 Message Date
Anthony Tseng fef2a76f4c Move WASM workspace to third_party/wasm/ (#34497)
Relocate the WASM workspace from ui/webui/resources/wasm/ to
third_party/wasm/, following the convention of third_party/rust/.

This is a plain move with path updates — no structural changes to
the workspace, crate locations within it, or build targets.
2026-03-09 22:50:50 +00:00
Sangwoo Ko 0892438ed7 Address follow up items for #33603 (#33694)
* Change lin ending of tab_strip.cc.toml LF

* Force line ending to LF for toml files in .gitattributes

* Fix comment
2026-02-06 08:57:09 +09:00
Brian Johnson 0e0793a462 standardize diff handling for mm files to match what is currently in … (#33246)
This fixes an issue for some people where update_patches generates conflicting diffs with what is in the repo. This standardizes the diff algorithm for mm files so it should be the same for everyone
2026-01-16 06:07:10 -07:00
Claudio DeSouza f641950048 [cr144] Fixing grit IDs overrun
Overlaying upstream's chromeos IDs range alone doesn't work any more and
pushes IDs above the 2^16-1 range.

This change adds a pre-processing step to upstream's
"default_resource_ids" action in //tools/gritsettings/BUILD.gn. The
pre-processing filters out all items in
tools/gritsettings/resource_ids.spec that have chromeos, ash, or glic in
the path. This reduces the ID range taken by the upstream down to,
currently, under 51,000. With Brave IDs moved to start at 53,000, they
now end under 59,000.
2025-12-20 23:56:17 +00:00
Aleksei Khoroshilov 5ffc733da5 Update gitattributes to enable syntax highlight in some files on GH. (#31792) 2025-10-14 17:40:45 +07:00
Szilard Szaloki 70c5352cb1 opaque-ke 2025-03-28 18:51:54 -06:00
Szilard Szaloki c2444b324c brave-core changes 2025-02-12 15:40:52 -07:00
Simon Hong 06952fd0a0 Replace MIDL files before build
Moves the IDL file into chromium_src, patches BUILD.gn to use
chromium_src override. IDL output rebuilt at `./src` directory
using `python3 ./tools/win/update_idl.py`

Using https://github.com/brave/brave-core/pull/109 as a guide

Also includes `.gitattributes` fix which prevents differences found
w/ filecmp.cmpfiles in MIDL compilation.
2024-01-16 14:58:23 -07:00
Aleksey Khoroshilov dc9eb91b35 Add gitattribute to force eol=lf in .ci_features. 2023-11-24 13:18:05 +07:00
bridiver b1c1343cd0 convert brave rust targets to upstream rust targets 2023-06-29 12:10:14 -07:00
Cepera d7daf4fd71 Added blank Wireguard service (#18189)
* Added blank wireguard service

* Update .gitattributes

* Update idl style

* Remove duplication

* Extract shared connection utils

* Remove win7 support

* Remove windows.h

* Some renamings per review requests

* Rename kBraveWireguardProcessType
2023-05-16 15:12:58 +03:00
Aleksey Khoroshilov b8e1a6833c Introduce brave/.clangd config. (#17299) 2023-02-23 00:08:41 +07:00
mkarolin f76e2e7e70 Use .gitattributes.
We should have git configured with core.autocrlf = false on Windows
which will allow .gitattributes to control how files are checked out and
added. Chromium seems to be using this approach as well.

Copied from src/.gitattributes and removed unneeded lines.

Added:

*.css
*.icon
*.patch
*.ts
*.tsx
*.xtb

Added CRLF files:
win_build_output/midl/google_update/*/*.c   text eol=crlf
win_build_output/midl/google_update/*/*.h   text eol=crlf
test/data/tor/tor_control/*_win/controlport   text eol=crlf

This is prompted by CI failing on cr93 branch while parsing an idl
file on Windows after applying our patch that is checked out with
CRLF:

C:/brave-browser/src/brave/vendor/depot_tools/bootstrap-2@3_8_10_chromium_20_bin/python3/bin/python3.exe ../../tools/json_schema_compiler/compiler.py ../../chrome/common/extensions/api/developer_private.idl --root=../../ --destdir=gen --namespace=extensions::api::%(namespace)s --generator=cpp --include-rules=extensions/common/api:extensions::api::%(namespace)s

../../chrome\common\extensions\api\developer_private.idl(235) : Unexpected EoF reached after
    boolean isSplitMode;
^
'canning error. Illegal character '
Traceback (most recent call last):
  File "../../tools/json_schema_compiler/compiler.py", line 211, in <module>
    result = GenerateSchema(opts.generator, file_paths, opts.root, opts.destdir,
  File "../../tools/json_schema_compiler/compiler.py", line 98, in GenerateSchema
    type_generator = CppTypeGenerator(api_model,
  File "C:\bb3\brave-browser\src\tools\json_schema_compiler\cpp_type_generator.py", line 35, in __init__

    self._default_namespace = list(model.namespaces.values())[0]
IndexError: list index out of range
2021-08-05 10:21:28 -04:00