| OLD | NEW |
| (Empty) |
| 1 # -*- python -*- | |
| 2 # Copyright (c) 2011 The Native Client Authors. All rights reserved. | |
| 3 # Use of this source code is governed by a BSD-style license that can be | |
| 4 # found in the LICENSE file. | |
| 5 | |
| 6 # A way to build the nexe as a trusted plugin to validate directly | |
| 7 # against Chrome on Linux using | |
| 8 # --register-pepper-plugins="/path/to/libppapi_geturl.so;application/x-nacl" | |
| 9 # http://localhost:5103/scons-out/nacl-x86-../staging/ppapi_geturl.html | |
| 10 | |
| 11 Import('env') | |
| 12 | |
| 13 if env.Bit('linux'): | |
| 14 env['COMPONENT_STATIC'] = False # Build a .so, not a .a | |
| 15 | |
| 16 sources = [ 'module.cc', | |
| 17 'ppapi_geturl.cc', | |
| 18 'url_load_request.cc' ] | |
| 19 | |
| 20 libs = [ 'ppapi_cpp', | |
| 21 'imc', | |
| 22 'gio', | |
| 23 'pthread' ] | |
| 24 | |
| 25 ppapi_geturl = env.ComponentLibrary('ppapi_geturl', | |
| 26 sources, | |
| 27 EXTRA_LIBS=libs, | |
| 28 no_import_lib=True) | |
| OLD | NEW |