This PR is the run of `gn format` on all `gn` files. This is a mechanical change done with: ```sh git ls-files -- "*.gn" | xargs gn format git ls-files -- "*.gni" | xargs gn format ``` This change has been motivated primarily by an improvement to the formatters privided by `gn` correcting cases of redundant target naming, i.e cases where `//foo:foo` is used, and should just be `//foo`. For this particular `gn` change, see: https://chromium.googlesource.com/chromium/src/+/c822490a82cdb6ad479159683a92858f7c6f0a58 Resolves https://github.com/brave/brave-browser/issues/48161
22 lines
606 B
Plaintext
22 lines
606 B
Plaintext
# Copyright (c) 2025 The Brave Authors. All rights reserved.
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this file,
|
|
# You can obtain one at https://mozilla.org/MPL/2.0/.
|
|
|
|
import("//mojo/public/tools/bindings/mojom.gni")
|
|
|
|
mojom("interfaces") {
|
|
sources = [ "test_module.mojom" ]
|
|
public_deps = [ "//mojo/public/mojom/base" ]
|
|
}
|
|
|
|
source_set("unit_tests") {
|
|
testonly = true
|
|
sources = [ "brave_ast_patcher_unittest.cc" ]
|
|
deps = [
|
|
":interfaces",
|
|
"//mojo/public/cpp/bindings",
|
|
"//testing/gtest",
|
|
]
|
|
}
|