aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objc_tools
Commit message (Collapse)AuthorAge
* Replace instances of Blaze with Bazel.Gravatar Dan Fabulich2018-07-05
| | | | | | | PiperOrigin-RevId: 203300374 Change-Id: Iaa47f870ab2e0cad40a202aad2c7f9430f73c856 PiperOrigin-RevId: 203407392
* Remove use of bare Immutable{List,Map,Set} Builder classes.Gravatar jcater2018-04-20
| | | | | | Always use the more-qualified class name for clarity at the site of use. There are too many classes named Builder. PiperOrigin-RevId: 193649193
* Make the @Option annotation depend on the java version of the tagging enums.Gravatar ccalvarin2017-07-18
| | | | | | | The option filters proto dependency can be removed from the OptionsParser. This is in response to option parser users that want to avoid the bazel-internal proto file in their dependencies. RELNOTES: None. PiperOrigin-RevId: 162249778
* Enforce the new category and effect tags.Gravatar ccalvarin2017-07-03
| | | | | | | | | | All options need to explicitly list their category and effect. If they are uncategorized, this makes the lack of information obvious. Remove defaults from the annotation to enforce this. Also enforce the sanity check that no option should have UNKNOWN or NO_OP effects listed with other effect tags. Includes some last default sets for options I missed in the previous mass-setting change, and some that were added since. PiperOrigin-RevId: 160641861
* Remove remaining xcodegen references.Gravatar schmitt2017-06-26
| | | | | | | Deletes last code references to xcodegen tool as well as tool itself. RELNOTES: None. PiperOrigin-RevId: 160137807
* Global cleanup change.Gravatar Liam Miller-Cushon2017-03-23
| | | | | | -- PiperOrigin-RevId: 150886657 MOS_MIGRATED_REVID=150886657
* Use //third_party/protobuf:protobuf_java instead of ↵Gravatar Carmi Grushko2017-02-09
| | | | | | | | | | | | //third_party/protobuf:protobuf to refer to the Java proto runtime. (second attempt) This is the name in the upstream protobuf repo. -- PiperOrigin-RevId: 147057949 MOS_MIGRATED_REVID=147057949
* Framework paths marked for search paths only are appropriately propagated toGravatar Cal Peyser2016-05-25
| | | | | | | xcodeproj. -- MOS_MIGRATED_REVID=123152775
* Always output entitlements plist in the XML formatGravatar Googler2016-04-25
| | | | | | | Adding --extra_entitlements flag to a build triggers a merge of entitlements files using plmerge tool. Configure build rules to output the resulting plist file in the XML format. Bundles signed with entitlements in the binary format fail to load on device. -- MOS_MIGRATED_REVID=120588271
* Adding ProductType for watch OS 1 extension and application.Gravatar Googler2016-03-24
| | | | | | | RELNOTES: Add ProductType for watch OS 1 extension and application. -- MOS_MIGRATED_REVID=118003005
* Add Python protobuf to Bazel third_party and move all protobuf targets intoGravatar David Chen2016-03-17
| | | | | | | //third_party/protobuf. -- MOS_MIGRATED_REVID=117336377
* If bundlemerge was called without a bundleInfoPlistFile it would generate an ↵Gravatar Dave MacLachlan2016-03-08
| | | | | | | empty plist file. Added test to verify this doesn't get broken in the future. -- MOS_MIGRATED_REVID=116670228
* Add a bazel-srcs target to the top-level package containing all Bazel sourcesGravatar Damien Martin-Guillerez2016-02-29
| | | | | | | | This target include all non tests targets of Bazel to do integration tests of bootstrapping. -- MOS_MIGRATED_REVID=115830741
* Simplify plmerge and bundlemerge by removing deprecated functionality.Gravatar Dave MacLachlan2016-02-29
| | | | | | | RELNOTES: -- MOS_MIGRATED_REVID=115804885
* Simplify plmerge getting rid of command line options that are no longer used.Gravatar Dave MacLachlan2016-02-24
| | | | | -- MOS_MIGRATED_REVID=115393203
* Rename proto dependencies to include a _java component in them.Gravatar Julio Merino2016-02-23
| | | | | | | | While doing this, homogenize the two dependencies on build.proto (via build_proto and build_proto_v2) into a single build_java_proto. -- MOS_MIGRATED_REVID=115328219
* Fixes a bug for the case where a protobuf is used to supply arguments, where ↵Gravatar Googler2015-12-22
| | | | | | | bundle id, if not specified, would have a value of the empty string instead of null. -- MOS_MIGRATED_REVID=110724117
* plmerge optionally consumes an executable name. This is necessary to ensure ↵Gravatar Googler2015-12-16
| | | | | | | that Blaze can assign a default executable name, for when CFBundleExecutable is not given. -- MOS_MIGRATED_REVID=110363400
* Bundlemerge optionally takes a completed plist to bundle into the archive, ↵Gravatar Googler2015-12-13
| | | | | | | | | instead of multiple plists to merge and variable substitutions to apply. The new key bundle_info_plist_file, gives the path to the completed plist. If it is defined, the keys source_plist_file and variable_substitution are not used. -- MOS_MIGRATED_REVID=110010012
* Plmerge takes an optional automatic_entries_file key, which distinguishes ↵Gravatar Googler2015-12-11
| | | | | | | the automatic entries from the other plist files to be merged. -- MOS_MIGRATED_REVID=109998193
* Plmerge receives arguments by a protobuf, introduces variable substitutions ↵Gravatar Googler2015-12-08
| | | | | | | | | to plmerge. As of this change plmerge can consume either a protobuf or command line arguments. Once bazel uses plmerge strictly with protobufs, the command line arguments will be deprecated. -- MOS_MIGRATED_REVID=109716003
* Add a separate BUILD file for singlejar zip library.Gravatar Han-Wen Nienhuys2015-11-25
| | | | | -- MOS_MIGRATED_REVID=108622328
* Fix up generated project reference for frameworks.Gravatar Dave MacLachlan2015-11-05
| | | | | | | RELNOTES:none -- MOS_MIGRATED_REVID=107100206
* Strict matching of architecture name to ios platform. Also refactor Platform ↵Gravatar Chris Parsons2015-11-02
| | | | | | | into a new .apple package, as it is not relevant for solely objc rules. -- MOS_MIGRATED_REVID=106709486
* Remove unneeded import.Gravatar Dave MacLachlan2015-10-30
| | | | | -- MOS_MIGRATED_REVID=106613660
* Do not add CFBundleIdentifier, CFBundleVersion and CFBundleShortVersion to ↵Gravatar Dave MacLachlan2015-10-27
| | | | | | | | | all files that go through the plmerge routines. It turns out we use plmerge to convert string files from text to binary. RELNOTES:none -- MOS_MIGRATED_REVID=106403889
* Change default bundle ids that are generated in plists to be RFC1034 ↵Gravatar Dave MacLachlan2015-10-27
| | | | | | | | | compliant. In general this means taking bad characters [^-0-9A-Za-z.] and converting them to "-". So com.foo.bar_bam becomes com.foo.bar-bam. This is essentially equivalent to what Xcode does internally. RELNOTES:none -- MOS_MIGRATED_REVID=106191981
* Add default values for CFBundleVersion and CFBundleShortVersionString if ↵Gravatar Dave MacLachlan2015-10-27
| | | | | | | | | they don't exist and/or replace bad values with good defaults (1.0.0 and 1.0 respectively). RELNOTES:NONE -- MOS_MIGRATED_REVID=106165901
* 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
* Move actoolzip, momczip and swiftstdlibtoolzip to tools/xcode and convert ↵Gravatar Dave MacLachlan2015-09-30
| | | | | | | | | them to scripts instead of java apps. RELNOTES: actoolzip, momczip and swiftstdlibtoolzip have all been made into bash scripts and have been renamed to actoolwrapper, momcwrapper and swiftstdlibtoolwrapper respectively. The old versions will be deleted in a later change. -- MOS_MIGRATED_REVID=104225062
* 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
* Removes the automatic values from the bundlemerge.jar and plmerge.jar and reliesGravatar Anastasios Kakalis2015-09-24
| | | | | | | on the environment_plist.sh to populate the right values in the Info.plist. -- MOS_MIGRATED_REVID=103831542
* 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
* RELNOTES: Support empty plist filesGravatar Matthew DeVore2015-09-08
| | | | | -- MOS_MIGRATED_REVID=102570037
* Change URLs to bazelbuildGravatar Kristina Chodorow2015-09-01
| | | | | -- MOS_MIGRATED_REVID=102022958
* 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
* Rollback of commit da3cb806351e929becef19652c65d39efa61b9d9.Gravatar Googler2015-08-04
| | | | | | | | | | | | | *** Reason for rollback *** Breaking builds. [] *** Original change description *** RELNOTES: actoolzip, momczip and swiftstdlibtoolzip have all been made into bash scripts and have been renamed to actoolwrapper, momcwrapper and swiftstdlibtoolwrapper respectively. The old versions will be deleted in a later change. -- MOS_MIGRATED_REVID=99742398
* RELNOTES: actoolzip, momczip and swiftstdlibtoolzip have all been made into ↵Gravatar Googler2015-08-04
| | | | | | | bash scripts and have been renamed to actoolwrapper, momcwrapper and swiftstdlibtoolwrapper respectively. The old versions will be deleted in a later change. -- MOS_MIGRATED_REVID=99521906
* Hardcode bad values for plists temporarily while we fix other bugs.Gravatar Googler2015-07-29
| | | | | | | RELNOTES: -- MOS_MIGRATED_REVID=99309514
* Rollback of commit b8d1e700841d8aa7186ccbdfb0eba53e12a672d0.Gravatar Lukacs Berki2015-07-21
| | | | | | | | | | | | | | | *** Reason for rollback *** Breaks most of the iOS targets on our continuous build. *** Original change description *** Move actoolzip, momczip and swiftstdlibtoolzip to tools/xcode and convert them to scripts instead of java apps. RELNOTES: actoolzip, momczip and swiftstdlibtoolzip have all been made into bash scripts and have been renamed to actoolwrapper, momcwrapper and swiftstdlibtoolwrapper respectively. The old versions will be deleted in a later change. -- MOS_MIGRATED_REVID=98716081
* 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
* Sets the correct properties in the Info.plist, based on the environment that theGravatar Googler2015-07-17
| | | | | | | rule was executed. -- MOS_MIGRATED_REVID=98417915
* Description redacted.Gravatar Googler2015-07-16
| | | | | -- MOS_MIGRATED_REVID=98347349
* Allows bundlemerge to handle zip files that have directory entries in them. ↵Gravatar Googler2015-07-10
| | | | | | | | | Directory entries are allowed to exist in multiple zip files. File entries are only allowed to exist in one zip file. RELNOTES:None -- MOS_MIGRATED_REVID=97887821