OLD | NEW |
(Empty) | |
| 1 # Copyright (c) 2012 The Native Client 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 # Build the specific library dependencies for validating on x86-64 using the |
| 6 # DFA-based validator. |
| 7 { |
| 8 'includes': [ |
| 9 '../../../build/common.gypi', |
| 10 ], |
| 11 'target_defaults': { |
| 12 'defines': [ 'NACL_TRUSTED_BUT_NOT_TCB' ], |
| 13 'conditions': [ |
| 14 ['OS=="win"', { |
| 15 'variables': { |
| 16 'win_target': 'x64', |
| 17 }, |
| 18 # TODO(pasko): eliminate flag modification based on OS. |
| 19 # See http://code.google.com/p/nativeclient/issues/detail?id=2718 |
| 20 'cflags!': [ |
| 21 '/O1', |
| 22 ], |
| 23 }], |
| 24 ], |
| 25 }, |
| 26 'conditions': [ |
| 27 ['OS=="win" or target_arch=="x64"', { |
| 28 'targets': [ |
| 29 { |
| 30 'target_name': 'dfa_validate_x86_64', |
| 31 'type': 'static_library', |
| 32 'sources' : [ |
| 33 'unreviewed/dfa_validate_64.c', |
| 34 'gen/validator-x86_64.c', |
| 35 ], |
| 36 }, |
| 37 ], |
| 38 }], |
| 39 [ 'target_arch=="arm" or target_arch=="ia32"', { |
| 40 'targets': [] |
| 41 }], |
| 42 ], |
| 43 } |
| 44 |
OLD | NEW |