LEFT | RIGHT |
1 // Copyright 2012 The Go Authors. All rights reserved. | 1 // Copyright 2012 The Go Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style | 2 // Use of this source code is governed by a BSD-style |
3 // license that can be found in the LICENSE file. | 3 // license that can be found in the LICENSE file. |
4 | 4 |
5 // This file exercises the import parser but also checks that | 5 // This file exercises the import parser but also checks that |
6 // some low-level packages do not have new dependencies added. | 6 // some low-level packages do not have new dependencies added. |
7 | 7 |
8 package build | 8 package build |
9 | 9 |
10 import ( | 10 import ( |
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
195 "encoding/csv": {"L4"}, | 195 "encoding/csv": {"L4"}, |
196 "encoding/gob": {"L4", "OS"}, | 196 "encoding/gob": {"L4", "OS"}, |
197 "encoding/hex": {"L4"}, | 197 "encoding/hex": {"L4"}, |
198 "encoding/json": {"L4"}, | 198 "encoding/json": {"L4"}, |
199 "encoding/pem": {"L4"}, | 199 "encoding/pem": {"L4"}, |
200 "encoding/xml": {"L4"}, | 200 "encoding/xml": {"L4"}, |
201 "flag": {"L4", "OS"}, | 201 "flag": {"L4", "OS"}, |
202 "go/build": {"L4", "OS", "GOPARSER"}, | 202 "go/build": {"L4", "OS", "GOPARSER"}, |
203 "html": {"L4"}, | 203 "html": {"L4"}, |
204 "image/draw": {"L4"}, | 204 "image/draw": {"L4"}, |
205 » "image/gif": {"L4", "compress/lzw", "container/heap"}, | 205 » "image/gif": {"L4", "compress/lzw", "image/draw"}, |
206 "image/jpeg": {"L4"}, | 206 "image/jpeg": {"L4"}, |
207 "image/png": {"L4", "compress/zlib"}, | 207 "image/png": {"L4", "compress/zlib"}, |
208 "index/suffixarray": {"L4", "regexp"}, | 208 "index/suffixarray": {"L4", "regexp"}, |
209 "math/big": {"L4"}, | 209 "math/big": {"L4"}, |
210 "mime": {"L4", "OS", "syscall"}, | 210 "mime": {"L4", "OS", "syscall"}, |
211 "net/url": {"L4"}, | 211 "net/url": {"L4"}, |
212 "text/scanner": {"L4", "OS"}, | 212 "text/scanner": {"L4", "OS"}, |
213 "text/template/parse": {"L4"}, | 213 "text/template/parse": {"L4"}, |
214 | 214 |
215 "html/template": { | 215 "html/template": { |
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
421 } | 421 } |
422 | 422 |
423 for _, ctxt.GOOS = range geese { | 423 for _, ctxt.GOOS = range geese { |
424 for _, ctxt.GOARCH = range goarches { | 424 for _, ctxt.GOARCH = range goarches { |
425 for _, ctxt.CgoEnabled = range bools { | 425 for _, ctxt.CgoEnabled = range bools { |
426 test(false) | 426 test(false) |
427 } | 427 } |
428 } | 428 } |
429 } | 429 } |
430 } | 430 } |
LEFT | RIGHT |