| OLD | NEW |
| 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 source_set("common") { | 5 source_set("common") { |
| 6 sources = [ | 6 sources = [ |
| 7 "crash_keys.cc", | 7 "crash_keys.cc", |
| 8 "crash_keys.h", | 8 "crash_keys.h", |
| 9 ] | 9 ] |
| 10 | 10 |
| 11 deps = [ | 11 deps = [ |
| 12 "//base", | 12 "//base", |
| 13 ] | 13 ] |
| 14 | 14 |
| 15 if (is_mac || is_ios) { | 15 if (is_mac || is_ios) { |
| 16 sources += [ | 16 sources += [ |
| 17 "objc_zombie.h", | 17 "objc_zombie.h", |
| 18 "objc_zombie.mm", | 18 "objc_zombie.mm", |
| 19 ] | 19 ] |
| 20 } | 20 } |
| 21 } | 21 } |
| 22 | 22 |
| 23 source_set("unit_tests") { | 23 source_set("unit_tests") { |
| 24 testonly = true | 24 testonly = true |
| 25 sources = [ |
| 26 "crash_keys_unittest.cc", |
| 27 ] |
| 28 |
| 29 deps = [ |
| 30 ":common", |
| 31 "//base", |
| 32 "//testing/gtest", |
| 33 ] |
| 34 |
| 25 if (is_mac || is_ios) { | 35 if (is_mac || is_ios) { |
| 26 sources = [ | 36 sources += [ "objc_zombie_unittest.mm" ] |
| 27 "objc_zombie_unittest.mm", | |
| 28 ] | |
| 29 deps = [ | |
| 30 ":common", | |
| 31 "//base", | |
| 32 "//testing/gtest", | |
| 33 ] | |
| 34 } | 37 } |
| 35 } | 38 } |
| OLD | NEW |