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

Side by Side Diff: tools/telemetry/telemetry.gyp

Issue 136753005: [telemetry] convert bitmaptools to use gyp (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: another attempt Created 6 years, 11 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 | « no previous file | tools/telemetry/telemetry/core/bitmaptools/__init__.py » ('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 2014 The Chromium Authors. All rights reserved. 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 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 'targets' : [ 6 'targets' : [
7 { 7 {
8 'target_name': 'bitmaptools', 8 'target_name': 'bitmaptools',
9 'type': 'none', 9 'type': 'shared_library',
10 'variables': { 10 'product_prefix': '',
11 'output_path': '<(PRODUCT_DIR)', 11 'product_dir': '<(PRODUCT_DIR)',
12 'sources': [
13 'telemetry/core/bitmaptools/bitmaptools.cc',
14 ],
15 'cflags': [
16 '<!@(python telemetry/core/build_extension.py cflags)',
17 ],
18 'include_dirs': [
19 '<!@(python telemetry/core/build_extension.py include_dirs)',
20 ],
21 'link_settings': {
22 'ldflags': [
23 '<!@(python telemetry/core/build_extension.py ldflags)',
24 ],
12 }, 25 },
13 'conditions': [ 26 'conditions': [
14 ['OS=="android" or OS=="linux" or OS=="mac"', {
15 'variables': {
16 'python_extension': '.so'
17 },
18 }],
19 ['OS=="win"', { 27 ['OS=="win"', {
20 'variables': { 28 'product_extension': 'pyd',
21 'python_extension': '.pyd'
22 },
23 }],
24 ['OS=="android" or OS=="linux" or OS=="mac" or OS=="win"', {
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 }], 29 }],
42 ] 30 ]
43 }, 31 },
44 ], 32 ],
45 } 33 }
OLDNEW
« no previous file with comments | « no previous file | tools/telemetry/telemetry/core/bitmaptools/__init__.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698