1 # Copyright 2014 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 'python_flags': '<(DEPTH)/third_party/cython/python_flags.py',
13 'module_suffix': '.so',
17 'module_prefix': '<(SHARED_LIB_PREFIX)',
18 'module_suffix': '<(SHARED_LIB_SUFFIX)',
22 'type': 'loadable_module',
25 'rule_name': '<(_target_name)_cython_compiler',
28 'cython_compiler': '<(DEPTH)/third_party/cython/src/cython.py',
34 '<(SHARED_INTERMEDIATE_DIR)/cython/<(python_base_module)/<(RULE_INPUT_ROOT).cc',
37 'python', '<(cython_compiler)',
43 'message': 'Generating C++ source from <(RULE_INPUT_PATH)',
44 'process_outputs_as_sources': 1,
48 '<!@(python <(python_flags) --includes)',
52 '<!@(python <(python_flags) --libraries)',
55 '-Wno-unused-function',
58 'WARNING_CFLAGS': [ '-Wno-unused-function' ],
61 '<!@(python <(python_flags) --library_dirs)',