| 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 import("//testing/test.gni") | 8 import("//testing/test.gni") |
| 9 | 9 |
| 10 config("rlz_config") { | 10 config("rlz_config") { |
| 11 defines = [ "RLZ_NETWORK_IMPLEMENTATION_CHROME_NET" ] | 11 defines = [ "RLZ_NETWORK_IMPLEMENTATION_CHROME_NET" ] |
| 12 } | 12 } |
| 13 | 13 |
| 14 source_set("rlz_lib") { | 14 source_set("rlz_lib") { |
| 15 sources = [ | 15 sources = [ |
| 16 "chromeos/lib/machine_id_chromeos.cc", | 16 "chromeos/lib/machine_id_chromeos.cc", |
| 17 "chromeos/lib/rlz_value_store_chromeos.cc", | 17 "chromeos/lib/rlz_value_store_chromeos.cc", |
| 18 "chromeos/lib/rlz_value_store_chromeos.h", | 18 "chromeos/lib/rlz_value_store_chromeos.h", |
| 19 "ios/lib/machine_id_ios.cc", | 19 "ios/lib/machine_id_ios.cc", |
| 20 "lib/assert.cc", | 20 "lib/assert.cc", |
| 21 "lib/assert.h", | 21 "lib/assert.h", |
| 22 "lib/crc32.h", | 22 "lib/crc32.h", |
| 23 "lib/crc32_wrapper.cc", | 23 "lib/crc32_wrapper.cc", |
| 24 "lib/crc8.cc", |
| 24 "lib/crc8.h", | 25 "lib/crc8.h", |
| 25 "lib/crc8.cc", | |
| 26 "lib/financial_ping.cc", | 26 "lib/financial_ping.cc", |
| 27 "lib/financial_ping.h", | 27 "lib/financial_ping.h", |
| 28 "lib/lib_values.cc", | 28 "lib/lib_values.cc", |
| 29 "lib/lib_values.h", |
| 29 "lib/machine_id.cc", | 30 "lib/machine_id.cc", |
| 30 "lib/machine_id.h", | 31 "lib/machine_id.h", |
| 31 "lib/recursive_cross_process_lock_posix.cc", | 32 "lib/recursive_cross_process_lock_posix.cc", |
| 32 "lib/recursive_cross_process_lock_posix.h", | 33 "lib/recursive_cross_process_lock_posix.h", |
| 33 "lib/rlz_enums.h", | 34 "lib/rlz_enums.h", |
| 34 "lib/rlz_lib.cc", | 35 "lib/rlz_lib.cc", |
| 35 "lib/rlz_lib.h", | 36 "lib/rlz_lib.h", |
| 36 "lib/rlz_lib_clear.cc", | 37 "lib/rlz_lib_clear.cc", |
| 37 "lib/lib_values.h", | |
| 38 "lib/rlz_value_store.h", | 38 "lib/rlz_value_store.h", |
| 39 "lib/string_utils.cc", | 39 "lib/string_utils.cc", |
| 40 "lib/string_utils.h", | 40 "lib/string_utils.h", |
| 41 "mac/lib/machine_id_mac.cc", | 41 "mac/lib/machine_id_mac.cc", |
| 42 "mac/lib/rlz_value_store_mac.h", |
| 42 "mac/lib/rlz_value_store_mac.mm", | 43 "mac/lib/rlz_value_store_mac.mm", |
| 43 "mac/lib/rlz_value_store_mac.h", | |
| 44 "win/lib/lib_mutex.cc", | 44 "win/lib/lib_mutex.cc", |
| 45 "win/lib/lib_mutex.h", | 45 "win/lib/lib_mutex.h", |
| 46 "win/lib/machine_deal.cc", | 46 "win/lib/machine_deal.cc", |
| 47 "win/lib/machine_deal.h", | 47 "win/lib/machine_deal.h", |
| 48 "win/lib/machine_id_win.cc", | 48 "win/lib/machine_id_win.cc", |
| 49 "win/lib/process_info.cc", | 49 "win/lib/process_info.cc", |
| 50 "win/lib/process_info.h", | 50 "win/lib/process_info.h", |
| 51 "win/lib/registry_util.cc", | 51 "win/lib/registry_util.cc", |
| 52 "win/lib/registry_util.h", | 52 "win/lib/registry_util.h", |
| 53 "win/lib/rlz_lib_win.cc", | 53 "win/lib/rlz_lib_win.cc", |
| (...skipping 11 matching lines...) Expand all Loading... |
| 65 "//base/third_party/dynamic_annotations", | 65 "//base/third_party/dynamic_annotations", |
| 66 "//net", | 66 "//net", |
| 67 "//third_party/zlib", | 67 "//third_party/zlib", |
| 68 "//url", | 68 "//url", |
| 69 ] | 69 ] |
| 70 | 70 |
| 71 if (is_ios) { | 71 if (is_ios) { |
| 72 # These _mac files are also used on iOS. | 72 # These _mac files are also used on iOS. |
| 73 set_sources_assignment_filter([]) | 73 set_sources_assignment_filter([]) |
| 74 sources += [ | 74 sources += [ |
| 75 "mac/lib/rlz_value_store_mac.h", |
| 75 "mac/lib/rlz_value_store_mac.mm", | 76 "mac/lib/rlz_value_store_mac.mm", |
| 76 "mac/lib/rlz_value_store_mac.h", | |
| 77 ] | 77 ] |
| 78 set_sources_assignment_filter(sources_assignment_filter) | 78 set_sources_assignment_filter(sources_assignment_filter) |
| 79 } | 79 } |
| 80 } | 80 } |
| 81 | 81 |
| 82 source_set("test_support") { | 82 source_set("test_support") { |
| 83 testonly = true | 83 testonly = true |
| 84 sources = [ | 84 sources = [ |
| 85 "test/rlz_test_helpers.cc", | 85 "test/rlz_test_helpers.cc", |
| 86 "test/rlz_test_helpers.h", | 86 "test/rlz_test_helpers.h", |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 135 sources = [ | 135 sources = [ |
| 136 "win/dll/dll_main.cc", | 136 "win/dll/dll_main.cc", |
| 137 "win/dll/exports.cc", | 137 "win/dll/exports.cc", |
| 138 ] | 138 ] |
| 139 deps = [ | 139 deps = [ |
| 140 ":rlz_lib", | 140 ":rlz_lib", |
| 141 "//third_party/zlib", | 141 "//third_party/zlib", |
| 142 ] | 142 ] |
| 143 } | 143 } |
| 144 } | 144 } |
| OLD | NEW |