| OLD | NEW |
| 1 # -*- python -*- | 1 # -*- python -*- |
| 2 # Copyright (c) 2012 The Native Client Authors. All rights reserved. | 2 # Copyright (c) 2012 The Native Client Authors. All rights reserved. |
| 3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
| 4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
| 5 | 5 |
| 6 Import('env') | 6 Import('env') |
| 7 | 7 |
| 8 # TODO(robertm): those should not be necessary once we go -std=c99 | 8 # TODO(robertm): those should not be necessary once we go -std=c99 |
| 9 env.FilterOut(CFLAGS=['-pedantic']) | 9 env.FilterOut(CFLAGS=['-pedantic']) |
| 10 env.FilterOut(CCFLAGS=['-pedantic']) | 10 env.FilterOut(CCFLAGS=['-pedantic']) |
| 11 | 11 |
| 12 nexe = env.ProgramNameForNmf('ppapi_example_events') | 12 nexe = env.ProgramNameForNmf('ppapi_example_events') |
| 13 env.Alias('ppapi_example_events${PROGSUFFIX}', | 13 env.Alias('ppapi_example_events${PROGSUFFIX}', |
| 14 ['$STAGING_DIR/%s${PROGSUFFIX}' % nexe]) | 14 ['$STAGING_DIR/%s${PROGSUFFIX}' % nexe]) |
| 15 ppapi_example_events_nexe = env.ComponentProgram(nexe, | 15 ppapi_example_events_nexe = env.ComponentProgram(nexe, |
| 16 ['ppapi_example_events.cc',], | 16 ['ppapi_example_events.cc',], |
| 17 EXTRA_LIBS=['${PPAPI_LIBS}', | 17 EXTRA_LIBS=['ppapi', |
| 18 'ppapi_cpp']) | 18 'ppapi_cpp']) |
| 19 env.Publish(nexe, 'run', | 19 env.Publish(nexe, 'run', |
| 20 ['ppapi_example_events.html', | 20 ['ppapi_example_events.html', |
| 21 'ppapi_example_events.nmf']) | 21 'ppapi_example_events.nmf']) |
| OLD | NEW |