1b018e06创建于 2012年8月23日历史提交
# -*- python -*-
# Copyright (c) 2012 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 = env.ProgramNameForNmf('ppapi_example_events')
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',
                                                             'ppapi_cpp'])
env.Publish(nexe, 'run',
            ['ppapi_example_events.html',
             'ppapi_example_events.nmf'])