Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(309)

Unified Diff: src/trusted/validator_ragel/dfa_validator_x86_64.gyp

Issue 10070010: validator_ragel: Link into TCB, use under env var (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: revert introducing extra empty line Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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': []
+ }],
+ ],
+}
+
« no previous file with comments | « src/trusted/validator_ragel/dfa_validator_x86_32.gyp ('k') | src/trusted/validator_ragel/unreviewed/dfa_validate_32.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698