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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 ":rlz_lib", | 113 ":rlz_lib", |
114 ":test_support", | 114 ":test_support", |
115 "//base", | 115 "//base", |
116 "//net:test_support", | 116 "//net:test_support", |
117 "//testing/gmock", | 117 "//testing/gmock", |
118 "//testing/gtest", | 118 "//testing/gtest", |
119 "//third_party/zlib", | 119 "//third_party/zlib", |
120 ] | 120 ] |
121 } | 121 } |
122 | 122 |
123 executable("rlz_id") { | 123 if (!is_ios) { |
124 sources = [ | 124 executable("rlz_id") { |
125 "examples/rlz_id.cc", | 125 sources = [ |
126 ] | 126 "examples/rlz_id.cc", |
127 deps = [ | 127 ] |
128 ":rlz_lib", | 128 deps = [ |
129 "//build/config/sanitizers:deps", | 129 ":rlz_lib", |
130 ] | 130 "//build/config/sanitizers:deps", |
| 131 ] |
| 132 } |
131 } | 133 } |
132 | 134 |
133 if (is_win) { | 135 if (is_win) { |
134 shared_library("rlz") { | 136 shared_library("rlz") { |
135 sources = [ | 137 sources = [ |
136 "win/dll/dll_main.cc", | 138 "win/dll/dll_main.cc", |
137 "win/dll/exports.cc", | 139 "win/dll/exports.cc", |
138 ] | 140 ] |
139 deps = [ | 141 deps = [ |
140 ":rlz_lib", | 142 ":rlz_lib", |
141 "//build/config/sanitizers:deps", | 143 "//build/config/sanitizers:deps", |
142 "//third_party/zlib", | 144 "//third_party/zlib", |
143 ] | 145 ] |
144 } | 146 } |
145 } | 147 } |
OLD | NEW |