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

Unified Diff: chrome/installer/gcapi/BUILD.gn

Issue 1388943004: Add GCAPI to the GN build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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 | « chrome/common/BUILD.gn ('k') | chrome/installer/gcapi/gcapi.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/gcapi/BUILD.gn
diff --git a/chrome/installer/gcapi/BUILD.gn b/chrome/installer/gcapi/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..611ba992393dcc527f1b8fab161f0b0ab3bc4aa2
--- /dev/null
+++ b/chrome/installer/gcapi/BUILD.gn
@@ -0,0 +1,65 @@
+# Copyright 2015 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.
+
+import("//testing/test.gni")
+
+assert(is_win)
+
+shared_library("gcapi") {
+ output_name = "gcapi_dll"
+
+ sources = [
+ "gcapi.def",
+ "gcapi_dll.cc",
+ ]
+
+ deps = [
+ ":lib",
+ "//base",
+ ]
+}
+
+source_set("lib") {
+ sources = [
+ "gcapi.cc",
+ "gcapi.h",
+ "gcapi_omaha_experiment.cc",
+ "gcapi_omaha_experiment.h",
+ "gcapi_reactivation.cc",
+ "gcapi_reactivation.h",
+ ]
+
+ deps = [
+ "//base",
+ "//chrome/installer/util",
+ "//chrome/installer/launcher_support",
+ "//components/variations",
+ "//google_update",
+ ]
+}
+
+test("gcapi_test") {
+ sources = [
+ "gcapi_last_run_test.cc",
+ "gcapi_omaha_experiment_test.cc",
+ "gcapi_reactivation_test.cc",
+ "gcapi_test.cc",
+ "gcapi_test.rc",
+ "gcapi_test_registry_overrider.cc",
+ "gcapi_test_registry_overrider.h",
+ "resource.h",
+ ]
+
+ deps = [
+ ":lib",
+ "//base/test:test_support",
+ "//chrome/installer/util",
+ "//components/variations",
+ "//testing/gtest",
+ ]
+
+ data_deps = [
+ ":gcapi", # Runtime dependency on this DLL.
+ ]
+}
« no previous file with comments | « chrome/common/BUILD.gn ('k') | chrome/installer/gcapi/gcapi.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698