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

Side by Side Diff: tools/android/memtrack_helper/BUILD.gn

Issue 2389883004: Benchmark tools: Android memtrack_helper meaningful errors. (Closed)
Patch Set: nit Created 4 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 unified diff | Download patch
« no previous file with comments | « no previous file | tools/android/memtrack_helper/memtrack_helper.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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 # Unwind tables create a dependency on libc++. By removing them 5 # Unwind tables create a dependency on libc++. By removing them
6 # the final binary will not require anything more than libc and libdl. 6 # the final binary will not require anything more than libc, libdl and liblog.
7 # This makes its deployment easier in component=shared_library mode. 7 # This makes its deployment easier in component=shared_library mode.
8 config("android_binary_no_libcpp_config") { 8 config("android_binary_no_libcpp_config") {
9 cflags = [ 9 cflags = [
10 "-fno-unwind-tables", 10 "-fno-unwind-tables",
11 "-fno-asynchronous-unwind-tables", 11 "-fno-asynchronous-unwind-tables",
12 ] 12 ]
13 libs = [ "log" ]
13 } 14 }
14 15
15 executable("memtrack_helper") { 16 executable("memtrack_helper") {
16 sources = [ 17 sources = [
17 "memtrack_helper.c", 18 "memtrack_helper.c",
18 "memtrack_helper.h", 19 "memtrack_helper.h",
19 ] 20 ]
20 configs += [ ":android_binary_no_libcpp_config" ] 21 configs += [ ":android_binary_no_libcpp_config" ]
21 } 22 }
22 23
23 executable("memtrack_helper_test_client") { 24 executable("memtrack_helper_test_client") {
24 sources = [ 25 sources = [
25 "memtrack_helper.h", 26 "memtrack_helper.h",
26 "memtrack_helper_test_client.c", 27 "memtrack_helper_test_client.c",
27 ] 28 ]
28 configs += [ ":android_binary_no_libcpp_config" ] 29 configs += [ ":android_binary_no_libcpp_config" ]
29 } 30 }
OLDNEW
« no previous file with comments | « no previous file | tools/android/memtrack_helper/memtrack_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698