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

Unified Diff: tools/telemetry/telemetry.gyp

Issue 121493004: [telemetry] Implement per-pixel algorithms in Bitmap as a C++ extension. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sync 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/telemetry.isolate ('k') | tools/telemetry/telemetry/core/bitmap.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/telemetry/telemetry.gyp
diff --git a/tools/telemetry/telemetry.gyp b/tools/telemetry/telemetry.gyp
new file mode 100644
index 0000000000000000000000000000000000000000..f6018033801e87d2929f8fd4f2ad8ff85e3eb52c
--- /dev/null
+++ b/tools/telemetry/telemetry.gyp
@@ -0,0 +1,45 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+{
+ 'targets' : [
+ {
+ 'target_name': 'bitmaptools',
+ 'type': 'none',
+ 'variables': {
+ 'output_path': '<(PRODUCT_DIR)',
+ },
+ 'conditions': [
+ ['OS=="linux" or OS=="mac" or OS=="android"', {
+ 'variables': {
+ 'python_extension': '.so'
+ },
+ }],
+ ['OS=="win"', {
+ 'variables': {
+ 'python_extension': '.pyd'
+ },
+ }],
+ ['OS=="win" or OS=="linux" or OS=="mac" or OS=="android"', {
+ 'actions': [{
+ 'action_name': 'bitmaptools',
+ 'inputs': [
+ 'telemetry/core/build_extension.py',
+ 'telemetry/core/bitmaptools/bitmaptools.cc',
+ ],
+ 'outputs': [
+ '<(output_path)/bitmaptools>(python_extension)'
+ ],
+ 'action': [
+ 'python',
+ '<@(_inputs)',
+ '<(output_path)',
+ 'bitmaptools',
+ ]
+ }],
+ }],
+ ]
+ },
+ ],
+}
« no previous file with comments | « chrome/telemetry.isolate ('k') | tools/telemetry/telemetry/core/bitmap.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698