Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(650)

Unified Diff: rlz/BUILD.gn

Issue 2857343004: Add rlz_utils as a new build target to rlz/ (Closed)
Patch Set: build.gn fix Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | rlz/lib/net_response_check.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: rlz/BUILD.gn
diff --git a/rlz/BUILD.gn b/rlz/BUILD.gn
index 969e3fa9bd12439422a9ceeded6a6ab93184a263..f830d26a1ba2d6ee7b4c209e3978017a1a666198 100644
--- a/rlz/BUILD.gn
+++ b/rlz/BUILD.gn
@@ -17,27 +17,18 @@ source_set("rlz_lib") {
"chromeos/lib/rlz_value_store_chromeos.cc",
"chromeos/lib/rlz_value_store_chromeos.h",
"ios/lib/machine_id_ios.cc",
- "lib/assert.cc",
- "lib/assert.h",
- "lib/crc32.h",
- "lib/crc32_wrapper.cc",
"lib/crc8.cc",
"lib/crc8.h",
"lib/financial_ping.cc",
"lib/financial_ping.h",
- "lib/lib_values.cc",
- "lib/lib_values.h",
"lib/machine_id.cc",
"lib/machine_id.h",
"lib/recursive_cross_process_lock_posix.cc",
"lib/recursive_cross_process_lock_posix.h",
- "lib/rlz_enums.h",
"lib/rlz_lib.cc",
"lib/rlz_lib.h",
"lib/rlz_lib_clear.cc",
"lib/rlz_value_store.h",
- "lib/string_utils.cc",
- "lib/string_utils.h",
"mac/lib/machine_id_mac.cc",
"mac/lib/rlz_value_store_mac.h",
"mac/lib/rlz_value_store_mac.mm",
@@ -61,10 +52,10 @@ source_set("rlz_lib") {
public_configs = [ ":rlz_config" ]
deps = [
+ ":rlz_utils",
"//base",
"//base/third_party/dynamic_annotations",
"//net",
- "//third_party/zlib",
"//url",
]
@@ -86,6 +77,32 @@ source_set("rlz_lib") {
}
}
+source_set("rlz_utils") {
+ sources = [
+ "lib/assert.cc",
+ "lib/assert.h",
+ "lib/crc32.h",
+ "lib/crc32_wrapper.cc",
+ "lib/lib_values.cc",
+ "lib/lib_values.h",
+ "lib/net_response_check.cc",
+ "lib/net_response_check.h",
+ "lib/rlz_api.h",
+ "lib/rlz_enums.h",
+ "lib/string_utils.cc",
+ "lib/string_utils.h",
+ ]
+
+ public_configs = [ ":rlz_config" ]
+
+ deps = [
+ "//base",
+ "//net",
+ "//third_party/zlib",
+ "//url",
+ ]
+}
+
source_set("test_support") {
testonly = true
sources = [
@@ -118,6 +135,7 @@ test("rlz_unittests") {
deps = [
":rlz_lib",
+ ":rlz_utils",
":test_support",
"//base",
"//net:test_support",
@@ -148,6 +166,7 @@ if (is_win) {
]
deps = [
":rlz_lib",
+ ":rlz_utils",
"//build/config/sanitizers:deps",
"//third_party/zlib",
]
« no previous file with comments | « no previous file | rlz/lib/net_response_check.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698