1# Copyright (c) 2013 The Chromium OS Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5"""Script to set up vaapi extension module.
6"""
7from distutils.core import setup, Extension
8
9module = Extension('vaapi',
10                   define_macros = [('USE_DRM', '1')],
11                   libraries = ['drm', 'va', 'va-drm'],
12                   sources = ['vaapimodule.cc'])
13
14setup(name = 'vaapi', version = '1.0', ext_modules = [module])
15