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

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") {
8 sources = [
9 "heap_profiler_hooks_android.c",
10 ]
11 deps = [
12 ":heap_profiler_core",
13 ]
14 }
15
16 static_library("heap_profiler_core") {
agrieve 2015/09/28 14:58:54 nit: use source_set if possible
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") {
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
« no previous file with comments | « tools/android/file_poller/BUILD.gn ('k') | tools/android/heap_profiler/heap_profiler_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698