Commit 8a185633 authored by qsr's avatar qsr Committed by Commit bot

mojo: Update gyp python targets to specify their equivalent gn targets.

R=jamesr@chromium.org

Review URL: https://codereview.chromium.org/566333002

Cr-Commit-Position: refs/heads/master@{#295036}
parent 51262702
......@@ -556,6 +556,7 @@
['component!="shared_library" and OS=="linux"', {
'targets': [
{
# GN version: //mojo/public/python:system
'target_name': 'mojo_python_system',
'variables': {
'python_base_module': 'mojo',
......@@ -571,6 +572,7 @@
'includes': [ '../third_party/cython/cython_compiler.gypi' ],
},
{
# GN version: //mojo/python:embedder
'target_name': 'mojo_python_embedder',
'type': 'loadable_module',
'variables': {
......@@ -586,6 +588,7 @@
'includes': [ '../third_party/cython/cython_compiler.gypi' ],
},
{
# GN version: //mojo/public/python:bindings
'target_name': 'mojo_python_bindings',
'type': 'none',
'variables': {
......@@ -602,6 +605,7 @@
'includes': [ '../third_party/cython/python_module.gypi' ],
},
{
# GN version: //mojo/python
'target_name': 'mojo_python',
'type': 'none',
'variables': {
......
......@@ -12,6 +12,7 @@ group("python") {
]
}
# GYP version: mojo.gyp:mojo_python_system
python_binary_module("system") {
python_base_module = "mojo"
sources = [
......@@ -33,6 +34,7 @@ copy("base") {
]
}
# GYP version: mojo.gyp:mojo_python_bindings
copy("bindings") {
sources = [
"mojo/bindings/__init__.py",
......
......@@ -4,12 +4,15 @@
import("//third_party/cython/rules.gni")
# GYP version: mojo/mojo.gyp:mojo_python
group("python") {
deps = [
":embedder",
"//mojo/public/python",
]
}
# GYP version: mojo/mojo.gyp:mojo_python_embedder
python_binary_module("embedder") {
python_base_module = "mojo"
sources = [
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment