OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 'variables': { | 8 'variables': { |
9 # Force rlz to use chrome's networking stack. | 9 # Force rlz to use chrome's networking stack. |
10 'force_rlz_use_chrome_net%': 1, | 10 'force_rlz_use_chrome_net%': 1, |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 'mac/lib/rlz_value_store_mac.h', | 61 'mac/lib/rlz_value_store_mac.h', |
62 'win/lib/lib_mutex.cc', | 62 'win/lib/lib_mutex.cc', |
63 'win/lib/lib_mutex.h', | 63 'win/lib/lib_mutex.h', |
64 'win/lib/machine_deal.cc', | 64 'win/lib/machine_deal.cc', |
65 'win/lib/machine_deal.h', | 65 'win/lib/machine_deal.h', |
66 'win/lib/machine_id_win.cc', | 66 'win/lib/machine_id_win.cc', |
67 'win/lib/process_info.cc', | 67 'win/lib/process_info.cc', |
68 'win/lib/process_info.h', | 68 'win/lib/process_info.h', |
69 'win/lib/registry_util.cc', | 69 'win/lib/registry_util.cc', |
70 'win/lib/registry_util.h', | 70 'win/lib/registry_util.h', |
71 'win/lib/rlz_lib.h', | |
72 'win/lib/rlz_lib_win.cc', | 71 'win/lib/rlz_lib_win.cc', |
73 'win/lib/rlz_value_store_registry.cc', | 72 'win/lib/rlz_value_store_registry.cc', |
74 'win/lib/rlz_value_store_registry.h', | 73 'win/lib/rlz_value_store_registry.h', |
75 ], | 74 ], |
76 'conditions': [ | 75 'conditions': [ |
77 ['rlz_use_chrome_net==1', { | 76 ['rlz_use_chrome_net==1', { |
78 'defines': [ | 77 'defines': [ |
79 'RLZ_NETWORK_IMPLEMENTATION_CHROME_NET', | 78 'RLZ_NETWORK_IMPLEMENTATION_CHROME_NET', |
80 ], | 79 ], |
81 'direct_dependent_settings': { | 80 'direct_dependent_settings': { |
(...skipping 22 matching lines...) Expand all Loading... |
104 ['OS=="ios"', { | 103 ['OS=="ios"', { |
105 'sources/': [ | 104 'sources/': [ |
106 ['include', '^mac/lib/rlz_value_store_mac\\.'], | 105 ['include', '^mac/lib/rlz_value_store_mac\\.'], |
107 ], | 106 ], |
108 }], | 107 }], |
109 ], | 108 ], |
110 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 109 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
111 'msvs_disabled_warnings': [ 4267, ], | 110 'msvs_disabled_warnings': [ 4267, ], |
112 }, | 111 }, |
113 { | 112 { |
| 113 'target_name': 'test_support_rlz', |
| 114 'type': 'static_library', |
| 115 'dependencies': [ |
| 116 ':rlz_lib', |
| 117 '../base/base.gyp:base', |
| 118 '../base/base.gyp:test_support_base', |
| 119 '../testing/gtest.gyp:gtest', |
| 120 ], |
| 121 'sources': [ |
| 122 'test/rlz_test_helpers.cc', |
| 123 'test/rlz_test_helpers.h', |
| 124 ], |
| 125 }, |
| 126 { |
114 'target_name': 'rlz_unittests', | 127 'target_name': 'rlz_unittests', |
115 'type': 'executable', | 128 'type': 'executable', |
116 'dependencies': [ | 129 'dependencies': [ |
117 ':rlz_lib', | 130 ':rlz_lib', |
| 131 ':test_support_rlz', |
118 '../base/base.gyp:base', | 132 '../base/base.gyp:base', |
119 '../base/base.gyp:base_prefs', | 133 '../base/base.gyp:base_prefs', |
120 '../testing/gmock.gyp:gmock', | 134 '../testing/gmock.gyp:gmock', |
121 '../testing/gtest.gyp:gtest', | 135 '../testing/gtest.gyp:gtest', |
122 '../third_party/zlib/zlib.gyp:zlib', | 136 '../third_party/zlib/zlib.gyp:zlib', |
123 ], | 137 ], |
124 'sources': [ | 138 'sources': [ |
125 'lib/crc32_unittest.cc', | 139 'lib/crc32_unittest.cc', |
126 'lib/crc8_unittest.cc', | 140 'lib/crc8_unittest.cc', |
127 'lib/financial_ping_test.cc', | 141 'lib/financial_ping_test.cc', |
128 'lib/lib_values_unittest.cc', | 142 'lib/lib_values_unittest.cc', |
129 'lib/machine_id_unittest.cc', | 143 'lib/machine_id_unittest.cc', |
130 'lib/rlz_lib_test.cc', | 144 'lib/rlz_lib_test.cc', |
131 'lib/string_utils_unittest.cc', | 145 'lib/string_utils_unittest.cc', |
132 'test/rlz_test_helpers.cc', | |
133 'test/rlz_test_helpers.h', | |
134 'test/rlz_unittest_main.cc', | 146 'test/rlz_unittest_main.cc', |
135 'win/lib/machine_deal_test.cc', | 147 'win/lib/machine_deal_test.cc', |
136 ], | 148 ], |
137 'conditions': [ | 149 'conditions': [ |
138 ['rlz_use_chrome_net==1', { | 150 ['rlz_use_chrome_net==1', { |
139 'dependencies': [ | 151 'dependencies': [ |
140 '../net/net.gyp:net_test_support', | 152 '../net/net.gyp:net_test_support', |
141 ], | 153 ], |
142 }], | 154 }], |
143 ], | 155 ], |
(...skipping 23 matching lines...) Expand all Loading... |
167 ], | 179 ], |
168 'dependencies': [ | 180 'dependencies': [ |
169 ':rlz_lib', | 181 ':rlz_lib', |
170 '../third_party/zlib/zlib.gyp:zlib', | 182 '../third_party/zlib/zlib.gyp:zlib', |
171 ], | 183 ], |
172 }, | 184 }, |
173 ], | 185 ], |
174 }], | 186 }], |
175 ], | 187 ], |
176 } | 188 } |
OLD | NEW |