OLD | NEW |
1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2009 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 { | 5 { |
6 'target_defaults': { | 6 'target_defaults': { |
7 'variables': { | 7 'variables': { |
8 'nacl_target': 0, | 8 'nacl_target': 0, |
9 }, | 9 }, |
10 'target_conditions': [ | 10 'target_conditions': [ |
(...skipping 17 matching lines...) Expand all Loading... |
28 'nacl/nacl_main_platform_delegate_linux.cc', | 28 'nacl/nacl_main_platform_delegate_linux.cc', |
29 'nacl/nacl_main_platform_delegate_mac.mm', | 29 'nacl/nacl_main_platform_delegate_mac.mm', |
30 'nacl/nacl_main_platform_delegate_win.cc', | 30 'nacl/nacl_main_platform_delegate_win.cc', |
31 'nacl/nacl_thread.cc', | 31 'nacl/nacl_thread.cc', |
32 'nacl/nacl_thread.h', | 32 'nacl/nacl_thread.h', |
33 ], | 33 ], |
34 # TODO(gregoryd): consider switching NaCl to use Chrome OS defines | 34 # TODO(gregoryd): consider switching NaCl to use Chrome OS defines |
35 'conditions': [ | 35 'conditions': [ |
36 ['OS=="win"', { | 36 ['OS=="win"', { |
37 'defines': [ | 37 'defines': [ |
38 '__STD_C', | |
39 '_CRT_SECURE_NO_DEPRECATE', | |
40 '_SCL_SECURE_NO_DEPRECATE', | |
41 '__STDC_LIMIT_MACROS=1', | 38 '__STDC_LIMIT_MACROS=1', |
42 ], | 39 ], |
43 'include_dirs': [ | 40 'include_dirs': [ |
44 '<(DEPTH)/third_party/wtl/include', | 41 '<(DEPTH)/third_party/wtl/include', |
45 ], | 42 ], |
46 },], | 43 },], |
47 ['OS=="linux"', { | 44 ['OS=="linux"', { |
48 'defines': [ | 45 'defines': [ |
49 '__STDC_LIMIT_MACROS=1', | 46 '__STDC_LIMIT_MACROS=1', |
50 ], | 47 ], |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 'NACL_BLOCK_SHIFT=5', | 122 'NACL_BLOCK_SHIFT=5', |
126 'NACL_BLOCK_SIZE=32', | 123 'NACL_BLOCK_SIZE=32', |
127 '<@(nacl_defines)', | 124 '<@(nacl_defines)', |
128 ], | 125 ], |
129 }, | 126 }, |
130 }, | 127 }, |
131 ], | 128 ], |
132 }], | 129 }], |
133 ], | 130 ], |
134 } | 131 } |
OLD | NEW |