| OLD | NEW |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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 import("//testing/libfuzzer/fuzzer_test.gni") | 5 import("//testing/libfuzzer/fuzzer_test.gni") |
| 6 | 6 |
| 7 source_set("mac") { | 7 source_set("mac") { |
| 8 sources = [ | 8 sources = [ |
| 9 "dmg_analyzer.cc", | 9 "dmg_analyzer.cc", |
| 10 "dmg_analyzer.h", | 10 "dmg_analyzer.h", |
| 11 "dmg_iterator.cc", | 11 "dmg_iterator.cc", |
| 12 "dmg_iterator.h", | 12 "dmg_iterator.h", |
| 13 ] | 13 ] |
| 14 | 14 |
| 15 deps = [ | 15 deps = [ |
| 16 ":dmg_common", | 16 ":dmg_common", |
| 17 "//base", | 17 "//base", |
| 18 "//chrome/common", | 18 "//chrome/common", |
| 19 "//components/safe_browsing:csd_proto", | 19 "//components/safe_browsing/common:proto", |
| 20 ] | 20 ] |
| 21 } | 21 } |
| 22 | 22 |
| 23 config("dmg_public_config") { | 23 config("dmg_public_config") { |
| 24 libs = [ | 24 libs = [ |
| 25 "bz2", | 25 "bz2", |
| 26 "CoreFoundation.framework", | 26 "CoreFoundation.framework", |
| 27 ] | 27 ] |
| 28 } | 28 } |
| 29 | 29 |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 "fuzzer.cc", | 65 "fuzzer.cc", |
| 66 ] | 66 ] |
| 67 | 67 |
| 68 deps = [ | 68 deps = [ |
| 69 ":dmg_common", | 69 ":dmg_common", |
| 70 "//base", | 70 "//base", |
| 71 ] | 71 ] |
| 72 | 72 |
| 73 libfuzzer_options = [ "close_fd_mask=2" ] | 73 libfuzzer_options = [ "close_fd_mask=2" ] |
| 74 } | 74 } |
| OLD | NEW |