OLD | NEW |
| (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 'targets' : [ | |
7 { | |
8 'target_name': 'bitmaptools', | |
9 'type': 'none', | |
10 'variables': { | |
11 'output_path': '<(PRODUCT_DIR)', | |
12 }, | |
13 'conditions': [ | |
14 ['OS=="linux" or OS=="mac" or OS=="android"', { | |
15 'variables': { | |
16 'python_extension': '.so' | |
17 }, | |
18 }], | |
19 ['OS=="win"', { | |
20 'variables': { | |
21 'python_extension': '.pyd' | |
22 }, | |
23 }], | |
24 ['OS=="win" or OS=="linux" or OS=="mac" or OS=="android"', { | |
25 'actions': [{ | |
26 'action_name': 'bitmaptools', | |
27 'inputs': [ | |
28 'telemetry/core/build_extension.py', | |
29 'telemetry/core/bitmaptools/bitmaptools.cc', | |
30 ], | |
31 'outputs': [ | |
32 '<(output_path)/bitmaptools>(python_extension)' | |
33 ], | |
34 'action': [ | |
35 'python', | |
36 '<@(_inputs)', | |
37 '<(output_path)', | |
38 'bitmaptools', | |
39 ] | |
40 }], | |
41 }], | |
42 ] | |
43 }, | |
44 ], | |
45 } | |
OLD | NEW |