Skip to content

Commit

Permalink
Merge branch 'youtube:main' into cleanup_mime
Browse files Browse the repository at this point in the history
  • Loading branch information
borongc authored Sep 8, 2023
2 parents 8a01575 + fe33a21 commit 2402d21
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ exclude: |
|
components/update_client/((?!cobalt).)*$
|
# Ignore everything under tools/metrics _except_ xml files. We need
# those validated to keep the telemetry/metrics pipeline working.
tools/metrics/(.*\.(?!xml$)[^/]*|[^/.]+)$|
# Ignore everything under tools/metrics _except_ Cobalt files. We
# need those validated to keep the telemetry/metrics pipeline working.
tools/metrics/((?!cobalt\/).)*$|
.*\.pb\.cc$ |
.*\.pb\.h$ |
.*\.patch$ |
Expand Down
16 changes: 10 additions & 6 deletions starboard/build/config/BUILDCONFIG.gn
Original file line number Diff line number Diff line change
Expand Up @@ -491,9 +491,11 @@ template("shared_library") {
forward_variables_from(invoker, [ "testonly" ])
deps = [
":${actual_target_name}_loader($starboard_toolchain)",
":${actual_target_name}_loader_copy($starboard_toolchain)",
":${actual_target_name}_loader_install($starboard_toolchain)",
]
if (!is_host_win) {
deps += [ ":${actual_target_name}_loader_copy($starboard_toolchain)" ]
}
}
if (current_toolchain == starboard_toolchain) {
executable("${actual_target_name}_loader") {
Expand Down Expand Up @@ -527,11 +529,13 @@ template("shared_library") {
deps += [ "//starboard:starboard_platform_group_install($starboard_toolchain)" ]
}
}
copy("${actual_target_name}_loader_copy") {
forward_variables_from(invoker, [ "testonly" ])
sources = [ "$root_out_dir/${actual_target_name}_loader" ]
outputs = [ "$root_build_dir/${actual_target_name}_loader" ]
deps = [ ":${actual_target_name}_loader" ]
if (!is_host_win) {
copy("${actual_target_name}_loader_copy") {
forward_variables_from(invoker, [ "testonly" ])
sources = [ "$root_out_dir/${actual_target_name}_loader" ]
outputs = [ "$root_build_dir/${actual_target_name}_loader" ]
deps = [ ":${actual_target_name}_loader" ]
}
}
}
}
Expand Down

0 comments on commit 2402d21

Please sign in to comment.