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

Unified Diff: third_party/cython/cython_compiler.gypi

Issue 761903003: Update from https://crrev.com/306655 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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/brotli/BUILD.gn ('k') | third_party/cython/python_flags.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/cython/cython_compiler.gypi
diff --git a/third_party/cython/cython_compiler.gypi b/third_party/cython/cython_compiler.gypi
deleted file mode 100644
index ca974a27003053f388c1561729e2c39684f904a5..0000000000000000000000000000000000000000
--- a/third_party/cython/cython_compiler.gypi
+++ /dev/null
@@ -1,64 +0,0 @@
-# Copyright 2014 The Chromium Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-{
- 'variables': {
- 'python_flags': '<(DEPTH)/third_party/cython/python_flags.py',
- },
- 'conditions': [
- ['OS=="mac"', {
- 'variables': {
- 'module_prefix': '',
- 'module_suffix': '.so',
- },
- }, {
- 'variables': {
- 'module_prefix': '<(SHARED_LIB_PREFIX)',
- 'module_suffix': '<(SHARED_LIB_SUFFIX)',
- },
- }],
- ],
- 'type': 'loadable_module',
- 'rules': [
- {
- 'rule_name': '<(_target_name)_cython_compiler',
- 'extension': 'pyx',
- 'variables': {
- 'cython_compiler': '<(DEPTH)/third_party/cython/src/cython.py',
- },
- 'inputs': [
- '<(cython_compiler)',
- ],
- 'outputs': [
- '<(SHARED_INTERMEDIATE_DIR)/cython/<(python_base_module)/<(RULE_INPUT_ROOT).cc',
- ],
- 'action': [
- 'python', '<(cython_compiler)',
- '--cplus',
- '-I<(DEPTH)',
- '-o', '<@(_outputs)',
- '<(RULE_INPUT_PATH)',
- ],
- 'message': 'Generating C++ source from <(RULE_INPUT_PATH)',
- 'process_outputs_as_sources': 1,
- }
- ],
- 'include_dirs': [
- '<!@(python <(python_flags) --includes)',
- '<(DEPTH)',
- ],
- 'libraries': [
- '<!@(python <(python_flags) --libraries)',
- ],
- 'cflags': [
- '-Wno-unused-function',
- ],
- 'xcode_settings': {
- 'WARNING_CFLAGS': [ '-Wno-unused-function' ],
- },
- 'library_dirs': [
- '<!@(python <(python_flags) --library_dirs)',
- ],
- 'hard_dependency': 1,
-}
« no previous file with comments | « third_party/brotli/BUILD.gn ('k') | third_party/cython/python_flags.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698