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

Unified Diff: components/machine_intelligence/BUILD.gn

Issue 2925733002: Move ranker_model_loader to a new component. (Closed)
Patch Set: Adressing sdefresne's comments. Created 3 years, 6 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 | « components/data_use_measurement/core/data_use_user_data.cc ('k') | components/machine_intelligence/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/machine_intelligence/BUILD.gn
diff --git a/components/machine_intelligence/BUILD.gn b/components/machine_intelligence/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..e9d98df1a346f149fecb29e04687362b9045d0ba
--- /dev/null
+++ b/components/machine_intelligence/BUILD.gn
@@ -0,0 +1,39 @@
+# Copyright 2017 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+static_library("machine_intelligence") {
+ sources = [
+ "ranker_model.cc",
+ "ranker_model.h",
+ "ranker_model_loader.cc",
+ "ranker_model_loader.h",
+ "ranker_url_fetcher.cc",
+ "ranker_url_fetcher.h",
+ ]
+
+ deps = [
+ "//base",
+ "//components/data_use_measurement/core",
+ "//components/machine_intelligence/proto",
+ "//net",
+ "//url",
+ ]
+}
+
+source_set("unit_tests") {
+ testonly = true
+
+ sources = [
+ "ranker_model_loader_unittest.cc",
+ "ranker_model_unittest.cc",
+ ]
+
+ deps = [
+ ":machine_intelligence",
+ "//base",
+ "//components/machine_intelligence/proto",
+ "//net:test_support",
+ "//testing/gtest",
+ ]
+}
« no previous file with comments | « components/data_use_measurement/core/data_use_user_data.cc ('k') | components/machine_intelligence/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698