Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(757)

Unified Diff: third_party/openmax/openmax.gyp

Issue 431040: Revert "Implement method stubs for OpenMAX IL instead of relying on -lOmxCore." (Closed)
Patch Set: Created 11 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/openmax/omx_stub.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/openmax/openmax.gyp
diff --git a/third_party/openmax/openmax.gyp b/third_party/openmax/openmax.gyp
index 53929bad309724a5e5d1d8f7501f5066dce65357..aeca369fa67aa0ab66bb139c9e94c109381e651f 100644
--- a/third_party/openmax/openmax.gyp
+++ b/third_party/openmax/openmax.gyp
@@ -3,46 +3,11 @@
# found in the LICENSE file.
{
- 'variables': {
- 'use_system_openmax%': 0,
- },
- 'target_defaults': {
- 'conditions': [
- ['use_system_openmax==0', {
- 'type': '<(library)',
- 'dependencies': [
- '../../base/base.gyp:base',
- ],
- 'sources': [
- 'omx_stub.cc',
- ],
- 'include_dirs': [
- 'il',
- ],
- 'defines': [
- '__OMX_EXPORTS',
- ],
- 'direct_dependent_settings': {
- 'defines': [
- '__OMX_EXPORTS',
- ],
- },
- },{
- 'type': 'none',
- 'direct_dependent_settings': {
- 'link_settings': {
- 'libraries': [
- '-lOmxCore',
- ],
- },
- },
- }],
- ],
- },
'targets': [
{
# OpenMAX IL level of API.
'target_name': 'il',
+ 'type': 'none',
'sources': [
'il/OMX_Audio.h',
'il/OMX_Component.h',
@@ -59,13 +24,14 @@
'include_dirs': [
'il',
],
+ 'link_settings': {
+ 'libraries': [
+ '-lOmxCore',
+ # We need dl for dlopen() and friends.
+ '-ldl',
+ ],
+ },
},
},
- ],
+ ],
}
-
-# Local Variables:
-# tab-width:2
-# indent-tabs-mode:nil
-# End:
-# vim: set expandtab tabstop=2 shiftwidth=2:
« no previous file with comments | « third_party/openmax/omx_stub.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698