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 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 Loading... |
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 } |
OLD | NEW |