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

Side by Side Diff: build/secondary/third_party/crashpad/crashpad/compat/BUILD.gn

Issue 1919373002: [Mac/GN] Fix Crashpad build and include some targets in gn_all. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 | « 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
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 config("compat_config") { 5 config("compat_config") {
6 include_dirs = []
7
6 if (is_win) { 8 if (is_win) {
7 include_dirs = [ "win" ] 9 include_dirs += [ "win" ]
8 } else if (is_mac) { 10 } else {
9 include_dirs = [ 11 include_dirs += [ "non_win" ]
12 }
13
14 if (is_mac) {
15 include_dirs += [
10 "mac", 16 "mac",
11 "non_cxx11_lib", 17 "non_cxx11_lib",
12 ] 18 ]
13 } 19 }
14 } 20 }
15 21
16 source_set("compat") { 22 source_set("compat") {
17 sources = [] 23 sources = []
18 if (is_mac) { 24 if (is_mac) {
19 sources += [ 25 sources += [
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 60
55 public_configs = [ ":compat_config" ] 61 public_configs = [ ":compat_config" ]
56 62
57 deps = [] 63 deps = []
58 if (is_mac) { 64 if (is_mac) {
59 deps += [ "//third_party/crashpad/crashpad/third_party/apple_cctools" ] 65 deps += [ "//third_party/crashpad/crashpad/third_party/apple_cctools" ]
60 } else if (is_win) { 66 } else if (is_win) {
61 deps += [ "//third_party/crashpad/crashpad/third_party/getopt" ] 67 deps += [ "//third_party/crashpad/crashpad/third_party/getopt" ]
62 } 68 }
63 } 69 }
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698