| OLD | NEW |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 # The install_static_util target should only depend on functions in kernel32 | 5 # The install_static_util target should only depend on functions in kernel32 |
| 6 # and advapi32. Please don't add dependencies on other system libraries. | 6 # and advapi32. Please don't add dependencies on other system libraries. |
| 7 { | 7 { |
| 8 'target_defaults': { | 8 'target_defaults': { |
| 9 'variables': { | 9 'variables': { |
| 10 'installer_static_target': 0, | 10 'installer_static_target': 0, |
| (...skipping 28 matching lines...) Expand all Loading... |
| 39 'msvs_settings': { | 39 'msvs_settings': { |
| 40 'VCLinkerTool': { | 40 'VCLinkerTool': { |
| 41 # Please don't add dependencies on other system libraries. | 41 # Please don't add dependencies on other system libraries. |
| 42 'AdditionalDependencies': [ | 42 'AdditionalDependencies': [ |
| 43 'kernel32.lib', | 43 'kernel32.lib', |
| 44 'advapi32.lib', | 44 'advapi32.lib', |
| 45 ], | 45 ], |
| 46 }, | 46 }, |
| 47 }, | 47 }, |
| 48 }, | 48 }, |
| 49 { |
| 50 'target_name': 'install_static_unittests', |
| 51 'type': 'executable', |
| 52 'sources': [ |
| 53 'install_static/install_util_unittest.cc', |
| 54 ], |
| 55 'include_dirs': [ |
| 56 '..', |
| 57 '<(SHARED_INTERMEDIATE_DIR)', |
| 58 ], |
| 59 'dependencies': [ |
| 60 '../base/base.gyp:base', |
| 61 '../base/base.gyp:run_all_unittests', |
| 62 '../base/base.gyp:test_support_base', |
| 63 'chrome.gyp:install_static_util', |
| 64 '../testing/gmock.gyp:gmock', |
| 65 '../testing/gtest.gyp:gtest', |
| 66 ], |
| 67 }, |
| 49 ], | 68 ], |
| 50 }], | 69 }], |
| 51 ['OS=="win" and target_arch=="ia32"', { | 70 ['OS=="win" and target_arch=="ia32"', { |
| 52 'targets': [ | 71 'targets': [ |
| 53 { | 72 { |
| 54 'target_name': 'install_static_util_nacl_win64', | 73 'target_name': 'install_static_util_nacl_win64', |
| 55 'type': 'static_library', | 74 'type': 'static_library', |
| 56 'variables': { | 75 'variables': { |
| 57 'installer_static_target': 1, | 76 'installer_static_target': 1, |
| 58 }, | 77 }, |
| (...skipping 15 matching lines...) Expand all Loading... |
| 74 'kernel32.lib', | 93 'kernel32.lib', |
| 75 'advapi32.lib', | 94 'advapi32.lib', |
| 76 ], | 95 ], |
| 77 }, | 96 }, |
| 78 }, | 97 }, |
| 79 }, | 98 }, |
| 80 ], | 99 ], |
| 81 }], | 100 }], |
| 82 ], | 101 ], |
| 83 } | 102 } |
| OLD | NEW |