Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(331)

Unified Diff: ppapi/native_client/tests/ppapi_geturl/build.scons

Issue 7740013: Cloning a bunch of stuff from the native_client repository at r6528 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ppapi/native_client/tests/ppapi_geturl/build.scons
===================================================================
--- ppapi/native_client/tests/ppapi_geturl/build.scons (revision 0)
+++ ppapi/native_client/tests/ppapi_geturl/build.scons (revision 0)
@@ -0,0 +1,33 @@
+# -*- python -*-
+# Copyright (c) 2011 The Native Client Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+# A way to build the nexe as a trusted plugin to validate directly
+# against Chrome on Linux using
+# --register-pepper-plugins="/path/to/libppapi_geturl.so;application/x-nacl"
+# http://localhost:5103/scons-out/nacl-x86-../staging/ppapi_geturl.html
+
+Import('env')
+
+if env.Bit('linux'):
+ env['COMPONENT_STATIC'] = False # Build a .so, not a .a
+
+ sources = [ 'module.cc',
+ # This allow us to verify that the code builds before
+ # untrusted nacl_file is fully functioning.
+ # However, main() won't be called when we loaded the trusted
+ # plugin as a dll.
+ 'nacl_file_main.cc',
+ 'ppapi_geturl.cc',
+ 'url_load_request.cc' ]
+
+ libs = [ 'ppapi_cpp',
+ 'imc',
+ 'gio',
+ 'pthread' ]
+
+ ppapi_geturl = env.ComponentLibrary('ppapi_geturl',
+ sources,
+ EXTRA_LIBS=libs,
+ no_import_lib=True)

Powered by Google App Engine
This is Rietveld 408576698