aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objc_tools/xcodegen
Commit message (Collapse)AuthorAge
* Fix up generated project reference for frameworks.Gravatar Dave MacLachlan2015-11-05
| | | | | | | RELNOTES:none -- MOS_MIGRATED_REVID=107100206
* Separate BUILD file for options and docgen.Gravatar Han-Wen Nienhuys2015-10-16
| | | | | -- MOS_MIGRATED_REVID=105511114
* Fix an edge case in which we have imported libraries with duplicated base ↵Gravatar Rumou Duan2015-10-13
| | | | | | | | | names. A shell script build phase is added to copy the imported libraries to BUILT_PRODUCT_DIR with unique names before linking. -- MOS_MIGRATED_REVID=105324431
* Rename protobuf targets to xxx_proto.Gravatar Han-Wen Nienhuys2015-10-09
| | | | | -- MOS_MIGRATED_REVID=105054615
* Add imported static libraries to the list of libraries to link, instead of ↵Gravatar Rumou Duan2015-10-05
| | | | | | | specifying them as linker flags, and also add their associated library search paths. This makes sure the link order for libraries is consistent with Bazel build. -- MOS_MIGRATED_REVID=104524532
* Rationalize copyright headersGravatar Damien Martin-Guillerez2015-09-25
| | | | | | | | | | | The headers were modified with `find . -type f -exec 'sed' '-Ei' 's|Copyright 201([45]) Google|Copyright 201\1 The Bazel Authors|' '{}' ';'` And manual edit for not Google owned copyright. Because of the nature of ijar, I did not modified the header of file owned by Alan Donovan. The list of authors were extracted from the git log. It is missing older Google contributors that can be added on-demand. -- MOS_MIGRATED_REVID=103938715
* Turns bitcode off for the time being to make the Xcode project output match ↵Gravatar Dave MacLachlan2015-09-24
| | | | | | | what is being produced by bazel build. -- MOS_MIGRATED_REVID=103763760
* Changes dylibs from being part of the xcodeproject file references to being ↵Gravatar Dave MacLachlan2015-09-22
| | | | | | | | | | | arguments to OTHER_LDFLAGS. Command lines now use -l"name" to link libraries. This solves the problem that libraries in Xcode 7 now have .tbd files instead of dylibs in device builds and maintains backwards compatibility with Xcode 6. Also modifies Bazel Objclink action to pass in libraries as -l"name" arguments. RELNOTES:Adds support for dylibs on devices for Xcode 7. -- MOS_MIGRATED_REVID=103589448
* Set build setting VALID_ARCHS to be armv7,armv7s,arm64,x86_64.Gravatar Rumou Duan2015-09-21
| | | | | -- MOS_MIGRATED_REVID=103391699
* Fix a bug in which the XcodeGen generates two Xcode target with the same ↵Gravatar Rumou Duan2015-08-27
| | | | | | | | | name (case-insensitive). RELNOTES:None -- MOS_MIGRATED_REVID=101587647
* Experimental support for ios_framework rulesGravatar Dmitry Shevchenko2015-08-12
| | | | | | | | | | | | | | | | | | | | | * Allows for building and linking to a framework in ios_application * Currently only works for single arch builds * Xcode generation produces correct target type, but is mostly untested The implementation is very similar to that of objc_framework: 1) Build the ios_framework_binary as a dynamic library (-dynamiclib) 2) Symlink the library and public headers to a staging location, inside of "X.framework" bundle. Where X is the name under ios_framework_binary#framework_name 3) Pass the bundle content to ObjcCommon.addFrameworkImports, reusing the core of objc_framework rule implementation. This results in correctly set -F/-framework flags and allows clients to use the framework in a way they would use any SDK/3rd-party framework. It's allowed to import headers via #import <X/X.h> call. 4) Copy the binary and all resources into final application bundle under Frameworks/X.framework 5) Sign the app and nested frameworks -- MOS_MIGRATED_REVID=100397239
* Simplify Target Names in generated Xcode projects.Gravatar Googler2015-07-21
| | | | | | | | | | Compare: https://screenshot.googleplex.com/hzmgwbpUeuf RELNOTES:Target names in Xcode projects have been simplified. This may require recreating any schemes that you have defined. -- MOS_MIGRATED_REVID=98664733
* Update mainGroup sourceTree to be absolute instead of group.Gravatar Googler2015-06-29
| | | | | | | | | Currently the path of mainGroup is being set to an absolute path and the sourceTree is "<group>" (the default). Xcode doesn't seem to have a problem with this, but it is confusing other tools like AppCode. -- MOS_MIGRATED_REVID=96976734
* Set build setting ARCHS in generated XCode project file based on values ↵Gravatar Rumou Duan2015-06-23
| | | | | | | passed from Bazel. -- MOS_MIGRATED_REVID=96605573
* Remove architecture "armv7s" from the list of default architectures in ↵Gravatar Rumou Duan2015-06-17
| | | | | | | generated XCode project file. "armv7s" is no longer widely used. -- MOS_MIGRATED_REVID=96146625
* Added BUILD files for //src/objc_tools packageGravatar Damien Martin-Guillerez2015-06-03
| | | | | | | | | It didn't get exported last time for some reasons -- Change-Id: Ia7fa7bcdd0f06af6c4aa2bc7c26de4b7209f51f7 Reviewed-on: https://bazel-review.googlesource.com/#/c/1450/ MOS_MIGRATED_REVID=95025211
* Add a workspace_root optional field for message Control in xcodegen.proto. ↵Gravatar Rumou Duan2015-06-02
| | | | | | | Modify XcodeGen to use that field as workspace root if it is set. -- MOS_MIGRATED_REVID=94916387
* Rollback of commit 6d98f6c633ec4a12737544a149bc18c41a3c442a.Gravatar Rumou Duan2015-05-22
| | | | | | | | | | | | | *** Reason for rollback *** Revert source file symlink resolution in XcodeGen. Since source files are not inputs for the XcodeGen action, this does not work if the action is sandboxed. *** Original change description *** RELNOTES: Resolve symlinks when calculating the workspace root in XcodeGen. -- MOS_MIGRATED_REVID=94223656
* RELNOTES: Resolve symlinks when calculating the workspace root in XcodeGen.Gravatar Rumou Duan2015-05-22
| | | | | -- MOS_MIGRATED_REVID=94201067
* RELNOTES: XCodegen: escape double quotes in copts.Gravatar Googler2015-05-15
| | | | | -- MOS_MIGRATED_REVID=93684213
* Revert commit 49e14 (github) to fix issue in generated Xcode projectsGravatar David Santiago2015-05-11
| | | | | | | | | | | | | The commit this reverts caused generated Xcode projects to fail to find their files, as apparently the project.pbxproj file format does not expand $() variables in the mainGroup element. This commit simply restores the original xcodeproj generation logic, so files are found by Xcode. -- Change-Id: Id3cc57498384cc212ef41c30e9c5a4e5d3065e42 Reviewed-on: https://bazel-review.googlesource.com/#/c/1120 MOS_MIGRATED_REVID=93140923
* Improves the method xcodegen uses to find the workspace rootGravatar David Santiago2015-04-15
| | | | | | | | | | | | | | | | | This fixes an issue where xcodegen would generate .xcodeproj files that could not successfully be built by Xcode or xcodebuild. The issue was that the method used to find the workspace root was based on path-traversal logic starting on a file that was in bazel's directory. This resulted in an incorrect workspace root for projects that were not sharing a workspace with bazel itself. The new code finds a source file in the target list, takes its absolute path, and then walks up a directory for each path segment in its relative path. It uses the result as the workspace root. -- Change-Id: Id32eea56c8cc07289fce4e94046872552abeb416 MOS_MIGRATED_REVID=91095436
* Replaying commit 49e14592032ea5312e3866d8988c6900508abf2dGravatar Damien Martin-Guillerez2015-04-13
| | | | | | | It was unwillingly rolled-back by a previous commit. -- MOS_MIGRATED_REVID=90790741
* Enable external contribution on Objective-C tooling.Gravatar Damien Martin-Guillerez2015-04-13
| | | | | | | Also add missing Apache headers to the related protobuf files. -- MOS_MIGRATED_REVID=90787266
* Use variable to refer to main groupGravatar Daniel Wagner-Hall2015-04-09
| | | | | | | We currently hard-code this in two places, but should only do so in one -- MOS_MIGRATED_REVID=90698681
* Automated [] rollback of [].Gravatar Googler2015-03-27
| | | | | | | | | | | | | | | *** Reason for rollback *** This CL prevents Xcode from building due to referencing files relative to the target directory rather than the root of []. *** Original change description *** Change workspace_root to be SOURCE_ROOT, so that AppCode works *** -- MOS_MIGRATED_REVID=89604455
* Fixes the warnings that are generated by Xcode when building objc_library ↵Gravatar Googler2015-03-26
| | | | | | | targets that have dylibs associated to them. -- MOS_MIGRATED_REVID=89536149
* Remove common java code between objc tools and rules.Gravatar Peter Schmitt2015-03-23
| | | | | | | | | | As we are releasing the tools somewhat independently of the rules these utility dependencies make life a lot harder. I'm sad about losing some of the enum type-safety but being able to treat the code independently is more than worth it. -- MOS_MIGRATED_REVID=89137624
* Pass pre-processed label to Xcodegen so it can be used as an Xcode target ↵Gravatar Matthew DeVore2015-03-23
| | | | | | | | | name without any extra work in Xcodegen. Use this label to determ ine the *correct* built library. -- MOS_MIGRATED_REVID=89135635
* Change workspace_root to be SOURCE_ROOT, so that AppCode worksGravatar Googler2015-03-10
| | | | | -- MOS_MIGRATED_REVID=88117266
* Fix architecture names in XcodeGen (missing 'v').Gravatar Peter Schmitt2015-03-10
| | | | | -- MOS_MIGRATED_REVID=87983725
* Ensure that XCVersionGroup always has a file type.Gravatar Peter Schmitt2015-02-20
| | | | | | | Without this, xcode doesn't accept the data model's version group. -- MOS_MIGRATED_REVID=86796043
* Update from Google.Gravatar Han-Wen Nienhuys2015-02-25
-- MOE_MIGRATED_REVID=85702957