forked from rpwoodbu/mosh-chrome
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathWORKSPACE
160 lines (140 loc) · 5.94 KB
/
WORKSPACE
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
workspace(name = "mosh_chrome")
# The manifest of NaCl SDK versions can be found here:
# https://storage.googleapis.com/nativeclient-mirror/nacl/nacl_sdk/naclsdk_manifest2.json
# There are hardlinks in the stock NaCl SDK archive, and Bazel can't handle
# them. It just creates files of zero size. To work around this, I've hacked
# together a custom repository rule that just shells out to "tar". This isn't
# portable, but neither is the SDK.
#
# In the event that Bazel fixes this bug, here is the native rule:
#
# new_http_archive(
# name = "nacl_sdk",
# url = "https://storage.googleapis.com/nativeclient-mirror/nacl/nacl_sdk/49.0.2623.87/naclsdk_linux.tar.bz2",
# sha256 = "c53c14e5eaf6858e5b4a4e964c84d7774f03490be7986ab07c6792e807e05f14",
# strip_prefix = "pepper_49",
# build_file = "external_builds/BUILD.nacl_sdk",
# )
load(
"//:external_builds/new_http_tar_archive_hardlinks.bzl",
"new_http_tar_archive_hardlinks",
)
new_http_tar_archive_hardlinks(
name = "nacl_sdk",
url = "https://storage.googleapis.com/nativeclient-mirror/nacl/nacl_sdk/49.0.2623.87/naclsdk_linux.tar.bz2",
sha256 = "c53c14e5eaf6858e5b4a4e964c84d7774f03490be7986ab07c6792e807e05f14",
strip_components = 1,
build_file = "//:external_builds/BUILD.nacl_sdk",
)
new_http_archive(
name = "jsoncpp",
url = "https://gsdview.appspot.com/webports/builds/pepper_49/trunk-785-g807a23e/packages/jsoncpp_1.6.1_pnacl.tar.bz2",
sha256 = "eb6067b5fc463b3a3777365c9a0cb3da69acd1cffbd22f8e9b1a9eb630c0d1c8",
strip_prefix = "payload",
build_file = "external_builds/BUILD.jsoncpp",
)
new_http_archive(
name = "ncurses",
url = "https://gsdview.appspot.com/webports/builds/pepper_49/trunk-785-g807a23e/packages/ncurses_5.9_pnacl.tar.bz2",
sha256 = "5d654df56d146d593bdc855231d61f745460b182be83c4f081e824362042c6d7",
strip_prefix = "payload",
build_file = "external_builds/BUILD.ncurses",
)
new_http_archive(
name = "openssl",
url = "https://gsdview.appspot.com/webports/builds/pepper_49/trunk-785-g807a23e/packages/openssl_1.0.2e_pnacl.tar.bz2",
sha256 = "8ff02228adbd45c22a36611ffd0d47115d62e08bdfb5750977195cf19cb2b912",
strip_prefix = "payload",
build_file = "external_builds/BUILD.openssl",
)
new_http_archive(
name = "protobuf",
url = "https://gsdview.appspot.com/webports/builds/pepper_49/trunk-785-g807a23e/packages/protobuf_3.0.0-beta-2_pnacl.tar.bz2",
sha256 = "76780b202c2b692bbeef4b8ed5706563b9d5f02acb98d7bd6250fa00e2d6e1f9",
strip_prefix = "payload",
build_file = "external_builds/BUILD.protobuf",
)
new_http_archive(
name = "zlib",
url = "https://gsdview.appspot.com/webports/builds/pepper_49/trunk-785-g807a23e/packages/zlib_1.2.8_pnacl.tar.bz2",
sha256 = "99203f49edad39570a3362e72373ea1d63a97b9b1828b75e45d3e856d2832033",
strip_prefix = "payload",
build_file = "external_builds/BUILD.zlib",
)
new_http_archive(
name = "glibc_compat",
url = "https://gsdview.appspot.com/webports/builds/pepper_49/trunk-785-g807a23e/packages/glibc-compat_0.1_pnacl.tar.bz2",
sha256 = "3153933c99f161c41eb9205d7b30459fd8b367a67dcf942829182b2c15f541fd",
strip_prefix = "payload",
build_file = "external_builds/BUILD.glibc_compat",
)
new_git_repository(
name = "libssh",
remote = "https://github.com/rpwoodbu/libssh.git",
commit = "cdd4f3e3efb8758a53ebf34ac7b34d74d217158d", # branch = "mosh-chrome-patches"
build_file = "external_builds/BUILD.libssh",
)
new_git_repository(
name = "mosh",
remote = "https://github.com/rpwoodbu/mosh.git",
commit = "cf73e1f8799b01ad1ed9731c6b3d239b68509222", # tag = "mosh-1.3.2"
build_file = "external_builds/BUILD.mosh",
)
new_git_repository(
name = "libapps",
remote = "https://github.com/libapps/libapps-mirror.git",
commit = "2056832f0b287924110849cecbf1e5019c1a51c3", # tag = "hterm-1.80"
build_file = "external_builds/BUILD.libapps",
)
git_repository(
name = "com_google_protobuf",
remote = "https://github.com/google/protobuf.git",
commit = "ce044817c7ba0aea27c3fd8e496635d94d20a755", # tag = "v3.6.0.1"
)
git_repository(
name = "com_google_googletest",
remote = "https://github.com/google/googletest.git",
# Nothing special about this commit; this project simply doesn't have a
# recent release which includes Bazel support. Chose the same commit as
# found here:
# https://github.com/bazelbuild/bazel/blob/d3d86440e90a8cef8483dec83f06c8a6f644603e/WORKSPACE#L163
commit = "dfa853b63d17c787914b663b50c2095a0c5b706e",
)
# Google Style Guide includes cpplint.
new_git_repository(
name = "styleguide",
remote = "https://github.com/google/styleguide.git",
commit = "6d3a7d8a229e189f7a5bb7c3923363356625ece5", # From branch "gh-pages"
build_file = "external_builds/BUILD.styleguide",
)
#
# Stuff to build a "native" Windows app.
#
new_http_archive(
name = "msitools",
url = "http://ftp.gnome.org/pub/GNOME/sources/msitools/0.95/msitools-0.95.tar.xz",
sha256 = "977ea3744cf091a19a8d06eae149fa9ab0d5cd078cc224e8da92bc05dcba66da",
strip_prefix = "msitools-0.95",
build_file = "external_builds/BUILD.msitools",
)
new_http_archive(
name = "libgcab",
url = "http://ftp.gnome.org/pub/GNOME/sources/gcab/0.7/gcab-0.7.tar.xz",
sha256 = "a16e5ef88f1c547c6c8c05962f684ec127e078d302549f3dfd2291e167d4adef",
strip_prefix = "gcab-0.7",
build_file = "external_builds/BUILD.libgcab",
)
new_http_archive(
name = "nwjs_win_x64",
url = "https://dl.nwjs.io/v0.16.1/nwjs-sdk-v0.16.1-win-x64.zip",
sha256 = "ceaab5e221bb1503626cfee05de3564c406a350b43ee16f97130a3f25b8fd6ce",
strip_prefix = "nwjs-sdk-v0.16.1-win-x64",
build_file = "external_builds/BUILD.nwjs_win",
)
new_http_archive(
name = "nwjs_win_ia32",
url = "https://dl.nwjs.io/v0.16.1/nwjs-sdk-v0.16.1-win-ia32.zip",
sha256 = "0e43f5e699e83cf0ab51ebfd6ba62b7424a71ec4151949e60fbdc126745cc139",
strip_prefix = "nwjs-sdk-v0.16.1-win-ia32",
build_file = "external_builds/BUILD.nwjs_win",
)