Index: ppapi/native_client/tests/ppapi_example_events/nacl.scons |
=================================================================== |
--- ppapi/native_client/tests/ppapi_example_events/nacl.scons (revision 0) |
+++ ppapi/native_client/tests/ppapi_example_events/nacl.scons (revision 0) |
@@ -0,0 +1,21 @@ |
+# -*- 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. |
+ |
+Import('env') |
+ |
+# TODO(robertm): those should not be necessary once we go -std=c99 |
+env.FilterOut(CFLAGS=['-pedantic']) |
+env.FilterOut(CCFLAGS=['-pedantic']) |
+ |
+nexe = 'ppapi_example_events_%s' % env.get('TARGET_FULLARCH') |
+env.Alias('ppapi_example_events${PROGSUFFIX}', |
+ ['$STAGING_DIR/%s${PROGSUFFIX}' % nexe]) |
+ppapi_example_events_nexe = env.ComponentProgram(nexe, |
+ ['ppapi_example_events.cc',], |
+ EXTRA_LIBS=['${PPAPI_LIBS}', |
+ 'ppapi_cpp']) |
+env.Publish(nexe, 'run', |
+ ['ppapi_example_events.html', |
+ 'ppapi_example_events.nmf']) |