Chromium Code Reviews| Index: src/untrusted/irt/nacl.scons |
| diff --git a/src/untrusted/irt/nacl.scons b/src/untrusted/irt/nacl.scons |
| index df60f369d98e9270bff9abc222110c10103981e2..39bf768263774f0975cf45931756d18663c644f3 100644 |
| --- a/src/untrusted/irt/nacl.scons |
| +++ b/src/untrusted/irt/nacl.scons |
| @@ -92,8 +92,28 @@ irt_libs = ['srpc', |
| 'm', |
| ] |
| -irt_core_library = blob_env.ComponentProgram( |
| - 'irt_core', irt_support_objs + irt_nonbrowser, EXTRA_LIBS=irt_libs) |
| +irt_core_raw = blob_env.ComponentProgram( |
| + 'irt_core_raw', irt_support_objs + irt_nonbrowser, EXTRA_LIBS=irt_libs) |
| + |
| +# Compile this program using the host environment instead of the target |
| +tls_edit_env = env['BUILD_ENV'] |
| +tls_edit_exe = tls_edit_env.ComponentProgram( |
| + 'tls_edit', |
| + 'tls_edit.c', |
| + EXTRA_LIBS=['rdfa_validator', 'platform']) |
| + |
| +tls_edit_library = tls_edit_env.Install('${STAGING_DIR}', tls_edit_exe) |
|
Mark Seaborn
2014/02/03 22:31:47
Why "_library"? That's a little confusing since t
|
| + |
| +irt_core_nexe = blob_env.Command( |
| + 'irt_core.nexe', |
| + [tls_edit_library, irt_core_raw], |
| + '${SOURCES} ${TARGET}' |
| + ) |
|
Mark Seaborn
2014/02/03 22:31:47
Nit: closing bracket goes on previous line in norm
|
| + |
| +irt_core_library = blob_env.Install('${STAGING_DIR}', irt_core_nexe) |
| +blob_env.Alias('irt_core', irt_core_library) |
| +blob_env.ComponentProgramAlias(irt_core_library) |
| + |
| env.SDKInstallBin('irt_core.nexe', irt_core_library) |
| # TODO(mcgrathr): these should be installed, but scons is a mystery |