OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 # Note that this build file assumes rlz_use_chrome_net which is a condition in | 5 # Note that this build file assumes rlz_use_chrome_net which is a condition in |
6 # the GYP file, but is always true for Chrome builds. | 6 # the GYP file, but is always true for Chrome builds. |
7 | 7 |
8 import("//testing/test.gni") | 8 import("//testing/test.gni") |
9 | 9 |
10 config("rlz_config") { | 10 config("rlz_config") { |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 public_configs = [ ":rlz_config" ] | 61 public_configs = [ ":rlz_config" ] |
62 | 62 |
63 deps = [ | 63 deps = [ |
64 "//base", | 64 "//base", |
65 "//base/third_party/dynamic_annotations", | 65 "//base/third_party/dynamic_annotations", |
66 "//net", | 66 "//net", |
67 "//third_party/zlib", | 67 "//third_party/zlib", |
68 "//url", | 68 "//url", |
69 ] | 69 ] |
70 | 70 |
| 71 if (is_mac) { |
| 72 libs = [ |
| 73 "Foundation.framework", |
| 74 "IOKit.framework", |
| 75 ] |
| 76 } |
| 77 |
71 if (is_ios) { | 78 if (is_ios) { |
72 # These _mac files are also used on iOS. | 79 # These _mac files are also used on iOS. |
73 set_sources_assignment_filter([]) | 80 set_sources_assignment_filter([]) |
74 sources += [ | 81 sources += [ |
75 "mac/lib/rlz_value_store_mac.h", | 82 "mac/lib/rlz_value_store_mac.h", |
76 "mac/lib/rlz_value_store_mac.mm", | 83 "mac/lib/rlz_value_store_mac.mm", |
77 ] | 84 ] |
78 set_sources_assignment_filter(sources_assignment_filter) | 85 set_sources_assignment_filter(sources_assignment_filter) |
79 } | 86 } |
80 } | 87 } |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
139 "win/dll/dll_main.cc", | 146 "win/dll/dll_main.cc", |
140 "win/dll/exports.cc", | 147 "win/dll/exports.cc", |
141 ] | 148 ] |
142 deps = [ | 149 deps = [ |
143 ":rlz_lib", | 150 ":rlz_lib", |
144 "//build/config/sanitizers:deps", | 151 "//build/config/sanitizers:deps", |
145 "//third_party/zlib", | 152 "//third_party/zlib", |
146 ] | 153 ] |
147 } | 154 } |
148 } | 155 } |
OLD | NEW |