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 config("rlz_config") { | 8 config("rlz_config") { |
9 defines = [ "RLZ_NETWORK_IMPLEMENTATION_CHROME_NET" ] | 9 defines = [ "RLZ_NETWORK_IMPLEMENTATION_CHROME_NET" ] |
10 } | 10 } |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 deps = [ | 107 deps = [ |
108 ":rlz_lib", | 108 ":rlz_lib", |
109 ":test_support", | 109 ":test_support", |
110 "//base", | 110 "//base", |
111 "//base:prefs", | 111 "//base:prefs", |
112 "//net:test_support", | 112 "//net:test_support", |
113 "//testing/gmock", | 113 "//testing/gmock", |
114 "//testing/gtest", | 114 "//testing/gtest", |
115 "//third_party/zlib", | 115 "//third_party/zlib", |
116 ] | 116 ] |
| 117 |
| 118 if (is_win) { |
| 119 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 120 cflags = [ "/wd4267" ] |
| 121 } |
117 } | 122 } |
118 | 123 |
119 executable("rlz_id") { | 124 executable("rlz_id") { |
120 sources = [ | 125 sources = [ |
121 "examples/rlz_id.cc", | 126 "examples/rlz_id.cc", |
122 ] | 127 ] |
123 deps = [ | 128 deps = [ |
124 ":rlz_lib", | 129 ":rlz_lib", |
125 ] | 130 ] |
126 } | 131 } |
127 | 132 |
128 if (is_win) { | 133 if (is_win) { |
129 shared_library("rlz") { | 134 shared_library("rlz") { |
130 sources = [ | 135 sources = [ |
131 "win/dll/dll_main.cc", | 136 "win/dll/dll_main.cc", |
132 "win/dll/exports.cc", | 137 "win/dll/exports.cc", |
133 ] | 138 ] |
134 deps = [ | 139 deps = [ |
135 ":rlz_lib", | 140 ":rlz_lib", |
136 "//third_party/zlib", | 141 "//third_party/zlib", |
137 ] | 142 ] |
138 } | 143 } |
139 } | 144 } |
OLD | NEW |