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 Import('env') |
| 7 |
| 8 # TODO(robertm): those should not be necessary once we go -std=c99 |
| 9 env.FilterOut(CFLAGS=['-pedantic']) |
| 10 env.FilterOut(CCFLAGS=['-pedantic']) |
| 11 |
| 12 nexe = 'ppapi_example_events_%s' % env.get('TARGET_FULLARCH') |
| 13 env.Alias('ppapi_example_events${PROGSUFFIX}', |
| 14 ['$STAGING_DIR/%s${PROGSUFFIX}' % nexe]) |
| 15 ppapi_example_events_nexe = env.ComponentProgram(nexe, |
| 16 ['ppapi_example_events.cc',], |
| 17 EXTRA_LIBS=['${PPAPI_LIBS}', |
| 18 'ppapi_cpp']) |
| 19 env.Publish(nexe, 'run', |
| 20 ['ppapi_example_events.html', |
| 21 'ppapi_example_events.nmf']) |
OLD | NEW |