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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 "mac/lib/rlz_value_store_mac.h", | 69 "mac/lib/rlz_value_store_mac.h", |
70 ] | 70 ] |
71 set_sources_assignment_filter(sources_assignment_filter) | 71 set_sources_assignment_filter(sources_assignment_filter) |
72 } else if (is_win) { | 72 } else if (is_win) { |
73 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 73 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
74 cflags = [ "/wd4267" ] | 74 cflags = [ "/wd4267" ] |
75 } | 75 } |
76 } | 76 } |
77 | 77 |
78 source_set("test_support") { | 78 source_set("test_support") { |
| 79 testonly = true |
79 sources = [ | 80 sources = [ |
80 "test/rlz_test_helpers.cc", | 81 "test/rlz_test_helpers.cc", |
81 "test/rlz_test_helpers.h", | 82 "test/rlz_test_helpers.h", |
82 ] | 83 ] |
83 deps = [ | 84 deps = [ |
84 ":rlz_lib", | 85 ":rlz_lib", |
85 "//base", | 86 "//base", |
86 "//base/test:test_support", | 87 "//base/test:test_support", |
87 "//testing/gtest", | 88 "//testing/gtest", |
88 ] | 89 ] |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 sources = [ | 128 sources = [ |
128 "win/dll/dll_main.cc", | 129 "win/dll/dll_main.cc", |
129 "win/dll/exports.cc", | 130 "win/dll/exports.cc", |
130 ] | 131 ] |
131 deps = [ | 132 deps = [ |
132 ":rlz_lib", | 133 ":rlz_lib", |
133 "//third_party/zlib", | 134 "//third_party/zlib", |
134 ] | 135 ] |
135 } | 136 } |
136 } | 137 } |
OLD | NEW |