| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 'variables': { | 5 'variables': { |
| 6 'chromium_code': 1, | 6 'chromium_code': 1, |
| 7 }, | 7 }, |
| 8 'includes': [ | 8 'includes': [ |
| 9 '../build/win_precompile.gypi', | 9 '../build/win_precompile.gypi', |
| 10 ], | 10 ], |
| 11 'targets': [ | 11 'targets': [ |
| 12 { | 12 { |
| 13 'target_name': 'check_sdk_patch', | |
| 14 'type': 'none', | |
| 15 'variables': { | |
| 16 'check_sdk_script': 'util/check_sdk_patch.py', | |
| 17 'output_path': '<(INTERMEDIATE_DIR)/check_sdk_patch', | |
| 18 }, | |
| 19 'conditions': [ | |
| 20 ['MSVS_VERSION=="2010" or MSVS_VERSION=="2010e"', { | |
| 21 'actions': [ | |
| 22 { | |
| 23 'action_name': 'check_sdk_patch_action', | |
| 24 'inputs': [ | |
| 25 '<(check_sdk_script)', | |
| 26 ], | |
| 27 'outputs': [ | |
| 28 # This keeps the ninja build happy and provides a slightly | |
| 29 # helpful error message if the sdk is missing. | |
| 30 '<(output_path)' | |
| 31 ], | |
| 32 'action': ['python', | |
| 33 '<(check_sdk_script)', | |
| 34 '<(windows_sdk_path)', | |
| 35 '<(output_path)', | |
| 36 ], | |
| 37 }, | |
| 38 ], | |
| 39 }], | |
| 40 ], | |
| 41 }, | |
| 42 { | |
| 43 'target_name': 'win8_util', | 13 'target_name': 'win8_util', |
| 44 'type': 'static_library', | 14 'type': 'static_library', |
| 45 'dependencies': [ | 15 'dependencies': [ |
| 46 '../base/base.gyp:base', | 16 '../base/base.gyp:base', |
| 47 ], | 17 ], |
| 48 'sources': [ | 18 'sources': [ |
| 49 'util/win8_util.cc', | 19 'util/win8_util.cc', |
| 50 'util/win8_util.h', | 20 'util/win8_util.h', |
| 51 ], | 21 ], |
| 52 }, | 22 }, |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 'include_dirs': [ | 72 'include_dirs': [ |
| 103 '..', | 73 '..', |
| 104 ], | 74 ], |
| 105 'sources': [ | 75 'sources': [ |
| 106 'test/test_registrar_constants.cc', | 76 'test/test_registrar_constants.cc', |
| 107 'test/test_registrar_constants.h', | 77 'test/test_registrar_constants.h', |
| 108 ], | 78 ], |
| 109 }, | 79 }, |
| 110 ], | 80 ], |
| 111 } | 81 } |
| OLD | NEW |