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

Unified Diff: ppapi/native_client/tests/ppapi_browser/ppb_file_system/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_browser/ppb_file_system/build.scons
===================================================================
--- ppapi/native_client/tests/ppapi_browser/ppb_file_system/build.scons (revision 0)
+++ ppapi/native_client/tests/ppapi_browser/ppb_file_system/build.scons (revision 0)
@@ -0,0 +1,26 @@
+# -*- python -*-
+# Copyright 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_ppb_file_system.so;application/x-nacl"
+# http://localhost:5103/scons-out/nacl-x86-../staging/ppapi_ppb_file_system.html
+
+Import('env')
+
+if env.Bit('linux'):
+ env['COMPONENT_STATIC'] = False # Build a .so, not a .a
+ env.Append(CFLAGS=['-std=c99'])
+
+ sources = ['ppapi_ppb_file_system.cc']
+
+ libs = ['imc',
+ 'gio',
+ 'pthread' ]
+
+ ppapi_geturl = env.ComponentLibrary('ppapi_ppb_file_system',
+ sources,
+ EXTRA_LIBS=libs,
+ no_import_lib=True)

Powered by Google App Engine
This is Rietveld 408576698