Skip to content

Commit

Permalink
build: also copy the icon
Browse files Browse the repository at this point in the history
  • Loading branch information
MarshallOfSound committed Oct 24, 2022
1 parent 200e51a commit 16b8516
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -343,8 +343,11 @@ templated_file("electron_win_rc") {
args_files = get_target_outputs(":electron_version_args")
}

copy("electron_win_rc_header") {
sources = [ "shell/browser/resources/win/resource.h" ]
copy("electron_win_resource_files") {
sources = [
"shell/browser/resources/win/electron.ico",
"shell/browser/resources/win/resource.h",
]
outputs = [ "$target_gen_dir/win-resources/{{source_file_part}}" ]
}

Expand All @@ -360,7 +363,7 @@ templated_file("electron_version_file") {
group("electron_win32_resources") {
public_deps = [
":electron_win_rc",
":electron_win_rc_header",
":electron_win_resource_files",
]
}

Expand Down

0 comments on commit 16b8516

Please sign in to comment.