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 16 matching lines...) Expand all Loading... |
27 'target_name': 'rlz_lib', | 27 'target_name': 'rlz_lib', |
28 'type': 'static_library', | 28 'type': 'static_library', |
29 'dependencies': [ | 29 'dependencies': [ |
30 '../base/base.gyp:base', | 30 '../base/base.gyp:base', |
31 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', | 31 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', |
32 ], | 32 ], |
33 'sources': [ | 33 'sources': [ |
34 'chromeos/lib/machine_id_chromeos.cc', | 34 'chromeos/lib/machine_id_chromeos.cc', |
35 'chromeos/lib/rlz_value_store_chromeos.cc', | 35 'chromeos/lib/rlz_value_store_chromeos.cc', |
36 'chromeos/lib/rlz_value_store_chromeos.h', | 36 'chromeos/lib/rlz_value_store_chromeos.h', |
| 37 'ios/lib/machine_id_ios.cc', |
37 'lib/assert.cc', | 38 'lib/assert.cc', |
38 'lib/assert.h', | 39 'lib/assert.h', |
39 'lib/crc32.h', | 40 'lib/crc32.h', |
40 'lib/crc32_wrapper.cc', | 41 'lib/crc32_wrapper.cc', |
41 'lib/crc8.h', | 42 'lib/crc8.h', |
42 'lib/crc8.cc', | 43 'lib/crc8.cc', |
43 'lib/financial_ping.cc', | 44 'lib/financial_ping.cc', |
44 'lib/financial_ping.h', | 45 'lib/financial_ping.h', |
45 'lib/lib_values.cc', | 46 'lib/lib_values.cc', |
46 'lib/machine_id.cc', | 47 'lib/machine_id.cc', |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 'defines': [ | 91 'defines': [ |
91 'RLZ_NETWORK_IMPLEMENTATION_WIN_INET', | 92 'RLZ_NETWORK_IMPLEMENTATION_WIN_INET', |
92 ], | 93 ], |
93 'direct_dependent_settings': { | 94 'direct_dependent_settings': { |
94 'defines': [ | 95 'defines': [ |
95 'RLZ_NETWORK_IMPLEMENTATION_WIN_INET', | 96 'RLZ_NETWORK_IMPLEMENTATION_WIN_INET', |
96 ], | 97 ], |
97 }, | 98 }, |
98 }], | 99 }], |
99 ], | 100 ], |
| 101 'target_conditions': [ |
| 102 # Need 'target_conditions' to override default filename_rules to include |
| 103 # the files on iOS. |
| 104 ['OS=="ios"', { |
| 105 'sources/': [ |
| 106 ['include', '^mac/lib/rlz_value_store_mac\\.'], |
| 107 ], |
| 108 }], |
| 109 ], |
100 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 110 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
101 'msvs_disabled_warnings': [ 4267, ], | 111 'msvs_disabled_warnings': [ 4267, ], |
102 }, | 112 }, |
103 { | 113 { |
104 'target_name': 'rlz_unittests', | 114 'target_name': 'rlz_unittests', |
105 'type': 'executable', | 115 'type': 'executable', |
106 'dependencies': [ | 116 'dependencies': [ |
107 ':rlz_lib', | 117 ':rlz_lib', |
108 '../base/base.gyp:base', | 118 '../base/base.gyp:base', |
109 '../base/base.gyp:base_prefs', | 119 '../base/base.gyp:base_prefs', |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 ], | 167 ], |
158 'dependencies': [ | 168 'dependencies': [ |
159 ':rlz_lib', | 169 ':rlz_lib', |
160 '../third_party/zlib/zlib.gyp:zlib', | 170 '../third_party/zlib/zlib.gyp:zlib', |
161 ], | 171 ], |
162 }, | 172 }, |
163 ], | 173 ], |
164 }], | 174 }], |
165 ], | 175 ], |
166 } | 176 } |
OLD | NEW |