mirror of
https://github.com/electron/electron.git
synced 2026-10-28 11:44:46 +08:00
* chore: bump chromium in DEPS to 150.0.7833.2
* chore: bump chromium in DEPS to 150.0.7834.0
* chore: remove upstreamed patch
The packed_resources_integrity_header target this patch worked around
no longer exists in Chromium, so the patch is obsolete. The chrome
BUILD.gn cleanup in 7819094 removed the context anchors the patch was
relying on, surfacing this. The packed_resources redirect for
is_electron_build remains via resource_file_conflict.patch.
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/7819094
Originally target got moved to test only data deps back in
https://chromium-review.googlesource.com/c/chromium/src/+/7714543
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Skip-Lint: CL 7714543 is outside the range on purpose to add context on
why the change is reasonable.
* chore: update patches (trivial only)
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
* 7532167: Setup experiment flags to use TaskType::DNS_PLATFORM
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/7532167
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
* 7614138: Move GetSiteURL to SecurityPrincipal interface
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/7614138
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
* chore: lint fix
* chore: bump chromium in DEPS to 150.0.7838.0
* Revert "chore: bump chromium in DEPS to 150.0.7838.0"
This reverts commit 681fa4ee40.
Skip-Lint: revert roller bump because PR is ready to be merged without it.
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: chromium-roller[bot] <chromium-roller[bot]@users.noreply.github.com>
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
Co-authored-by: Keeley Hammond <khammond@slack-corp.com>
Co-authored-by: John Kleinschmidt <kleinschmidtorama@gmail.com>
47 lines
1.4 KiB
Plaintext
47 lines
1.4 KiB
Plaintext
import("npm.gni")
|
|
|
|
template("typescript_build") {
|
|
assert(defined(invoker.tsconfig), "Need tsconfig name to run")
|
|
assert(defined(invoker.sources), "Need tsc sources to run")
|
|
assert(defined(invoker.output_dir_name),
|
|
"Need output_dir_name to run, should be 'lib' or other top level dir")
|
|
assert(defined(invoker.output_gen_dir),
|
|
"Need output_gen_dir to run, should be relative to the root gen dir")
|
|
|
|
npm_action(target_name) {
|
|
forward_variables_from(invoker,
|
|
[
|
|
"deps",
|
|
"public_deps",
|
|
"outputs",
|
|
])
|
|
script = "tsc"
|
|
|
|
sources = invoker.sources
|
|
inputs = [
|
|
invoker.tsconfig,
|
|
"//electron/tsconfig.json",
|
|
"//electron/yarn.lock",
|
|
"//electron/typings/internal-ambient.d.ts",
|
|
"//electron/typings/internal-electron.d.ts",
|
|
]
|
|
|
|
base_out_path = invoker.output_gen_dir + "/electron/"
|
|
args = [
|
|
"-p",
|
|
rebase_path(invoker.tsconfig),
|
|
"--outDir",
|
|
rebase_path("$base_out_path" + invoker.output_dir_name),
|
|
]
|
|
|
|
outputs = []
|
|
|
|
foreach(invoker_source, invoker.sources) {
|
|
# The output of TSC is all inputs but with JS instead of TS as the
|
|
# extension
|
|
outputs += [ "$base_out_path" + get_path_info(invoker_source, "dir") +
|
|
"/" + get_path_info(invoker_source, "name") + ".js" ]
|
|
}
|
|
}
|
|
}
|