1
0
mirror of https://github.com/golang/go synced 2024-11-12 05:30:21 -07:00
go/doc
Carlos Castillo 7861cd6082 cmd/go, go/build: support .m files
go/build is changed to list the .m files in a package, and match them for build constraints, adding them to a new field: Package.MFiles.

The go tool is changed to support building .m files and linking in the results during CGO and SWIG builds. This means packages that create a C interface to calls Objective-C code from go are now go-gettable without producing and distributing .syso files. This change is analogous to the one in Go 1.2 made to support C++ built code.

This change doesn't support .mm files (Objective C++).

Also added support for these MFiles to go list's -json mode.

Fixes #6536.

LGTM=iant
R=golang-codereviews, iant
CC=golang-codereviews
https://golang.org/cl/60590044
2014-02-13 10:11:44 -08:00
..
articles doc: restore race detector manual 2014-02-11 09:26:34 +11:00
codewalk doc: fix small HTML problems 2013-10-12 18:40:41 -04:00
devel doc: add Go 1.2 to release history page 2013-12-13 09:31:49 +11:00
gopher doc/gopher: add high-resolution pencil sketches 2012-12-12 10:51:13 -08:00
play doc: remove godocs.js and playground.js from core repo 2013-08-01 15:09:18 +10:00
progs doc/progs: don't try building cgo tests if CGO_ENABLED=0 2013-10-11 08:55:13 -07:00
asm.html doc/asm: more about SP, ARM R11 2013-11-13 21:29:34 -05:00
cmd.html doc: re-organize golang.org site content 2013-09-16 15:47:13 +10:00
code.html doc: update installation instructions 2013-11-21 07:55:29 +11:00
contrib.html doc/contrib.html: fix some tags 2013-10-15 18:41:23 +11:00
contribute.html 2014: Year of the Gopher. 2014-01-01 00:00:22 +11:00
debugging_with_gdb.html doc: correct some minor HTML errors found by tidy 2013-02-28 13:32:36 -08:00
docs.html doc: restore race detector manual 2014-02-11 09:26:34 +11:00
effective_go.html effective_go: move 'Type switch' section into 'Control structures' section. 2014-01-23 16:26:42 -08:00
gccgo_contribute.html doc: update gccgo docs 2013-06-20 14:49:15 -07:00
gccgo_install.html doc: update list of gccgo import search paths 2013-12-06 13:33:10 -08:00
go1.1.html doc: fix a few broken links 2013-10-09 07:05:43 +11:00
go1.2.html encoding/gob: do not use MarshalText, UnmarshalText 2013-11-13 21:29:19 -05:00
go1.3.txt cmd/go, go/build: support .m files 2014-02-13 10:11:44 -08:00
go1.html doc: re-organize golang.org site content 2013-09-16 15:47:13 +10:00
go1compat.html doc: re-organize golang.org site content 2013-09-16 15:47:13 +10:00
go_faq.html doc: change "threads" to "goroutines" 2013-12-12 18:48:40 -08:00
go_mem.html doc: move spec and memory model back to /ref/ 2013-10-04 09:45:06 +10:00
go_spec.html spec: tighten the wording around . imports 2014-01-14 15:16:01 -08:00
go-logo-black.png doc: pngcrush and remove old, unused images 2012-03-08 14:18:28 +11:00
go-logo-blue.png doc: pngcrush and remove old, unused images 2012-03-08 14:18:28 +11:00
go-logo-white.png doc: pngcrush and remove old, unused images 2012-03-08 14:18:28 +11:00
help.html doc: rename @go_nuts to @golang 2013-10-02 11:46:44 +10:00
ie.css golang.org redesign 2010-09-16 14:01:02 +10:00
install-source.html doc/install-source.html: mention make.bash to skip tests 2013-12-15 21:03:12 -05:00
install.html doc/install.html: get rid of explicit version number in docs. 2014-02-06 16:09:01 -05:00
logo-153x55.png doc: pngcrush and remove old, unused images 2012-03-08 14:18:28 +11:00
Makefile doc/progs: use test/run.go for testing on Windows 2012-09-03 03:49:03 +08:00
root.html doc: remove "Code that grows with grace" video from front page 2014-02-11 16:00:44 +11:00
share.png godoc: change link styles, add 'pop out' button 2012-03-13 11:00:11 +11:00
sieve.gif repair corrupted sieve.gif 2009-10-30 10:34:01 -07:00
tos.html doc: add Terms of Service 2012-03-27 09:27:43 +11:00