summaryrefslogtreecommitdiffstats
path: root/third_party/cython
diff options
context:
space:
mode:
authorblundell <blundell@chromium.org>2014-11-19 09:26:25 -0800
committerCommit bot <commit-bot@chromium.org>2014-11-19 17:26:46 +0000
commitdb3e28e3fdb28efdc874a54f0239f1dac3f6da52 (patch)
treeef60b30013d7a21a2e50a3d1978c7372acbe4eb3 /third_party/cython
parent621e71a5f062e07b56fbbfa9bcb936d91f180482 (diff)
downloadchromium_src-db3e28e3fdb28efdc874a54f0239f1dac3f6da52.zip
chromium_src-db3e28e3fdb28efdc874a54f0239f1dac3f6da52.tar.gz
chromium_src-db3e28e3fdb28efdc874a54f0239f1dac3f6da52.tar.bz2
Teach python_binary_module how to use invoker.configs.
This is needed for a usage of this template in the Mojo repo. Review URL: https://codereview.chromium.org/739183002 Cr-Commit-Position: refs/heads/master@{#304829}
Diffstat (limited to 'third_party/cython')
-rw-r--r--third_party/cython/rules.gni3
1 files changed, 3 insertions, 0 deletions
diff --git a/third_party/cython/rules.gni b/third_party/cython/rules.gni
index 252e948..efd9ca3 100644
--- a/third_party/cython/rules.gni
+++ b/third_party/cython/rules.gni
@@ -76,6 +76,9 @@ template("python_binary_module") {
sources += invoker.additional_sources
}
configs += [ ":$config_name" ]
+ if (defined(invoker.configs)) {
+ configs += invoker.configs
+ }
}
copy(target_name) {