| 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 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 147 } | 147 } |
| 148 } | 148 } |
| 149 | 149 |
| 150 if (!is_ios && !is_android) { | 150 if (!is_ios && !is_android) { |
| 151 executable("rlz_id") { | 151 executable("rlz_id") { |
| 152 sources = [ | 152 sources = [ |
| 153 "examples/rlz_id.cc", | 153 "examples/rlz_id.cc", |
| 154 ] | 154 ] |
| 155 deps = [ | 155 deps = [ |
| 156 ":rlz_lib", | 156 ":rlz_lib", |
| 157 "//build/config/sanitizers:deps", | 157 "//build/config:exe_and_shlib_deps", |
| 158 "//build/win:default_exe_manifest", | 158 "//build/win:default_exe_manifest", |
| 159 ] | 159 ] |
| 160 } | 160 } |
| 161 } | 161 } |
| 162 | 162 |
| 163 if (is_win) { | 163 if (is_win) { |
| 164 shared_library("rlz") { | 164 shared_library("rlz") { |
| 165 sources = [ | 165 sources = [ |
| 166 "win/dll/dll_main.cc", | 166 "win/dll/dll_main.cc", |
| 167 "win/dll/exports.cc", | 167 "win/dll/exports.cc", |
| 168 ] | 168 ] |
| 169 deps = [ | 169 deps = [ |
| 170 ":rlz_lib", | 170 ":rlz_lib", |
| 171 ":rlz_utils", | 171 ":rlz_utils", |
| 172 "//build/config/sanitizers:deps", | 172 "//build/config:exe_and_shlib_deps", |
| 173 "//third_party/zlib", | 173 "//third_party/zlib", |
| 174 ] | 174 ] |
| 175 } | 175 } |
| 176 } | 176 } |
| OLD | NEW |