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

Unified Diff: tools/android/heap_profiler/heap_profiler.gyp

Issue 465223005: [Android] Turn heap_profiler_unittests into an apk and reenable them. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move to EXPERIMENTAL_TEST_SUITES Created 6 years, 4 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 | « build/android/pylib/gtest/gtest_config.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/android/heap_profiler/heap_profiler.gyp
diff --git a/tools/android/heap_profiler/heap_profiler.gyp b/tools/android/heap_profiler/heap_profiler.gyp
index f30b82375cdfa22e6fb0944d40b3f4734720f87a..50e6797cefab9a0a20400c76c883f08f090b56a5 100644
--- a/tools/android/heap_profiler/heap_profiler.gyp
+++ b/tools/android/heap_profiler/heap_profiler.gyp
@@ -32,25 +32,26 @@
},
{
'target_name': 'heap_profiler_unittests',
- 'type': 'executable',
+ 'type': '<(gtest_target_type)',
'sources': [ 'heap_profiler_unittest.cc' ],
'dependencies': [
'heap_profiler_core',
+ '../../../testing/android/native_test.gyp:native_test_native_code',
'../../../testing/gtest.gyp:gtest',
'../../../testing/gtest.gyp:gtest_main',
],
'include_dirs': [ '../../..' ],
},
{
- 'target_name': 'heap_profiler_unittests_stripped',
+ 'target_name': 'heap_profiler_unittests_apk',
'type': 'none',
- 'dependencies': [ 'heap_profiler_unittests' ],
- 'actions': [{
- 'action_name': 'strip heap_profiler_unittests',
- 'inputs': [ '<(PRODUCT_DIR)/heap_profiler_unittests' ],
- 'outputs': [ '<(PRODUCT_DIR)/heap_profiler_unittests_stripped' ],
- 'action': [ '<(android_strip)', '<@(_inputs)', '-o', '<@(_outputs)' ],
- }],
+ 'dependencies': [
+ 'heap_profiler_unittests',
+ ],
+ 'variables': {
+ 'test_suite_name': 'heap_profiler_unittests',
+ },
+ 'includes': [ '../../../build/apk_test.gypi' ],
},
{
'target_name': 'heap_profiler_integrationtest',
« no previous file with comments | « build/android/pylib/gtest/gtest_config.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698