|
Line 22
Link Here
|
| 22 |
IUSE="cups gnome gnome-keyring hidpi kerberos neon pic +proprietary-codecs pulseaudio selinux +tcmalloc widevine" |
22 |
IUSE="cups gnome gnome-keyring hidpi kerberos neon pic +proprietary-codecs pulseaudio selinux +tcmalloc widevine nacl" |
| 23 |
-- |
|
|
|
Line 24
Link Here
|
|
|
24 |
REQUIRED_USE="arm? ( !nacl )" |
|
Line 192
Link Here
|
|
|
193 |
if use nacl; then |
| 194 |
python build/download_nacl_toolchains.py \ |
| 195 |
--packages nacl_x86_newlib,pnacl_newlib,pnacl_translator \ |
| 196 |
sync --extract |
| 197 |
fi |
| 198 |
|
|
Line 301
Link Here
|
|
|
308 |
'third_party/libevent' \ |
| 309 |
'native_client/src/third_party/dlmalloc' \ |
|
Lines 311-312
Link Here
|
| 311 |
# Disable nacl, we can't build without pnacl (http://crbug.com/269560). |
320 |
if ! use nacl ; then |
| 312 |
myconf+=" -Ddisable_nacl=1" |
321 |
myconf+=" -Ddisable_nacl=1" |
| 313 |
-- |
322 |
fi |
|
Line 315
Link Here
|
| 315 |
# myconf+=" -Ddisable_glibc=1" |
325 |
# TODO: what does this mean? |
| 316 |
-- |
326 |
myconf+=" -Ddisable_glibc=1" |
|
Lines 317-318
Link Here
|
| 317 |
# TODO: also build with pnacl |
328 |
if ! use nacl ; then |
| 318 |
# myconf+=" -Ddisable_pnacl=1" |
329 |
myconf+=" -Ddisable_pnacl=1" |
| 319 |
-- |
330 |
fi |
|
Lines 551-556
Link Here
|
| 551 |
# if ! use arm; then |
563 |
if use nacl; then |
| 552 |
# doexe out/Release/nacl_helper{,_bootstrap} || die |
564 |
doexe out/Release/nacl_helper{,_bootstrap} || die |
| 553 |
# insinto "${CHROMIUM_HOME}" |
565 |
insinto "${CHROMIUM_HOME}" |
| 554 |
# doins out/Release/nacl_irt_*.nexe || die |
566 |
doins out/Release/nacl_irt_*.nexe || die |
| 555 |
# doins out/Release/libppGoogleNaClPluginChrome.so || die |
567 |
fi |
| 556 |
# fi |
|
|
| 557 |
-- |