From 3b32fa66e6260cc1cacd1c6c5f95b5bae6237f87 Mon Sep 17 00:00:00 2001 From: "gregoryd@google.com" Date: Thu, 25 Feb 2010 23:17:09 +0000 Subject: 64-bit Windows support for NaCl: update NaCl revision in Chrome, enable the 64-bit loader code and fix some build issues. Review URL: http://codereview.chromium.org/651065 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40062 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/nacl.gypi | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'chrome/nacl.gypi') diff --git a/chrome/nacl.gypi b/chrome/nacl.gypi index 1858f97..ff926b3 100644 --- a/chrome/nacl.gypi +++ b/chrome/nacl.gypi @@ -35,11 +35,17 @@ '__STD_C', '_CRT_SECURE_NO_DEPRECATE', '_SCL_SECURE_NO_DEPRECATE', + '__STDC_LIMIT_MACROS=1', ], 'include_dirs': [ 'third_party/wtl/include', ], },], + ['OS=="linux"', { + 'defines': [ + '__STDC_LIMIT_MACROS=1', + ], + },], ], }], ], @@ -69,6 +75,13 @@ '../native_client/src/trusted/validator_x86/validator_x86.gyp:ncvalidate', '../native_client/src/trusted/platform_qualify/platform_qualify.gyp:platform_qual_lib', ], + 'direct_dependent_settings': { + 'defines': [ + 'NACL_BLOCK_SHIFT=5', + 'NACL_BLOCK_SIZE=32', + '<@(nacl_defines)', + ], + }, }, ], 'conditions': [ @@ -88,6 +101,9 @@ 'chrome_resources', 'chrome_strings', 'common_nacl_win64', + '../native_client/src/trusted/plugin/plugin.gyp:npGoogleNaClPluginChrome64', + '../native_client/src/trusted/service_runtime/service_runtime.gyp:sel64', + '../native_client/src/trusted/platform_qualify/platform_qualify.gyp:platform_qual_lib64', ], 'sources': [ 'nacl/broker_thread.cc', @@ -101,6 +117,13 @@ 'msvs_target_platform': 'x64', }, }, + 'direct_dependent_settings': { + 'defines': [ + 'NACL_BLOCK_SHIFT=5', + 'NACL_BLOCK_SIZE=32', + '<@(nacl_defines)', + ], + }, }, ], }], -- cgit v1.1