Index: components/nacl.gyp |
diff --git a/components/nacl.gyp b/components/nacl.gyp |
index 361ac061d2f5cd92a36d93dc7be78d6446d81754..817020e073cda424284e73a1bce198d10490d3b7 100644 |
--- a/components/nacl.gyp |
+++ b/components/nacl.gyp |
@@ -5,6 +5,7 @@ |
{ |
'variables': { |
'chromium_code': 1, |
+ 'enable_bare_metal_nacl': 0, |
Mark Seaborn
2013/12/06 03:21:16
If we're going to test Bare Metal Mode on the Chro
hidehiko
2013/12/06 17:40:02
Done.
|
}, |
'includes': [ |
'nacl/nacl_defines.gypi', |
@@ -212,6 +213,17 @@ |
}], |
], |
}], |
+ ['enable_bare_metal_nacl == 1', { |
Mark Seaborn
2013/12/06 03:21:16
So this should just be 'os_linux==1' instead.
hidehiko
2013/12/06 17:40:02
Done. Note that OS == linux is checked by enclosin
|
+ 'sources': [ |
+ # Bare Metal Mode is currently experimental and available |
+ # only for linux environment. |
+ 'nacl/loader/bare_metal/bare_metal_error_code.h', |
Mark Seaborn
2013/12/06 03:21:16
On naming: I was thinking about calling this "nons
hidehiko
2013/12/06 17:40:02
Indeed. Done. Renamed all Bare Metal to Non SFI.
|
+ 'nacl/loader/bare_metal/bare_metal_main.c', |
+ 'nacl/loader/bare_metal/bare_metal_main.h', |
+ 'nacl/loader/bare_metal/elf_util.c', |
+ 'nacl/loader/bare_metal/elf_util.h', |
+ ], |
+ }] |
], |
'cflags': ['-fPIE'], |
'link_settings': { |