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

Unified Diff: native_client_sdk/src/examples/benchmarks/example.dsc

Issue 664543003: Benchmark sample for SDK (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
Index: native_client_sdk/src/examples/benchmarks/example.dsc
diff --git a/native_client_sdk/src/examples/benchmarks/example.dsc b/native_client_sdk/src/examples/benchmarks/example.dsc
new file mode 100644
index 0000000000000000000000000000000000000000..3fc8d50a2af5ad38ccbf7b25f7b88870e1b4a583
--- /dev/null
+++ b/native_client_sdk/src/examples/benchmarks/example.dsc
@@ -0,0 +1,41 @@
+{
+ 'TOOLS': ['pnacl'],
+ 'SEARCH': [
+ '.',
+ '../../resources',
+ '../../../../native_client/tests/benchmark',
+ '../../../../native_client/src',
+ ],
+ 'TARGETS': [
+ {
+ 'NAME' : 'benchmarks',
+ 'TYPE' : 'main',
+ 'SOURCES' : [
+ 'benchmark_binarytrees_c.c',
+ 'benchmark_binarytrees.cc',
+ 'benchmark_chameneos_c.c',
+ 'benchmark_chameneos.cc',
+ 'benchmark_life.cc',
+ 'benchmark_nbody_c.c',
+ 'benchmark_nbody.cc',
+ 'framework.cc',
+ 'framework.h',
+ 'framework_ppapi.cc',
+ 'thread_pool.h',
+ 'thread_pool.cc'
+ ],
+ 'DEPS': ['ppapi_simple', 'nacl_io'],
+ 'LIBS': ['ppapi_simple', 'nacl_io', 'sdk_util', 'ppapi_cpp', 'ppapi', 'pthread']
bradn 2014/10/30 18:28:17 >80
+ }
+ ],
+ 'DATA': [
+ 'example.js',
+ 'third_party/computer_language_benchmarks_game/binarytrees.c',
+ 'third_party/computer_language_benchmarks_game/chameneos.c',
+ 'third_party/computer_language_benchmarks_game/nbody.c',
+ ],
+ 'DEST': 'examples/benchmarks',
+ 'NAME': 'benchmarks',
+ 'TITLE': "Benchmark Suite",
+ 'GROUP': 'Benchmarks'
+}
« no previous file with comments | « native_client_sdk/src/build_tools/sdk_files.list ('k') | native_client_sdk/src/examples/benchmarks/example.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698