Commit 6b2ce16b authored by viettrungluu's avatar viettrungluu Committed by Commit bot

monacl: build_newlib -> build_pnacl_newlib.

R=ncbray@chromium.org

Review URL: https://codereview.chromium.org/608613003

Cr-Commit-Position: refs/heads/master@{#297223}
parent 7252caf5
...@@ -74,8 +74,8 @@ ...@@ -74,8 +74,8 @@
'variables': { 'variables': {
'nlib_target': 'libmojo.a', 'nlib_target': 'libmojo.a',
'build_glibc': 0, 'build_glibc': 0,
'build_newlib': 1, 'build_newlib': 0,
'build_pnacl_newlib': 0, 'build_pnacl_newlib': 1,
}, },
'defines': [ 'defines': [
'<@(nacl_defines)', '<@(nacl_defines)',
...@@ -92,7 +92,9 @@ ...@@ -92,7 +92,9 @@
'type': 'none', 'type': 'none',
'variables': { 'variables': {
'nexe_target': 'monacl_test', 'nexe_target': 'monacl_test',
'build_newlib': 1, 'build_newlib': 0,
'build_pnacl_newlib': 1,
'translate_pexe_with_build': 1,
'link_flags': [ 'link_flags': [
'-pthread', '-pthread',
'-lmojo', '-lmojo',
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
#define NACL_MOJO_DESC (NACL_CHROME_DESC_BASE + 2) #define NACL_MOJO_DESC (NACL_CHROME_DESC_BASE + 2)
static void DoMojoCall(uint32_t params[], int num_params) { static void DoMojoCall(uint32_t params[], nacl_abi_size_t num_params) {
NaClAbiNaClImcMsgIoVec iov[1] = { NaClAbiNaClImcMsgIoVec iov[1] = {
{params, num_params} {params, num_params}
}; };
......
...@@ -19,8 +19,8 @@ ...@@ -19,8 +19,8 @@
'variables': { 'variables': {
'nlib_target': 'libgtest_nacl.a', 'nlib_target': 'libgtest_nacl.a',
'build_glibc': 0, 'build_glibc': 0,
'build_newlib': 1, 'build_newlib': 0,
'build_pnacl_newlib': 0, 'build_pnacl_newlib': 1,
}, },
'sources': [ 'sources': [
'<@(gtest_sources)', '<@(gtest_sources)',
...@@ -69,8 +69,8 @@ ...@@ -69,8 +69,8 @@
'variables': { 'variables': {
'nlib_target': 'libgtest_main_nacl.a', 'nlib_target': 'libgtest_main_nacl.a',
'build_glibc': 0, 'build_glibc': 0,
'build_newlib': 1, 'build_newlib': 0,
'build_pnacl_newlib': 0, 'build_pnacl_newlib': 1,
}, },
'dependencies': [ 'dependencies': [
'gtest_nacl', 'gtest_nacl',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment