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

Unified Diff: client/cmd/isolate/build_chromium.go

Issue 2922153002: Log uses of isolate archive and exparchive when 'chromium' build tag is set.
Patch Set: use build tags to enable autologging 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 | « client/cmd/isolate/archive.go ('k') | client/cmd/isolate/common.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/cmd/isolate/build_chromium.go
diff --git a/client/cmd/isolate/build_chromium.go b/client/cmd/isolate/build_chromium.go
new file mode 100644
index 0000000000000000000000000000000000000000..9a0c426081384897427cc176228728e4da452016
--- /dev/null
+++ b/client/cmd/isolate/build_chromium.go
@@ -0,0 +1,12 @@
+// Copyright 2017 The LUCI Authors. All rights reserved.
+// Use of this source code is governed under the Apache License, Version 2.0
+// that can be found in the LICENSE file.
+
+// +build chromium
+
+package main
+
+// autoLogProd returns whether to log eventlogs to prod when the --eventlog-endpoint is set to auto. When we are building for the chromium project, we automatically log usage.
+func autoEventlog() bool {
+ return true
+}
« no previous file with comments | « client/cmd/isolate/archive.go ('k') | client/cmd/isolate/common.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698