OLD | NEW |
1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
| 6 'variables': { |
| 7 'use_system_openmax%': 0, |
| 8 }, |
| 9 'target_defaults': { |
| 10 'conditions': [ |
| 11 ['use_system_openmax==0', { |
| 12 'type': '<(library)', |
| 13 'dependencies': [ |
| 14 '../../base/base.gyp:base', |
| 15 ], |
| 16 'sources': [ |
| 17 'omx_stub.cc', |
| 18 ], |
| 19 'include_dirs': [ |
| 20 'il', |
| 21 ], |
| 22 'defines': [ |
| 23 '__OMX_EXPORTS', |
| 24 ], |
| 25 'direct_dependent_settings': { |
| 26 'defines': [ |
| 27 '__OMX_EXPORTS', |
| 28 ], |
| 29 }, |
| 30 },{ |
| 31 'type': 'none', |
| 32 'direct_dependent_settings': { |
| 33 'link_settings': { |
| 34 'libraries': [ |
| 35 '-lOmxCore', |
| 36 ], |
| 37 }, |
| 38 }, |
| 39 }], |
| 40 ], |
| 41 }, |
6 'targets': [ | 42 'targets': [ |
7 { | 43 { |
8 # OpenMAX IL level of API. | 44 # OpenMAX IL level of API. |
9 'target_name': 'il', | 45 'target_name': 'il', |
10 'type': 'none', | |
11 'sources': [ | 46 'sources': [ |
12 'il/OMX_Audio.h', | 47 'il/OMX_Audio.h', |
13 'il/OMX_Component.h', | 48 'il/OMX_Component.h', |
14 'il/OMX_ContentPipe.h', | 49 'il/OMX_ContentPipe.h', |
15 'il/OMX_Core.h', | 50 'il/OMX_Core.h', |
16 'il/OMX_Image.h', | 51 'il/OMX_Image.h', |
17 'il/OMX_Index.h', | 52 'il/OMX_Index.h', |
18 'il/OMX_IVCommon.h', | 53 'il/OMX_IVCommon.h', |
19 'il/OMX_Other.h', | 54 'il/OMX_Other.h', |
20 'il/OMX_Types.h', | 55 'il/OMX_Types.h', |
21 'il/OMX_Video.h', | 56 'il/OMX_Video.h', |
22 ], | 57 ], |
23 'direct_dependent_settings': { | 58 'direct_dependent_settings': { |
24 'include_dirs': [ | 59 'include_dirs': [ |
25 'il', | 60 'il', |
26 ], | 61 ], |
27 'link_settings': { | |
28 'libraries': [ | |
29 '-lOmxCore', | |
30 # We need dl for dlopen() and friends. | |
31 '-ldl', | |
32 ], | |
33 }, | |
34 }, | 62 }, |
35 }, | 63 }, |
36 ], | 64 ], |
37 } | 65 } |
| 66 |
| 67 # Local Variables: |
| 68 # tab-width:2 |
| 69 # indent-tabs-mode:nil |
| 70 # End: |
| 71 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |