Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4222)

Unified Diff: chrome_elf/nt_registry/nt_registry.gyp

Issue 1841573002: [Chrome ELF] New NT registry API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: PRESUBMIT to allow chrome_elf directory files to use wstring. Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome_elf/nt_registry/nt_registry.cc ('k') | chrome_elf/thunk_getter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_elf/nt_registry/nt_registry.gyp
diff --git a/chrome_elf/nt_registry/nt_registry.gyp b/chrome_elf/nt_registry/nt_registry.gyp
new file mode 100644
index 0000000000000000000000000000000000000000..ad5e1edf01df205cac8b2e78c402a2b0e71003f9
--- /dev/null
+++ b/chrome_elf/nt_registry/nt_registry.gyp
@@ -0,0 +1,51 @@
+# Copyright 2016 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+# The nt_registry target should only depend on functions in kernel32.
+# Please don't add dependencies on other system libraries.
+{
+ 'target_defaults': {
+ # This part is shared between the two versions of the target.
+ 'type': 'static_library',
+ 'sources': [
+ 'nt_registry.cc',
+ 'nt_registry.h',
+ ],
+ 'include_dirs': [
+ '../..',
+ '<(SHARED_INTERMEDIATE_DIR)',
+ ],
+ 'msvs_settings': {
+ 'VCLinkerTool': {
+ # Please don't add dependencies on other system libraries.
+ 'AdditionalDependencies': [
+ 'kernel32.lib',
+ ],
+ },
+ },
+ },
+ 'conditions': [
+ ['OS=="win"', {
+ 'targets': [
+ {
+ # GN version: "//chrome_elf/nt_registry",
+ 'target_name': 'chrome_elf_nt_registry',
+ },
+ ],
+ }],
+ ['OS=="win" and target_arch=="ia32"', {
+ 'targets': [
+ {
+ # GN version: "//chrome_elf/nt_registry",
+ 'target_name': 'chrome_elf_nt_registry_nacl_win64',
+ 'configurations': {
+ 'Common_Base': {
+ 'msvs_target_platform': 'x64',
+ },
+ },
+ },
+ ],
+ }],
+ ],
+}
« no previous file with comments | « chrome_elf/nt_registry/nt_registry.cc ('k') | chrome_elf/thunk_getter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698