Geoff Lang | d095bda | 2014-04-07 14:21:14 -0400 | [diff] [blame] | 1 | # Copyright (c) 2014 The ANGLE Project 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 | { |
| 6 | 'variables': |
| 7 | { |
| 8 | 'component%': 'static_library', |
| 9 | 'angle_path%': '..', |
| 10 | 'windows_sdk_path%': 'C:/Program Files (x86)/Windows Kits/8.0', |
| 11 | }, |
Jamie Madill | a2ad4e8 | 2014-07-17 14:16:32 -0400 | [diff] [blame] | 12 | 'msvs_disabled_warnings': [ 4100, 4127, 4239, 4244, 4245, 4251, 4512, 4702, 4530, 4718, 4267 ], |
Geoff Lang | d095bda | 2014-04-07 14:21:14 -0400 | [diff] [blame] | 13 | 'msvs_system_include_dirs': |
| 14 | [ |
| 15 | '<(windows_sdk_path)/Include/shared', |
| 16 | '<(windows_sdk_path)/Include/um', |
| 17 | ], |
| 18 | 'msvs_settings': |
| 19 | { |
| 20 | 'VCCLCompilerTool': |
| 21 | { |
| 22 | 'PreprocessorDefinitions': |
| 23 | [ |
| 24 | '_CRT_SECURE_NO_DEPRECATE', |
| 25 | '_SCL_SECURE_NO_WARNINGS', |
Geoff Lang | 44fa759 | 2014-05-30 11:50:07 -0400 | [diff] [blame] | 26 | 'NOMINMAX', |
Geoff Lang | d095bda | 2014-04-07 14:21:14 -0400 | [diff] [blame] | 27 | ], |
| 28 | }, |
| 29 | 'VCLinkerTool': |
| 30 | { |
| 31 | 'AdditionalDependencies': |
| 32 | [ |
| 33 | 'kernel32.lib', |
| 34 | 'gdi32.lib', |
| 35 | 'winspool.lib', |
| 36 | 'comdlg32.lib', |
| 37 | 'advapi32.lib', |
| 38 | 'shell32.lib', |
| 39 | 'ole32.lib', |
| 40 | 'oleaut32.lib', |
| 41 | 'user32.lib', |
| 42 | 'uuid.lib', |
| 43 | 'odbc32.lib', |
| 44 | 'odbccp32.lib', |
| 45 | 'delayimp.lib', |
| 46 | ], |
| 47 | }, |
| 48 | }, |
| 49 | 'configurations': |
| 50 | { |
| 51 | 'Debug': |
| 52 | { |
| 53 | 'msvs_settings': |
| 54 | { |
| 55 | 'VCLinkerTool': |
| 56 | { |
| 57 | 'AdditionalLibraryDirectories': |
| 58 | [ |
| 59 | '<(windows_sdk_path)/Lib/win8/um/x86', |
| 60 | ], |
| 61 | }, |
| 62 | 'VCLibrarianTool': |
| 63 | { |
| 64 | 'AdditionalLibraryDirectories': |
| 65 | [ |
| 66 | '<(windows_sdk_path)/Lib/win8/um/x86', |
| 67 | ], |
| 68 | }, |
| 69 | }, |
| 70 | 'defines': |
| 71 | [ |
| 72 | '_DEBUG' |
| 73 | ], |
| 74 | }, |
| 75 | 'Release': |
| 76 | { |
| 77 | 'msvs_settings': |
| 78 | { |
| 79 | 'VCLinkerTool': |
| 80 | { |
| 81 | 'AdditionalLibraryDirectories': |
| 82 | [ |
| 83 | '<(windows_sdk_path)/Lib/win8/um/x86', |
| 84 | ], |
| 85 | }, |
| 86 | 'VCLibrarianTool': |
| 87 | { |
| 88 | 'AdditionalLibraryDirectories': |
| 89 | [ |
| 90 | '<(windows_sdk_path)/Lib/win8/um/x86', |
| 91 | ], |
| 92 | }, |
| 93 | }, |
| 94 | 'defines': |
| 95 | [ |
| 96 | 'NDEBUG' |
| 97 | ], |
| 98 | }, |
| 99 | }, |
| 100 | 'conditions': |
| 101 | [ |
| 102 | ['component=="shared_library"', |
| 103 | { |
| 104 | 'defines': [ 'COMPONENT_BUILD' ], |
| 105 | }], |
| 106 | ], |
| 107 | } |