| OLD | NEW |
| (Empty) |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | |
| 2 # Use of this source code is governed by a BSD-style license that can be | |
| 3 # found in the LICENSE file. | |
| 4 | |
| 5 # The nt_registry target should only depend on functions in kernel32. | |
| 6 # Please don't add dependencies on other system libraries. | |
| 7 { | |
| 8 'target_defaults': { | |
| 9 # This part is shared between the two versions of the target. | |
| 10 'type': 'static_library', | |
| 11 'sources': [ | |
| 12 'nt_registry.cc', | |
| 13 'nt_registry.h', | |
| 14 ], | |
| 15 'include_dirs': [ | |
| 16 '../..', | |
| 17 '<(SHARED_INTERMEDIATE_DIR)', | |
| 18 ], | |
| 19 'msvs_settings': { | |
| 20 'VCLinkerTool': { | |
| 21 # Please don't add dependencies on other system libraries. | |
| 22 'AdditionalDependencies': [ | |
| 23 'kernel32.lib', | |
| 24 ], | |
| 25 }, | |
| 26 }, | |
| 27 }, | |
| 28 'conditions': [ | |
| 29 ['OS=="win"', { | |
| 30 'targets': [ | |
| 31 { | |
| 32 # GN version: "//chrome_elf/nt_registry", | |
| 33 'target_name': 'chrome_elf_nt_registry', | |
| 34 }, | |
| 35 ], | |
| 36 }], | |
| 37 ['OS=="win" and target_arch=="ia32"', { | |
| 38 'targets': [ | |
| 39 { | |
| 40 # GN version: "//chrome_elf/nt_registry", | |
| 41 'target_name': 'chrome_elf_nt_registry_nacl_win64', | |
| 42 'configurations': { | |
| 43 'Common_Base': { | |
| 44 'msvs_target_platform': 'x64', | |
| 45 }, | |
| 46 }, | |
| 47 }, | |
| 48 ], | |
| 49 }], | |
| 50 ], | |
| 51 } | |
| OLD | NEW |