| Index: tools/cygprofile/BUILD.gn
|
| diff --git a/tools/cygprofile/BUILD.gn b/tools/cygprofile/BUILD.gn
|
| index f6408695d13f9d5346cee73731fec194be42f9d0..ca963af204bd45e72662a9f3c0f59bf1504f0f5c 100644
|
| --- a/tools/cygprofile/BUILD.gn
|
| +++ b/tools/cygprofile/BUILD.gn
|
| @@ -4,34 +4,38 @@
|
|
|
| static_library("cygprofile") {
|
| sources = [
|
| - "cygprofile.cc",
|
| - "cygprofile.h",
|
| + "cygprofile2.cc",
|
| + #"cygprofile.h",
|
| ]
|
|
|
| - configs -= [ "//build/config/android:default_cygprofile_instrumentation" ]
|
| - configs += [ "//build/config/android:no_cygprofile_instrumentation" ]
|
| + if (is_win) {
|
| + print(configs)
|
| + configs -= [ "//build/config/win:default_cygprofile_instrumentation" ]
|
| + configs += [ "//build/config/win:no_cygprofile_instrumentation" ]
|
| + }
|
| +
|
|
|
| - deps = [
|
| + #deps = [
|
| # This adds uninstrumented symbols to the static library from base.
|
| # These symbols are likely *not* to be used because there are many other
|
| # duplicates in other objects/libraries.
|
| - "//base",
|
| - ]
|
| + #"//base",
|
| + #]
|
| }
|
|
|
| -executable("cygprofile_unittests") {
|
| - testonly = true
|
| -
|
| - sources = [
|
| - "cygprofile_unittest.cc",
|
| - ]
|
| -
|
| - configs -= [ "//build/config/android:default_cygprofile_instrumentation" ]
|
| - configs += [ "//build/config/android:no_cygprofile_instrumentation" ]
|
| -
|
| - deps = [
|
| - ":cygprofile",
|
| - "//base",
|
| - "//testing/gtest",
|
| - ]
|
| -}
|
| +#executable("cygprofile_unittests") {
|
| +#testonly = true
|
| +#
|
| +#sources = [
|
| +#"cygprofile_unittest.cc",
|
| +#]
|
| +#
|
| +##configs -= [ "//build/config/win:default_cygprofile_instrumentation" ]
|
| +##configs += [ "//build/config/win:no_cygprofile_instrumentation" ]
|
| +#
|
| +#deps = [
|
| +#":cygprofile",
|
| +#"//base",
|
| +#"//testing/gtest",
|
| +#]
|
| +#}
|
|
|