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

Unified Diff: third_party/go/src/golang.org/x/mobile/app/desktop.go

Issue 1275153002: Remove third_party/golang.org/x/mobile as it is no longer used with Go 1.5. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Remove golang.org/x/mobile Created 5 years, 4 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
Index: third_party/go/src/golang.org/x/mobile/app/desktop.go
diff --git a/third_party/go/src/golang.org/x/mobile/app/desktop.go b/third_party/go/src/golang.org/x/mobile/app/desktop.go
deleted file mode 100644
index 12434b2bc2941f6a14db8b13334727f48bb8d9f2..0000000000000000000000000000000000000000
--- a/third_party/go/src/golang.org/x/mobile/app/desktop.go
+++ /dev/null
@@ -1,25 +0,0 @@
-// Copyright 2014 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// +build linux,!android darwin
-
-package app
-
-import (
- "os"
- "path/filepath"
-)
-
-// Logic shared by desktop debugging implementations.
-
-func openAsset(name string) (ReadSeekCloser, error) {
- if !filepath.IsAbs(name) {
- name = filepath.Join("assets", name)
- }
- f, err := os.Open(name)
- if err != nil {
- return nil, err
- }
- return f, nil
-}
« no previous file with comments | « third_party/go/src/golang.org/x/mobile/app/debug/fps.go ('k') | third_party/go/src/golang.org/x/mobile/app/doc.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698