1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 02:07:36 +00:00

Meta/gn: Don't use "abspath" for IDL inputs

The idl file lists are used for two things:

1. As inputs for `generate_window_or_worker_interfaces`
2. In a loop in `generate_idl_bindings` and the loop variable
   is passed to `rebase_path`

Both these cases can handle a normal fully-qualified GN path,
so there's no need for the "abspath".

No behavior change.
This commit is contained in:
Nico Weber 2023-07-27 10:16:39 -04:00 committed by Andrew Kaster
parent 406b68a612
commit dcb2f3aa89
2 changed files with 260 additions and 270 deletions

View file

@ -12,19 +12,16 @@
# Parameters:
# idl_list (required) [string]
# List of IDL files that are all the same type.
# Expected to be an absolute path.
#
# type (required) string
# "global", "iterable", "namespace", or "standard"
#
# Example use:
#
# standard_idl_files = get_path_info(
# [
# "//Library/Foo.idl",
# "//Bar.idl"
# ],
# "abspath")
# standard_idl_files = [
# "//Library/Foo.idl",
# "//Bar.idl"
# ]
#
# generate_idl_bindings("standard_idl_bindings") {
# idl_list = standard_idl_files