From 5864fa321c886e516fdef5e93e7035711e17913d Mon Sep 17 00:00:00 2001 From: Jeremy Apthorp Date: Mon, 16 Jul 2018 17:02:45 -0700 Subject: [PATCH] build: [gn] use libnotify from custom sysroot Instead of hackily copying from the local machine. Depends on electron/libchromiumcontent#601 --- brightray/BUILD.gn | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/brightray/BUILD.gn b/brightray/BUILD.gn index 088aba9fa1eb..0eb51ed7d106 100644 --- a/brightray/BUILD.gn +++ b/brightray/BUILD.gn @@ -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", ] }