• Russ Cox's avatar
    go/build: add BuildTags to Context, allow !tag · b5777571
    Russ Cox authored
    This lets the client of go/build specify additional tags that
    can be recognized in a // +build directive.  For example,
    a build for a custom environment like App Engine might
    include "appengine" in the BuildTags list, so that packages
    can be written with some files saying
    
            // +build appengine   (build only on app engine)
    
    or
    
            // +build !appengine  (build only when NOT on app engine)
    
    App Engine here is just a hypothetical context.  I plan to use
    this in the cmd/go sources to distinguish the bootstrap version
    of cmd/go (which will not use networking) from the full version
    using a custom tag.  It might also be useful in App Engine.
    
    Also, delete Build and Script, which we did not end up using for
    cmd/go and which never got turned on for real in goinstall.
    
    R=r, adg
    CC=golang-dev
    https://golang.org/cl/5554079
    b5777571
Name
Last commit
Last update
..
Makefile Loading commit data...
alert.go Loading commit data...
cipher_suites.go Loading commit data...
common.go Loading commit data...
conn.go Loading commit data...
conn_test.go Loading commit data...
generate_cert.go Loading commit data...
handshake_client.go Loading commit data...
handshake_client_test.go Loading commit data...
handshake_messages.go Loading commit data...
handshake_messages_test.go Loading commit data...
handshake_server.go Loading commit data...
handshake_server_test.go Loading commit data...
key_agreement.go Loading commit data...
parse-gnutls-cli-debug-log.py Loading commit data...
prf.go Loading commit data...
prf_test.go Loading commit data...
root_darwin.go Loading commit data...
root_stub.go Loading commit data...
root_test.go Loading commit data...
root_unix.go Loading commit data...
root_windows.go Loading commit data...
tls.go Loading commit data...