| 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 # This is a pepper audio example from examples/audio. | 6 # This is a pepper audio example from examples/audio. |
| 7 | 7 |
| 8 Import('env') | 8 Import('env') |
| 9 | 9 |
| 10 env.Prepend(CPPDEFINES=['XP_UNIX']) | 10 env.Prepend(CPPDEFINES=['XP_UNIX']) |
| 11 env.Replace(TEST_DIR='${SOURCE_ROOT}/ppapi/native_client/tests/' + | 11 env.Replace(TEST_DIR='${SOURCE_ROOT}/ppapi/native_client/tests/' + |
| 12 'ppapi_example_audio/') | 12 'ppapi_example_audio/') |
| 13 | 13 |
| 14 nexe_name = env.ProgramNameForNmf('ppapi_example_audio') | 14 nexe_name = env.ProgramNameForNmf('ppapi_example_audio') |
| 15 nexe = env.ComponentProgram(nexe_name, | 15 nexe = env.ComponentProgram(nexe_name, |
| 16 [ 'audio.cc' ], | 16 [ 'audio.cc' ], |
| 17 EXTRA_LIBS=['${PPAPI_LIBS}', | 17 EXTRA_LIBS=['ppapi', |
| 18 'ppapi_cpp', | 18 'ppapi_cpp', |
| 19 'platform', | 19 'platform', |
| 20 'gio', | 20 'gio', |
| 21 'pthread', | 21 'pthread', |
| 22 'm']) | 22 'm']) |
| 23 | 23 |
| 24 # Note that the html is required to run this program. | 24 # Note that the html is required to run this program. |
| 25 env.Publish(nexe_name, 'run', | 25 env.Publish(nexe_name, 'run', |
| 26 ['ppapi_example_audio.html']) | 26 ['ppapi_example_audio.html']) |
| 27 | 27 |
| OLD | NEW |