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

Unified Diff: components/domain_reliability/BUILD.gn

Issue 377393002: Add more components to GN build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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/domain_reliability.gypi ('k') | components/favicon.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/domain_reliability/BUILD.gn
diff --git a/components/domain_reliability/BUILD.gn b/components/domain_reliability/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..528d5d44ddc6c30aab6dd946dcbafab0c217f205
--- /dev/null
+++ b/components/domain_reliability/BUILD.gn
@@ -0,0 +1,62 @@
+# Copyright 2014 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.
+
+action("bake_in_configs") {
+ visibility = ":*"
+ script = "bake_in_configs.py"
+
+ inputs = [
+ "baked_in_configs/apis_google_com.json",
+ "baked_in_configs/ddm_google_com.json",
+ "baked_in_configs/drive_google_com.json",
+ "baked_in_configs/mail_google_com.json",
+ "baked_in_configs/ssl_gstatic_com.json",
+ "baked_in_configs/www_google_com.json",
+ "baked_in_configs/www_youtube_com.json",
+ ]
+ outputs = [
+ "$target_gen_dir/baked_in_configs.cc",
+ ]
+
+ args = rebase_path(inputs, root_build_dir) +
+ rebase_path(outputs, root_build_dir)
+}
+
+component("domain_reliability") {
+ sources = [
+ "baked_in_configs.h",
+ "beacon.cc",
+ "beacon.h",
+ "clear_mode.h",
+ "config.cc",
+ "config.h",
+ "context.cc",
+ "context.h",
+ "dispatcher.cc",
+ "dispatcher.h",
+ "domain_reliability_export.h",
+ "monitor.cc",
+ "monitor.h",
+ "scheduler.cc",
+ "scheduler.h",
+ "service.cc",
+ "service.h",
+ "uploader.cc",
+ "uploader.h",
+ "util.cc",
+ "util.h",
+ ]
+ sources += get_target_outputs(":bake_in_configs")
+
+ defines = [ "DOMAIN_RELIABILITY_IMPLEMENTATION" ]
+
+ deps = [
+ ":bake_in_configs",
+ "//base",
+ "//components/keyed_service/core",
+ "//content/public/browser",
+ "//net",
+ "//url",
+ ]
+}
« no previous file with comments | « components/domain_reliability.gypi ('k') | components/favicon.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698