| OLD | NEW |
| (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 # GYP: //tools/cygprofile/cygprofile.gyp:cygprofile |
| 6 static_library("cygprofile") { |
| 7 sources = [ |
| 8 "cygprofile.cc", |
| 9 "cygprofile.h", |
| 10 ] |
| 11 |
| 12 configs -= [ "//build/config/android:default_finstrument_functions" ] |
| 13 configs += [ "//build/config/android:no_finstrument_functions" ] |
| 14 |
| 15 deps = [ |
| 16 # This adds uninstrumented symbols to the static library from base. |
| 17 # These symbols are likely *not* to be used because there are many other |
| 18 # duplicates in other objects/libraries. |
| 19 "//base", |
| 20 ] |
| 21 } |
| 22 |
| 23 # GYP: //tools/cygprofile/cygprofile.gyp:cygprofile_unittests |
| 24 executable("cygprofile_unittests") { |
| 25 testonly = true |
| 26 |
| 27 sources = [ |
| 28 "cygprofile_unittest.cc", |
| 29 ] |
| 30 |
| 31 configs -= [ "//build/config/android:default_finstrument_functions" ] |
| 32 configs += [ "//build/config/android:no_finstrument_functions" ] |
| 33 |
| 34 deps = [ |
| 35 ":cygprofile", |
| 36 "//base", |
| 37 "//testing/gtest", |
| 38 ] |
| 39 } |
| OLD | NEW |