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

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

Issue 1369153002: Port most of the remainder of //tools/android from GYP to GN (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
OLDNEW
(Empty)
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
3 # found in the LICENSE file.
4
5 import("//testing/test.gni")
6
7 shared_library("heap_profiler") {
Yaron 2015/09/28 21:35:25 Do you need to annotate the corresponding gyp file
pkotwicz 2015/09/29 14:24:52 I asked agrieve@ and he is not aware of any script
Dirk Pranke 2015/09/29 22:41:27 Correct. There is no need to annotate something to
8 sources = [
9 "heap_profiler_hooks_android.c",
10 ]
11 deps = [
12 ":heap_profiler_core",
13 ]
14 }
15
16 source_set("heap_profiler_core") {
17 sources = [
18 "heap_profiler.c",
19 "heap_profiler.h",
20 ]
21
22 configs -= [ "//build/config/compiler:chromium_code" ]
23 configs += [ "//build/config/compiler:no_chromium_code" ]
24 }
25
26 executable("heap_dump") {
27 sources = [
28 "heap_dump.c",
29 ]
30 }
31
32 test("heap_profiler_unittests") {
33 sources = [
34 "heap_profiler_unittest.cc",
35 ]
36 deps = [
37 ":heap_profiler_core",
38 "//testing/gtest",
39 "//testing/gtest:gtest_main",
40 ]
41 }
42
43 executable("heap_integrationtest") {
Yaron 2015/09/28 21:35:25 Are executables automatically stripped on android?
pkotwicz 2015/09/29 14:10:49 It looks like it. heap_integrationtest is present
44 testonly = true
45 sources = [
46 "heap_profiler_integrationtest.cc",
47 ]
48 deps = [
49 "//testing/gtest",
50 ]
51
52 configs -= [ "//build/config/compiler:chromium_code" ]
53 configs += [ "//build/config/compiler:no_chromium_code" ]
54 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698