OLD | NEW |
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 '../native_client/src/trusted/validator_x86/validator_x86.gyp:ncvalidate
', | 74 '../native_client/src/trusted/validator_x86/validator_x86.gyp:ncvalidate
', |
75 '../native_client/src/trusted/platform_qualify/platform_qualify.gyp:plat
form_qual_lib', | 75 '../native_client/src/trusted/platform_qualify/platform_qualify.gyp:plat
form_qual_lib', |
76 ], | 76 ], |
77 'direct_dependent_settings': { | 77 'direct_dependent_settings': { |
78 'defines': [ | 78 'defines': [ |
79 'NACL_BLOCK_SHIFT=5', | 79 'NACL_BLOCK_SHIFT=5', |
80 'NACL_BLOCK_SIZE=32', | 80 'NACL_BLOCK_SIZE=32', |
81 '<@(nacl_defines)', | 81 '<@(nacl_defines)', |
82 ], | 82 ], |
83 }, | 83 }, |
84 'copies': [ | 84 'conditions': [ |
85 { | 85 ['target_arch=="ia32"', { |
86 'destination': '<(PRODUCT_DIR)', | 86 'copies': [ |
87 'files': [ | 87 { |
88 '../native_client/irt_binaries/nacl_irt_x86_32.nexe', | 88 'destination': '<(PRODUCT_DIR)', |
89 '../native_client/irt_binaries/nacl_irt_x86_64.nexe', | 89 'files': [ |
90 ], | 90 '../native_client/irt_binaries/nacl_irt_x86_32.nexe', |
91 }, | 91 ], |
| 92 }, |
| 93 ], |
| 94 }], |
| 95 ['target_arch=="x64" or OS=="win"', { |
| 96 'copies': [ |
| 97 { |
| 98 'destination': '<(PRODUCT_DIR)', |
| 99 'files': [ |
| 100 '../native_client/irt_binaries/nacl_irt_x86_64.nexe', |
| 101 ], |
| 102 }, |
| 103 ], |
| 104 }], |
92 ], | 105 ], |
93 }, | 106 }, |
94 ], | 107 ], |
95 'conditions': [ | 108 'conditions': [ |
96 ['OS=="win"', { | 109 ['OS=="win"', { |
97 'targets': [ | 110 'targets': [ |
98 { | 111 { |
99 'target_name': 'nacl_win64', | 112 'target_name': 'nacl_win64', |
100 'type': '<(library)', | 113 'type': '<(library)', |
101 'msvs_guid': '14135464-9FB9-42E3-99D8-791116FA1204', | 114 'msvs_guid': '14135464-9FB9-42E3-99D8-791116FA1204', |
(...skipping 27 matching lines...) Expand all Loading... |
129 'NACL_BLOCK_SHIFT=5', | 142 'NACL_BLOCK_SHIFT=5', |
130 'NACL_BLOCK_SIZE=32', | 143 'NACL_BLOCK_SIZE=32', |
131 '<@(nacl_defines)', | 144 '<@(nacl_defines)', |
132 ], | 145 ], |
133 }, | 146 }, |
134 }, | 147 }, |
135 ], | 148 ], |
136 }], | 149 }], |
137 ], | 150 ], |
138 } | 151 } |
OLD | NEW |