From 624c82d59d776daf8869decd547f321d8b03976d Mon Sep 17 00:00:00 2001 From: brettw Date: Wed, 22 Jul 2015 17:31:50 -0700 Subject: Misc GN build improvements, mostly Windows. Added lots of bug references to TODOs. Added rules for some remoting test files. Added manifests for chrome.dll, chrome_child.dll, and chrome_elf.dll TBR=bradnelson for chrome/test/data/nacl Review URL: https://codereview.chromium.org/1250103002 Cr-Commit-Position: refs/heads/master@{#340009} --- chrome_elf/BUILD.gn | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'chrome_elf') diff --git a/chrome_elf/BUILD.gn b/chrome_elf/BUILD.gn index ee00fa8..c97a411 100644 --- a/chrome_elf/BUILD.gn +++ b/chrome_elf/BUILD.gn @@ -2,6 +2,7 @@ # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. +import("//build/config/win/manifest.gni") import("//chrome/version.gni") import("//testing/test.gni") @@ -12,6 +13,14 @@ process_version("chrome_elf_resources") { output = "$target_gen_dir/chrome_elf_version.rc" } +# This manifest matches what GYP produces. It may not even be necessary. +windows_manifest("chrome_elf_manifest") { + sources = [ + as_invoker_manifest, + ] + type = "dll" +} + shared_library("chrome_elf") { sources = [ "chrome_elf_main.cc", @@ -20,6 +29,7 @@ shared_library("chrome_elf") { deps = [ ":blacklist", ":breakpad", + ":chrome_elf_manifest", ":lib", ":chrome_elf_resources", ] -- cgit v1.1