TBR renaming v.io/core/veyron to v.io/x/ref

(and getting rid of unused shell scripts)

MultiPart: 5/13
Change-Id: I09d9df0f4dc7df3d5ca5588513be27b08fe1fd4a
diff --git a/profiles/chrome/chromeinit.go b/profiles/chrome/chromeinit.go
index af7481b..45f2511 100644
--- a/profiles/chrome/chromeinit.go
+++ b/profiles/chrome/chromeinit.go
@@ -10,12 +10,12 @@
 	"v.io/v23/ipc"
 	"v.io/x/lib/vlog"
 
-	"v.io/core/veyron/lib/flags"
-	"v.io/core/veyron/lib/websocket"
-	"v.io/core/veyron/profiles/internal"
-	_ "v.io/core/veyron/runtimes/google/ipc/protocols/ws"
-	_ "v.io/core/veyron/runtimes/google/ipc/protocols/wsh_nacl"
-	grt "v.io/core/veyron/runtimes/google/rt"
+	"v.io/x/ref/lib/flags"
+	"v.io/x/ref/lib/websocket"
+	"v.io/x/ref/profiles/internal"
+	_ "v.io/x/ref/runtimes/google/ipc/protocols/ws"
+	_ "v.io/x/ref/runtimes/google/ipc/protocols/wsh_nacl"
+	grt "v.io/x/ref/runtimes/google/rt"
 )
 
 var commonFlags *flags.Flags
diff --git a/profiles/fake/fake_test.go b/profiles/fake/fake_test.go
index c81fc16..7952552 100644
--- a/profiles/fake/fake_test.go
+++ b/profiles/fake/fake_test.go
@@ -5,7 +5,7 @@
 
 	"v.io/v23"
 
-	_ "v.io/core/veyron/profiles/fake"
+	_ "v.io/x/ref/profiles/fake"
 )
 
 // Ensure that the fake profile can be used to initialize a fake runtime.
diff --git a/profiles/fake/runtime.go b/profiles/fake/runtime.go
index 19640e5..6a2e458 100644
--- a/profiles/fake/runtime.go
+++ b/profiles/fake/runtime.go
@@ -8,7 +8,7 @@
 	"v.io/v23/context"
 	"v.io/v23/security"
 
-	tsecurity "v.io/core/veyron/lib/testutil/security"
+	tsecurity "v.io/x/ref/lib/testutil/security"
 )
 
 type contextKey int
diff --git a/profiles/gce/init.go b/profiles/gce/init.go
index 4c1a3a4..663f07b 100644
--- a/profiles/gce/init.go
+++ b/profiles/gce/init.go
@@ -14,16 +14,16 @@
 	"v.io/v23/ipc"
 	"v.io/x/lib/vlog"
 
-	"v.io/core/veyron/lib/appcycle"
-	"v.io/core/veyron/lib/flags"
-	"v.io/core/veyron/lib/netstate"
-	"v.io/core/veyron/lib/websocket"
-	"v.io/core/veyron/profiles/internal"
-	"v.io/core/veyron/profiles/internal/gce"
-	_ "v.io/core/veyron/runtimes/google/ipc/protocols/tcp"
-	_ "v.io/core/veyron/runtimes/google/ipc/protocols/ws"
-	_ "v.io/core/veyron/runtimes/google/ipc/protocols/wsh"
-	grt "v.io/core/veyron/runtimes/google/rt"
+	"v.io/x/ref/lib/appcycle"
+	"v.io/x/ref/lib/flags"
+	"v.io/x/ref/lib/netstate"
+	"v.io/x/ref/lib/websocket"
+	"v.io/x/ref/profiles/internal"
+	"v.io/x/ref/profiles/internal/gce"
+	_ "v.io/x/ref/runtimes/google/ipc/protocols/tcp"
+	_ "v.io/x/ref/runtimes/google/ipc/protocols/ws"
+	_ "v.io/x/ref/runtimes/google/ipc/protocols/wsh"
+	grt "v.io/x/ref/runtimes/google/rt"
 )
 
 var commonFlags *flags.Flags
diff --git a/profiles/genericinit.go b/profiles/genericinit.go
index 430264a..1758b8d 100644
--- a/profiles/genericinit.go
+++ b/profiles/genericinit.go
@@ -8,14 +8,14 @@
 	"v.io/v23/ipc"
 	"v.io/x/lib/vlog"
 
-	"v.io/core/veyron/lib/appcycle"
-	"v.io/core/veyron/lib/flags"
-	"v.io/core/veyron/lib/websocket"
-	"v.io/core/veyron/profiles/internal"
-	_ "v.io/core/veyron/runtimes/google/ipc/protocols/tcp"
-	_ "v.io/core/veyron/runtimes/google/ipc/protocols/ws"
-	_ "v.io/core/veyron/runtimes/google/ipc/protocols/wsh"
-	grt "v.io/core/veyron/runtimes/google/rt"
+	"v.io/x/ref/lib/appcycle"
+	"v.io/x/ref/lib/flags"
+	"v.io/x/ref/lib/websocket"
+	"v.io/x/ref/profiles/internal"
+	_ "v.io/x/ref/runtimes/google/ipc/protocols/tcp"
+	_ "v.io/x/ref/runtimes/google/ipc/protocols/ws"
+	_ "v.io/x/ref/runtimes/google/ipc/protocols/wsh"
+	grt "v.io/x/ref/runtimes/google/rt"
 )
 
 var commonFlags *flags.Flags
diff --git a/profiles/internal/GO.PACKAGE b/profiles/internal/GO.PACKAGE
index 6322ad9..eaa997e 100644
--- a/profiles/internal/GO.PACKAGE
+++ b/profiles/internal/GO.PACKAGE
@@ -1,7 +1,7 @@
 {
 	"dependencies": {
 		"incoming": [
-			{"allow": "v.io/core/veyron/runtimes/google/ipc", "comment":"temporarily allowing dependency from veyron/runtimes/google/ipc"}
+			{"allow": "v.io/x/ref/runtimes/google/ipc", "comment":"temporarily allowing dependency from veyron/runtimes/google/ipc"}
 		]
 	}
 }
diff --git a/profiles/internal/gce_linux.go b/profiles/internal/gce_linux.go
index 2b42945..c03524d 100644
--- a/profiles/internal/gce_linux.go
+++ b/profiles/internal/gce_linux.go
@@ -7,7 +7,7 @@
 
 	"v.io/x/lib/vlog"
 
-	"v.io/core/veyron/profiles/internal/gce"
+	"v.io/x/ref/profiles/internal/gce"
 )
 
 // GCEPublicAddress returns the public IP address of the GCE instance
diff --git a/profiles/internal/util.go b/profiles/internal/util.go
index 8991c0d..90bac92 100644
--- a/profiles/internal/util.go
+++ b/profiles/internal/util.go
@@ -8,9 +8,9 @@
 	"v.io/v23/ipc"
 	"v.io/x/lib/vlog"
 
-	"v.io/core/veyron/lib/exec"
-	"v.io/core/veyron/lib/flags"
-	"v.io/core/veyron/lib/netstate"
+	"v.io/x/ref/lib/exec"
+	"v.io/x/ref/lib/flags"
+	"v.io/x/ref/lib/netstate"
 )
 
 // ParseFlags parses all registered flags taking into account overrides from other
diff --git a/profiles/roaming/net_watcher.go b/profiles/roaming/net_watcher.go
index 79271b4..89f0e97 100644
--- a/profiles/roaming/net_watcher.go
+++ b/profiles/roaming/net_watcher.go
@@ -9,8 +9,8 @@
 	"v.io/v23"
 	"v.io/v23/config"
 
-	"v.io/core/veyron/lib/netstate"
-	"v.io/core/veyron/profiles/roaming"
+	"v.io/x/ref/lib/netstate"
+	"v.io/x/ref/profiles/roaming"
 )
 
 func main() {
diff --git a/profiles/roaming/print_addrs.go b/profiles/roaming/print_addrs.go
index 2bef89d..98a82cd 100644
--- a/profiles/roaming/print_addrs.go
+++ b/profiles/roaming/print_addrs.go
@@ -4,7 +4,7 @@
 
 import (
 	"fmt"
-	"v.io/core/veyron/lib/netstate"
+	"v.io/x/ref/lib/netstate"
 )
 
 func main() {
diff --git a/profiles/roaming/roaming_server.go b/profiles/roaming/roaming_server.go
index 3845ae8..c029376 100644
--- a/profiles/roaming/roaming_server.go
+++ b/profiles/roaming/roaming_server.go
@@ -10,7 +10,7 @@
 	"v.io/v23/ipc"
 	"v.io/x/lib/vlog"
 
-	_ "v.io/core/veyron/profiles/roaming"
+	_ "v.io/x/ref/profiles/roaming"
 )
 
 func main() {
diff --git a/profiles/roaming/roaminginit.go b/profiles/roaming/roaminginit.go
index 6adc456..bc280fb 100644
--- a/profiles/roaming/roaminginit.go
+++ b/profiles/roaming/roaminginit.go
@@ -19,20 +19,20 @@
 	"v.io/v23/ipc"
 	"v.io/x/lib/vlog"
 
-	"v.io/core/veyron/lib/appcycle"
-	"v.io/core/veyron/lib/flags"
-	"v.io/core/veyron/lib/netconfig"
-	"v.io/core/veyron/lib/netstate"
-	"v.io/core/veyron/lib/websocket"
-	"v.io/core/veyron/profiles/internal"
-	_ "v.io/core/veyron/runtimes/google/ipc/protocols/tcp"
-	_ "v.io/core/veyron/runtimes/google/ipc/protocols/ws"
-	_ "v.io/core/veyron/runtimes/google/ipc/protocols/wsh"
-	grt "v.io/core/veyron/runtimes/google/rt"
-	"v.io/core/veyron/services/mgmt/debug"
+	"v.io/x/ref/lib/appcycle"
+	"v.io/x/ref/lib/flags"
+	"v.io/x/ref/lib/netconfig"
+	"v.io/x/ref/lib/netstate"
+	"v.io/x/ref/lib/websocket"
+	"v.io/x/ref/profiles/internal"
+	_ "v.io/x/ref/runtimes/google/ipc/protocols/tcp"
+	_ "v.io/x/ref/runtimes/google/ipc/protocols/ws"
+	_ "v.io/x/ref/runtimes/google/ipc/protocols/wsh"
+	grt "v.io/x/ref/runtimes/google/rt"
+	"v.io/x/ref/services/mgmt/debug"
 
 	// TODO(cnicolaou,ashankar): move this into flags.
-	sflag "v.io/core/veyron/security/flag"
+	sflag "v.io/x/ref/security/flag"
 )
 
 const (
diff --git a/profiles/static/staticinit.go b/profiles/static/staticinit.go
index 047fec7..d28e3be 100644
--- a/profiles/static/staticinit.go
+++ b/profiles/static/staticinit.go
@@ -8,19 +8,19 @@
 	"v.io/v23/ipc"
 	"v.io/x/lib/vlog"
 
-	"v.io/core/veyron/lib/appcycle"
-	"v.io/core/veyron/lib/flags"
-	"v.io/core/veyron/lib/netstate"
-	"v.io/core/veyron/lib/websocket"
-	"v.io/core/veyron/profiles/internal"
-	_ "v.io/core/veyron/runtimes/google/ipc/protocols/tcp"
-	_ "v.io/core/veyron/runtimes/google/ipc/protocols/ws"
-	_ "v.io/core/veyron/runtimes/google/ipc/protocols/wsh"
-	grt "v.io/core/veyron/runtimes/google/rt"
-	"v.io/core/veyron/services/mgmt/debug"
+	"v.io/x/ref/lib/appcycle"
+	"v.io/x/ref/lib/flags"
+	"v.io/x/ref/lib/netstate"
+	"v.io/x/ref/lib/websocket"
+	"v.io/x/ref/profiles/internal"
+	_ "v.io/x/ref/runtimes/google/ipc/protocols/tcp"
+	_ "v.io/x/ref/runtimes/google/ipc/protocols/ws"
+	_ "v.io/x/ref/runtimes/google/ipc/protocols/wsh"
+	grt "v.io/x/ref/runtimes/google/rt"
+	"v.io/x/ref/services/mgmt/debug"
 
 	// TODO(cnicolaou,ashankar): move this into flags.
-	sflag "v.io/core/veyron/security/flag"
+	sflag "v.io/x/ref/security/flag"
 )
 
 var commonFlags *flags.Flags