| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 { | 5 { |
| 6 'targets': [ | 6 'targets': [ |
| 7 { | 7 { |
| 8 # libheap_profiler is the library that will be preloaded in the Android | 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. | 9 # Zygote and contains the black magic to hook malloc/mmap calls. |
| 10 'target_name': 'heap_profiler', | 10 'target_name': 'heap_profiler', |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 'include_dirs': [ '../../..' ], | 25 'include_dirs': [ '../../..' ], |
| 26 }, | 26 }, |
| 27 { | 27 { |
| 28 'target_name': 'heap_dump', | 28 'target_name': 'heap_dump', |
| 29 'type': 'executable', | 29 'type': 'executable', |
| 30 'sources': [ 'heap_dump.c' ], | 30 'sources': [ 'heap_dump.c' ], |
| 31 'include_dirs': [ '../../..' ], | 31 'include_dirs': [ '../../..' ], |
| 32 }, | 32 }, |
| 33 { | 33 { |
| 34 'target_name': 'heap_profiler_unittests', | 34 'target_name': 'heap_profiler_unittests', |
| 35 'type': 'executable', | 35 'type': '<(gtest_target_type)', |
| 36 'sources': [ 'heap_profiler_unittest.cc' ], | 36 'sources': [ 'heap_profiler_unittest.cc' ], |
| 37 'dependencies': [ | 37 'dependencies': [ |
| 38 'heap_profiler_core', | 38 'heap_profiler_core', |
| 39 '../../../testing/android/native_test.gyp:native_test_native_code', |
| 39 '../../../testing/gtest.gyp:gtest', | 40 '../../../testing/gtest.gyp:gtest', |
| 40 '../../../testing/gtest.gyp:gtest_main', | 41 '../../../testing/gtest.gyp:gtest_main', |
| 41 ], | 42 ], |
| 42 'include_dirs': [ '../../..' ], | 43 'include_dirs': [ '../../..' ], |
| 43 }, | 44 }, |
| 44 { | 45 { |
| 45 'target_name': 'heap_profiler_unittests_stripped', | 46 'target_name': 'heap_profiler_unittests_apk', |
| 46 'type': 'none', | 47 'type': 'none', |
| 47 'dependencies': [ 'heap_profiler_unittests' ], | 48 'dependencies': [ |
| 48 'actions': [{ | 49 'heap_profiler_unittests', |
| 49 'action_name': 'strip heap_profiler_unittests', | 50 ], |
| 50 'inputs': [ '<(PRODUCT_DIR)/heap_profiler_unittests' ], | 51 'variables': { |
| 51 'outputs': [ '<(PRODUCT_DIR)/heap_profiler_unittests_stripped' ], | 52 'test_suite_name': 'heap_profiler_unittests', |
| 52 'action': [ '<(android_strip)', '<@(_inputs)', '-o', '<@(_outputs)' ], | 53 }, |
| 53 }], | 54 'includes': [ '../../../build/apk_test.gypi' ], |
| 54 }, | 55 }, |
| 55 { | 56 { |
| 56 'target_name': 'heap_profiler_integrationtest', | 57 'target_name': 'heap_profiler_integrationtest', |
| 57 'type': 'executable', | 58 'type': 'executable', |
| 58 'sources': [ 'heap_profiler_integrationtest.cc' ], | 59 'sources': [ 'heap_profiler_integrationtest.cc' ], |
| 59 'dependencies': [ '../../../testing/gtest.gyp:gtest' ], | 60 'dependencies': [ '../../../testing/gtest.gyp:gtest' ], |
| 60 'include_dirs': [ '../../..' ], | 61 'include_dirs': [ '../../..' ], |
| 61 }, | 62 }, |
| 62 { | 63 { |
| 63 'target_name': 'heap_profiler_integrationtest_stripped', | 64 'target_name': 'heap_profiler_integrationtest_stripped', |
| 64 'type': 'none', | 65 'type': 'none', |
| 65 'dependencies': [ 'heap_profiler_integrationtest' ], | 66 'dependencies': [ 'heap_profiler_integrationtest' ], |
| 66 'actions': [{ | 67 'actions': [{ |
| 67 'action_name': 'strip heap_profiler_integrationtest', | 68 'action_name': 'strip heap_profiler_integrationtest', |
| 68 'inputs': [ '<(PRODUCT_DIR)/heap_profiler_integrationtest' ], | 69 'inputs': [ '<(PRODUCT_DIR)/heap_profiler_integrationtest' ], |
| 69 'outputs': [ '<(PRODUCT_DIR)/heap_profiler_integrationtest_stripped' ], | 70 'outputs': [ '<(PRODUCT_DIR)/heap_profiler_integrationtest_stripped' ], |
| 70 'action': [ '<(android_strip)', '<@(_inputs)', '-o', '<@(_outputs)' ], | 71 'action': [ '<(android_strip)', '<@(_inputs)', '-o', '<@(_outputs)' ], |
| 71 }], | 72 }], |
| 72 }, | 73 }, |
| 73 ], | 74 ], |
| 74 } | 75 } |
| OLD | NEW |