1 # Copyright (c) 2010 The Chromium 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.
7 'openmax_type%': 'stub',
11 # OpenMAX IL level of API.
16 'il/OMX_ContentPipe.h',
25 'direct_dependent_settings': {
35 'type': 'static_library',
37 '../../base/base.gyp:base',
51 'generate_stubs_script': '../../tools/generate_stubs/generate_stubs.py',
55 'extra_header': 'il_stub_headers.fragment',
56 'outfile_type': 'posix_stubs',
57 'stubs_filename_root': 'il_stubs',
58 'project_path': 'third_party/openmax',
59 'intermediate_dir': '<(INTERMEDIATE_DIR)',
60 'output_root': '<(SHARED_INTERMEDIATE_DIR)/openmax',
62 'type': 'static_library',
64 '../../base/base.gyp:base',
72 '../..', # The chromium 'src' directory.
75 'direct_dependent_settings': {
78 '../..', # The chromium 'src' directory.
83 'action_name': 'generate_stubs',
85 '<(generate_stubs_script)',
90 '<(intermediate_dir)/<(stubs_filename_root).cc',
91 '<(output_root)/<(project_path)/<(stubs_filename_root).h',
94 '<(generate_stubs_script)',
95 '-i', '<(intermediate_dir)',
96 '-o', '<(output_root)/<(project_path)',
97 '-t', '<(outfile_type)',
98 '-e', '<(extra_header)',
99 '-s', '<(stubs_filename_root)',
100 '-p', '<(project_path)',
103 'process_outputs_as_sources': 1,
104 'message': 'Generating OpenMAX IL stubs for dynamic loading.',