Merge pull request #13688 from electron/gn-custom-sysroot
build: [gn] use libnotify from custom sysroot
This commit is contained in:
commit
3581bf0cfc
1 changed files with 0 additions and 23 deletions
|
@ -7,28 +7,6 @@ filenames_gypi = exec_script(
|
|||
[ "filenames.gypi" ]
|
||||
)
|
||||
|
||||
|
||||
if (is_linux) {
|
||||
# TODO: Experiment with using //tools/generate_library_loader for generating
|
||||
# the libnotify loader.
|
||||
copy("libnotify_headers") {
|
||||
sources = [
|
||||
"/usr/include/libnotify/notify.h",
|
||||
"/usr/include/libnotify/notification.h",
|
||||
"/usr/include/libnotify/notify-enum-types.h",
|
||||
"/usr/include/libnotify/notify-features.h",
|
||||
]
|
||||
outputs = [ "$target_gen_dir/libnotify-copy/libnotify/{{source_file_part}}" ]
|
||||
}
|
||||
config("libnotify_config") {
|
||||
include_dirs = [ "$target_gen_dir/libnotify-copy" ]
|
||||
}
|
||||
group("libnotify") {
|
||||
deps = [ ":libnotify_headers" ]
|
||||
public_configs = [ ":libnotify_config" ]
|
||||
}
|
||||
}
|
||||
|
||||
static_library("brightray") {
|
||||
deps = [
|
||||
"//base",
|
||||
|
@ -52,7 +30,6 @@ static_library("brightray") {
|
|||
if (is_linux) {
|
||||
deps += [
|
||||
"//build/config/linux/gtk",
|
||||
":libnotify",
|
||||
]
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue