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

Side by Side Diff: mojo/mojo.gyp

Issue 566333002: mojo: Update gyp python targets to specify their equivalent gn targets. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Follow review Created 6 years, 3 months 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 unified diff | Download patch
« no previous file with comments | « no previous file | mojo/public/python/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'target_defaults': { 6 'target_defaults': {
7 'conditions': [ 7 'conditions': [
8 ['mojo_shell_debug_url != ""', { 8 ['mojo_shell_debug_url != ""', {
9 'defines': [ 9 'defines': [
10 'MOJO_SHELL_DEBUG=1', 10 'MOJO_SHELL_DEBUG=1',
(...skipping 538 matching lines...) Expand 10 before | Expand all | Expand 10 after
549 ], 549 ],
550 'defines': [ 550 'defines': [
551 'MOJO_VIEWS_IMPLEMENTATION', 551 'MOJO_VIEWS_IMPLEMENTATION',
552 ], 552 ],
553 }, 553 },
554 ], 554 ],
555 }], 555 }],
556 ['component!="shared_library" and OS=="linux"', { 556 ['component!="shared_library" and OS=="linux"', {
557 'targets': [ 557 'targets': [
558 { 558 {
559 # GN version: //mojo/public/python:system
559 'target_name': 'mojo_python_system', 560 'target_name': 'mojo_python_system',
560 'variables': { 561 'variables': {
561 'python_base_module': 'mojo', 562 'python_base_module': 'mojo',
562 'python_cython_module': 'system', 563 'python_cython_module': 'system',
563 }, 564 },
564 'sources': [ 565 'sources': [
565 'public/python/mojo/c_core.pxd', 566 'public/python/mojo/c_core.pxd',
566 'public/python/mojo/system.pyx', 567 'public/python/mojo/system.pyx',
567 ], 568 ],
568 'dependencies': [ 569 'dependencies': [
569 'mojo_base.gyp:mojo_system', 570 'mojo_base.gyp:mojo_system',
570 ], 571 ],
571 'includes': [ '../third_party/cython/cython_compiler.gypi' ], 572 'includes': [ '../third_party/cython/cython_compiler.gypi' ],
572 }, 573 },
573 { 574 {
575 # GN version: //mojo/python:embedder
574 'target_name': 'mojo_python_embedder', 576 'target_name': 'mojo_python_embedder',
575 'type': 'loadable_module', 577 'type': 'loadable_module',
576 'variables': { 578 'variables': {
577 'python_base_module': 'mojo', 579 'python_base_module': 'mojo',
578 'python_cython_module': 'embedder', 580 'python_cython_module': 'embedder',
579 }, 581 },
580 'sources': [ 582 'sources': [
581 'python/system/mojo/embedder.pyx', 583 'python/system/mojo/embedder.pyx',
582 ], 584 ],
583 'dependencies': [ 585 'dependencies': [
584 'mojo_base.gyp:mojo_system_impl', 586 'mojo_base.gyp:mojo_system_impl',
585 ], 587 ],
586 'includes': [ '../third_party/cython/cython_compiler.gypi' ], 588 'includes': [ '../third_party/cython/cython_compiler.gypi' ],
587 }, 589 },
588 { 590 {
591 # GN version: //mojo/public/python:bindings
589 'target_name': 'mojo_python_bindings', 592 'target_name': 'mojo_python_bindings',
590 'type': 'none', 593 'type': 'none',
591 'variables': { 594 'variables': {
592 'python_base_module': 'mojo/bindings', 595 'python_base_module': 'mojo/bindings',
593 }, 596 },
594 'sources': [ 597 'sources': [
595 'public/python/mojo/bindings/__init__.py', 598 'public/python/mojo/bindings/__init__.py',
596 'public/python/mojo/bindings/descriptor.py', 599 'public/python/mojo/bindings/descriptor.py',
597 'public/python/mojo/bindings/reflection.py', 600 'public/python/mojo/bindings/reflection.py',
598 ], 601 ],
599 'dependencies': [ 602 'dependencies': [
600 'mojo_python_system', 603 'mojo_python_system',
601 ], 604 ],
602 'includes': [ '../third_party/cython/python_module.gypi' ], 605 'includes': [ '../third_party/cython/python_module.gypi' ],
603 }, 606 },
604 { 607 {
608 # GN version: //mojo/python
605 'target_name': 'mojo_python', 609 'target_name': 'mojo_python',
606 'type': 'none', 610 'type': 'none',
607 'variables': { 611 'variables': {
608 'python_base_module': 'mojo', 612 'python_base_module': 'mojo',
609 }, 613 },
610 'sources': [ 614 'sources': [
611 'public/python/mojo/__init__.py', 615 'public/python/mojo/__init__.py',
612 ], 616 ],
613 'dependencies': [ 617 'dependencies': [
614 'mojo_python_bindings', 618 'mojo_python_bindings',
615 'mojo_python_embedder', 619 'mojo_python_embedder',
616 'mojo_python_system', 620 'mojo_python_system',
617 ], 621 ],
618 'includes': [ '../third_party/cython/python_module.gypi' ], 622 'includes': [ '../third_party/cython/python_module.gypi' ],
619 }, 623 },
620 ], 624 ],
621 }], 625 }],
622 ], 626 ],
623 } 627 }
OLDNEW
« no previous file with comments | « no previous file | mojo/public/python/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698