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

Side by Side Diff: third_party/cython/python_module.gypi

Issue 377293002: Core mojo API for python. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix dependency issue 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 | Annotate | Revision Log
« no previous file with comments | « third_party/cython/python_flags.py ('k') | third_party/cython/rules.gni » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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.
4
5 {
6 'variables': {
7 'python_binary_modules%': [],
8 'python_module_destination': '<(PRODUCT_DIR)/python/<(python_base_module)',
9 'cp': '<(DEPTH)/third_party/cython/cp_python_binary_modules.py',
10 'timestamp': '<(SHARED_INTERMEDIATE_DIR)/<(_target_name)_py_module.stamp',
11 },
12 'rules': [
13 {
14 'rule_name': '<(_target_name)_cp_python',
15 'extension': 'py',
16 'inputs': [
17 '<(DEPTH)/build/cp.py',
18 ],
19 'outputs': [
20 '<(python_module_destination)/<(RULE_INPUT_NAME)',
21 ],
22 'action': [
23 'python',
24 '<@(_inputs)',
25 '<(RULE_INPUT_PATH)',
26 '<@(_outputs)',
27 ],
28 'message': 'Moving <(RULE_INPUT_PATH) to its destination',
29 }
30 ],
31 'actions': [
32 {
33 'action_name': '<(_target_name)_move_to_python_modules',
34 'inputs': [
35 '<(cp)',
36 ],
37 'outputs': [
38 '<(timestamp)',
39 ],
40 'action': [
41 'python',
42 '<(cp)',
43 '<(timestamp)',
44 '<(PRODUCT_DIR)',
45 '<(python_module_destination)',
46 '>@(python_binary_modules)',
47 ],
48 },
49 ],
50 'hard_dependency': 1,
51 }
OLDNEW
« no previous file with comments | « third_party/cython/python_flags.py ('k') | third_party/cython/rules.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698