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

Side by Side Diff: tools/android/heap_profiler/heap_profiler.gyp

Issue 323893002: [Android] Introduce libheap_profiler for memory profiling. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address pasko@#13 + rebase against move trees in 323873004 Created 6 years, 6 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
OLDNEW
(Empty)
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
3 # found in the LICENSE file.
4
5 {
6 'targets': [
7 {
8 # libheap_profiler is the library that will be preloaded in the Android
9 # Zygote and contains the black magic to hook malloc/mmap calls.
10 'target_name': 'heap_profiler',
11 'type': 'shared_library',
12 'include_dirs': [ '../../..' ],
13 'sources': [ 'heap_profiler_hooks_android.c' ],
14 'dependencies': [ 'heap_profiler_core' ],
15 },
16 {
17 # heap_profiler_core contains only the tracking metadata code without any
18 # hooks. It is required by both the hprof library itself and the unittest.
19 'target_name': 'heap_profiler_core',
20 'type': 'static_library',
21 'sources': [
22 'heap_profiler.c',
23 'heap_profiler.h',
24 ],
25 'include_dirs': [ '../../..' ],
26 },
27 {
28 'target_name': 'heap_dump',
29 'type': 'executable',
30 'sources': [ 'heap_dump.c' ],
31 'include_dirs': [ '../../..' ],
32 },
33 {
34 'target_name': 'heap_profiler_unittest',
35 'type': 'executable',
36 'sources': [ 'heap_profiler_unittest.cc' ],
37 'dependencies': [
38 'heap_profiler_core',
39 '../../../testing/gtest.gyp:gtest',
40 ],
41 'include_dirs': [ '../../..' ],
42 },
43 {
44 'target_name': 'heap_profiler_unittest_stripped',
45 'type': 'none',
46 'dependencies': [ 'heap_profiler_unittest' ],
47 'actions': [{
48 'action_name': 'strip heap_profiler_unittest',
49 'inputs': [ '<(PRODUCT_DIR)/heap_profiler_unittest' ],
50 'outputs': [ '<(PRODUCT_DIR)/heap_profiler_unittest_stripped' ],
51 'action': [ '<(android_strip)', '<@(_inputs)', '-o', '<@(_outputs)' ],
52 }],
53 },
54 {
55 'target_name': 'heap_profiler_integrationtest',
56 'type': 'executable',
57 'sources': [ 'heap_profiler_integrationtest.cc' ],
58 'dependencies': [ '../../../testing/gtest.gyp:gtest' ],
59 'include_dirs': [ '../../..' ],
60 },
61 {
62 'target_name': 'heap_profiler_integrationtest_stripped',
63 'type': 'none',
64 'dependencies': [ 'heap_profiler_integrationtest' ],
65 'actions': [{
66 'action_name': 'strip heap_profiler_integrationtest',
67 'inputs': [ '<(PRODUCT_DIR)/heap_profiler_integrationtest' ],
68 'outputs': [ '<(PRODUCT_DIR)/heap_profiler_integrationtest_stripped' ],
69 'action': [ '<(android_strip)', '<@(_inputs)', '-o', '<@(_outputs)' ],
70 }],
71 },
72 ],
73 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698