|
1 # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- |
|
2 # vim: set filetype=python: |
|
3 # This Source Code Form is subject to the terms of the Mozilla Public |
|
4 # License, v. 2.0. If a copy of the MPL was not distributed with this |
|
5 # file, You can obtain one at http://mozilla.org/MPL/2.0/. |
|
6 |
|
7 include('/build/gyp.mozbuild') |
|
8 |
|
9 GYP_DIRS += ['.'] |
|
10 |
|
11 libyuv_non_unified_sources = [ |
|
12 'source/convert.cc', |
|
13 'source/convert_from.cc', |
|
14 'source/row_common.cc', |
|
15 'source/scale.cc', |
|
16 'source/scale_common.cc', |
|
17 ] |
|
18 GYP_DIRS['.'].input = 'libyuv.gyp' |
|
19 GYP_DIRS['.'].variables = gyp_vars |
|
20 GYP_DIRS['.'].sandbox_vars['FINAL_LIBRARY'] = 'xul' |
|
21 GYP_DIRS['.'].non_unified_sources += libyuv_non_unified_sources |