| Index: src/trusted/validator_ragel/dfa_validator_x86_64.gyp
|
| diff --git a/src/trusted/validator_ragel/dfa_validator_x86_64.gyp b/src/trusted/validator_ragel/dfa_validator_x86_64.gyp
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..02d85d758e2540e2107cfe188815e45878dc0f2f
|
| --- /dev/null
|
| +++ b/src/trusted/validator_ragel/dfa_validator_x86_64.gyp
|
| @@ -0,0 +1,44 @@
|
| +# Copyright (c) 2012 The Native Client Authors. All rights reserved.
|
| +# Use of this source code is governed by a BSD-style license that can be
|
| +# found in the LICENSE file.
|
| +
|
| +# Build the specific library dependencies for validating on x86-64 using the
|
| +# DFA-based validator.
|
| +{
|
| + 'includes': [
|
| + '../../../build/common.gypi',
|
| + ],
|
| + 'target_defaults': {
|
| + 'defines': [ 'NACL_TRUSTED_BUT_NOT_TCB' ],
|
| + 'conditions': [
|
| + ['OS=="win"', {
|
| + 'variables': {
|
| + 'win_target': 'x64',
|
| + },
|
| + # TODO(pasko): eliminate flag modification based on OS.
|
| + # See http://code.google.com/p/nativeclient/issues/detail?id=2718
|
| + 'cflags!': [
|
| + '/O1',
|
| + ],
|
| + }],
|
| + ],
|
| + },
|
| + 'conditions': [
|
| + ['OS=="win" or target_arch=="x64"', {
|
| + 'targets': [
|
| + {
|
| + 'target_name': 'dfa_validate_x86_64',
|
| + 'type': 'static_library',
|
| + 'sources' : [
|
| + 'unreviewed/dfa_validate_64.c',
|
| + 'gen/validator-x86_64.c',
|
| + ],
|
| + },
|
| + ],
|
| + }],
|
| + [ 'target_arch=="arm" or target_arch=="ia32"', {
|
| + 'targets': []
|
| + }],
|
| + ],
|
| +}
|
| +
|
|
|