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

Side by Side Diff: chrome/utility/safe_browsing/mac/BUILD.gn

Issue 2325783002: Split parts of //chrome/utility's BUILD.gn into //chrome/utility/safe_browsing/mac. (Closed)
Patch Set: gn check Created 4 years, 3 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
« no previous file with comments | « chrome/utility/BUILD.gn ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 # found in the LICENSE file.
4
5 import("//testing/libfuzzer/fuzzer_test.gni")
6
7 source_set("mac") {
8 sources = [
9 "dmg_analyzer.cc",
10 "dmg_analyzer.h",
11 "dmg_iterator.cc",
12 "dmg_iterator.h",
13 ]
14
15 deps = [
16 ":dmg_common",
17 "//base",
18 "//chrome/common",
19 "//chrome/common/safe_browsing:proto",
20 ]
21 }
22
23 config("dmg_public_config") {
24 libs = [
25 "bz2",
26 "CoreFoundation.framework",
27 ]
28 }
29
30 source_set("dmg_common") {
31 visibility = [ ":*" ]
32
33 sources = [
34 "convert_big_endian.h",
35 "hfs.cc",
36 "hfs.h",
37 "read_stream.cc",
38 "read_stream.h",
39 "udif.cc",
40 "udif.h",
41 ]
42
43 deps = [
44 "//base",
45 "//third_party/zlib",
46 ]
47
48 public_configs = [ ":dmg_public_config" ]
49 }
50
51 config("crdmg_private_config") {
52 visibility = [ ":crdmg" ]
53 cflags = [ "-Wno-partial-availability" ]
Nico 2016/09/08 22:29:12 Fix the warnings instead?
Robert Sesek 2016/09/08 22:43:05 It's from openat() and mkdirat() which are 10.10+.
Nico 2016/09/09 20:31:59 The warning just wants you to redeclare them, so t
Robert Sesek 2016/09/09 20:44:01 Do'h, done.
54 }
55
56 executable("crdmg") {
Nico 2016/09/08 22:29:12 Isn't that a new target? Advertise it in the cl de
Robert Sesek 2016/09/08 22:43:05 It's one I didn't port in the GN transition, since
Nico 2016/09/09 20:31:58 I'm just saying you should mention that in the CL
Robert Sesek 2016/09/09 20:44:01 Done.
57 sources = [
58 "crdmg.cc",
59 ]
60
61 deps = [
62 ":dmg_common",
63 "//base",
64 ]
65
66 configs += [ ":crdmg_private_config" ]
67 }
68
69 fuzzer_test("safe_browsing_dmg_fuzzer") {
70 sources = [
71 "fuzzer.cc",
72 ]
73
74 deps = [
75 ":dmg_common",
76 ]
77 }
OLDNEW
« no previous file with comments | « chrome/utility/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698