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
3 # found in the LICENSE file.
9 # Set force_rlz_use_chrome_net to 1 to use chrome's network stack instead
11 'force_rlz_use_chrome_net%': 0,
14 ['force_rlz_use_chrome_net or OS=="mac"', {
15 'rlz_use_chrome_net%': 1,
17 'rlz_use_chrome_net%': 0,
28 'target_name': 'rlz_lib',
29 'type': 'static_library',
31 '../base/base.gyp:base',
32 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
38 'lib/crc32_wrapper.cc',
41 'lib/financial_ping.cc',
42 'lib/financial_ping.h',
49 'lib/rlz_lib_clear.cc',
51 'lib/rlz_value_store.h',
52 'lib/string_utils.cc',
54 'mac/lib/machine_id_mac.cc',
55 'mac/lib/rlz_value_store_mac.mm',
56 'mac/lib/rlz_value_store_mac.h',
57 'win/lib/lib_mutex.cc',
58 'win/lib/lib_mutex.h',
59 'win/lib/machine_deal.cc',
60 'win/lib/machine_deal.h',
61 'win/lib/machine_id_win.cc',
62 'win/lib/process_info.cc',
63 'win/lib/process_info.h',
64 'win/lib/registry_util.cc',
65 'win/lib/registry_util.h',
67 'win/lib/rlz_lib_win.cc',
68 'win/lib/rlz_value_store_registry.cc',
69 'win/lib/rlz_value_store_registry.h',
70 'win/lib/vista_winnt.h',
73 ['rlz_use_chrome_net==1', {
75 'RLZ_NETWORK_IMPLEMENTATION_CHROME_NET',
77 'direct_dependent_settings': {
79 'RLZ_NETWORK_IMPLEMENTATION_CHROME_NET',
83 '../build/temp_gyp/googleurl.gyp:googleurl',
88 'RLZ_NETWORK_IMPLEMENTATION_WIN_INET',
90 'direct_dependent_settings': {
92 'RLZ_NETWORK_IMPLEMENTATION_WIN_INET',
99 'target_name': 'rlz_unittests',
100 'type': 'executable',
103 '../base/base.gyp:base',
104 '../testing/gmock.gyp:gmock',
105 '../testing/gtest.gyp:gtest',
106 '../third_party/zlib/zlib.gyp:zlib',
109 'lib/crc32_unittest.cc',
110 'lib/crc8_unittest.cc',
111 'lib/financial_ping_test.cc',
112 'lib/lib_values_unittest.cc',
113 'lib/machine_id_unittest.cc',
114 'lib/rlz_lib_test.cc',
115 'lib/string_utils_unittest.cc',
116 'test/rlz_test_helpers.cc',
117 'test/rlz_test_helpers.h',
118 'test/rlz_unittest_main.cc',
119 'win/lib/machine_deal_test.cc',
122 ['rlz_use_chrome_net==1', {
124 '../net/net.gyp:net_test_support',
130 'target_name': 'rlz_id',
131 'type': 'executable',
136 'examples/rlz_id.cc',
144 'target_name': 'rlz',
145 'type': 'shared_library',
147 'win/dll/dll_main.cc',
148 'win/dll/exports.cc',
152 '../third_party/zlib/zlib.gyp:zlib',