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

Unified Diff: gyp/tools.gyp

Issue 304613002: Reland https://codereview.chromium.org/286903025 (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Diagnostic patch: removed header from gyp entry Created 6 years, 7 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 | « gyp/bench.gyp ('k') | tools/PictureBenchmark.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gyp/tools.gyp
diff --git a/gyp/tools.gyp b/gyp/tools.gyp
index 63c2fbfb6edea895ce2af347f293a29ceba24a04..cd184153d585769235f230dace9a95883956d945 100644
--- a/gyp/tools.gyp
+++ b/gyp/tools.gyp
@@ -286,12 +286,12 @@
'target_name': 'bench_pictures',
'type': 'executable',
'sources': [
+ '../bench/ResultsWriter.cpp',
+ '../tools/PictureBenchmark.cpp',
+ '../tools/PictureResultsWriter.h',
'../bench/SkBenchLogger.h',
'../bench/SkBenchLogger.cpp',
- '../bench/TimerData.h',
- '../bench/TimerData.cpp',
'../tools/bench_pictures_main.cpp',
- '../tools/PictureBenchmark.cpp',
],
'include_dirs': [
'../src/core/',
@@ -301,9 +301,11 @@
'dependencies': [
'bench.gyp:bench_timer',
'flags.gyp:flags',
+ 'jsoncpp.gyp:jsoncpp',
'skia_lib.gyp:skia_lib',
'tools.gyp:picture_utils',
'tools.gyp:picture_renderer',
+ 'tools.gyp:timer_data',
],
},
{
@@ -505,12 +507,11 @@
'../tools/bbh_shootout.cpp',
# Bench code:
- '../bench/TimerData.h',
- '../bench/TimerData.cpp',
],
'dependencies': [
'bench.gyp:bench_timer',
'flags.gyp:flags',
+ 'tools.gyp:timer_data',
'skia_lib.gyp:skia_lib',
'tools.gyp:picture_renderer',
'tools.gyp:picture_utils',
@@ -549,6 +550,17 @@
'skia_lib.gyp:skia_lib',
],
},
+ {
+ 'target_name': 'timer_data',
+ 'type': 'static_library',
+ 'sources': [
+ '../bench/TimerData.cpp',
+ ],
+ 'dependencies': [
+ 'skia_lib.gyp:skia_lib',
+ 'jsoncpp.gyp:jsoncpp'
+ ]
+ }
],
'conditions': [
['skia_shared_lib',
« no previous file with comments | « gyp/bench.gyp ('k') | tools/PictureBenchmark.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698