| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
| |
//tools/objc/ios_test.sh.bazel_template. Also remove the iossim substitutions and runfiles in ios_test script register.
[]:
--
MOS_MIGRATED_REVID=127911427
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=127747661
|
|
|
|
|
|
|
|
|
|
| |
The new packaging rules need these in order to access resources included in
objc_library dependencies of an application.
RELNOTES:
--
MOS_MIGRATED_REVID=127445152
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=127435666
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=127334869
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=127313628
|
|
|
|
|
|
|
|
| |
These are needed to add `blaze run` support to skylark_ios_application
so that they can be passed in as parameters to the ios_runner script.
--
MOS_MIGRATED_REVID=126955658
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is a rollback of a rollback, with the change that gnu++11 is used instead of
c++11.
A [] with this change was run, and the resulting handful of compile errors
were addressed.
Modified: blaze objc target handling, osx CROSSTOOL and mock osx CROSSTOOL.
RELNOTES: When building ObjectiveC++, pass the flag -std=gnu++11.
--
MOS_MIGRATED_REVID=126700947
|
|
|
|
|
|
|
| |
experimental_objc_library.
--
MOS_MIGRATED_REVID=126204758
|
|
|
|
|
|
|
|
|
| |
Previously we used labels in each configuration fragment that then got added to every test action. Instead, we now have a filegroup under //tools/test for coverage files that truly need to be on the inputs of every test action and collect language-specific support files in InstrumentedFilesProvider.
This makes configuration creation simpler and makes it possible to turn --crosstool_top into something else other than a filegroup (previously, it was that filegroup that got added to every test action)
--
MOS_MIGRATED_REVID=126170241
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=126104957
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=126081020
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=126068553
|
|
|
|
|
|
|
| |
not supported on the Simulator out of the box yet.
--
MOS_MIGRATED_REVID=125814847
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=125804148
|
|
|
|
|
|
|
|
|
| |
be passed to CcLibraryHelper for an individual source rather
than the entire build.
--
MOS_MIGRATED_REVID=125738742
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
Needs more design as it would fail on some edge cases
*** Original change description ***
Support for the compatibility generation of pbobjc.h files by the PB2 library. Previously it was gated by the use_objc_header_names attribute. Now, if the flag isn't set, it will generate both the pb and pbobjc ones, simplifying switching between libraries.
--
MOS_MIGRATED_REVID=125705664
|
|
|
|
|
|
|
| |
library. Previously it was gated by the use_objc_header_names attribute. Now, if the flag isn't set, it will generate both the pb and pbobjc ones, simplifying switching between libraries.
--
MOS_MIGRATED_REVID=125584211
|
|
|
|
|
|
|
| |
apple's clang
--
MOS_MIGRATED_REVID=125520039
|
|
|
|
|
|
|
|
|
|
|
|
| |
* This fixes a crash when a target has both a bridging header and a
* module map
RELNOTES: Native Swift rules no longer pull in module maps unconditionally.
Use --experimental_objc_enable_module_maps for that.
--
MOS_MIGRATED_REVID=125491042
|
|
|
|
|
|
|
| |
instead of Java's Class<?>.
--
MOS_MIGRATED_REVID=125443529
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=125385321
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=125354844
|
|
|
|
|
|
|
|
|
| |
Adds a runtime_deps attribute to compilation rules (including objc_binary) that imports a dynamic framework (generated either via the objc_framework or ios_framework rules) into an app bundle without linking against it at build time.
RELNOTES: objc_binary now supports late-loaded dynamic frameworks.
--
MOS_MIGRATED_REVID=125261347
|
|
|
|
|
|
|
|
|
|
|
| |
args as a -filelist arg.
This prevents certain many-arg actions from making clang unhappy.
Also ensures that no -force_load artifacts are present in the filelist. Clang seems to not dedupe artifacts present in both a filelist and -force_load, causing duplicate symbol errors.
--
MOS_MIGRATED_REVID=125170226
|
|
|
|
|
|
|
| |
This is to simplify the contract of BuildConfiguration.Fragment, thus making it simpler to create BuildConfigurations without unnecessary fragments and eventually create configuration fragments from Skylark.
--
MOS_MIGRATED_REVID=125137625
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
Breaks some builds, e.g. googlemac/iPhone/Applecrisp/Shared/DocosLib:DocosLib
*** Original change description ***
When building ObjectiveC++, pass the flag -std=c++11 in addition to -stdlib=libc++.
RELNOTES: When building ObjectiveC++, pass the flag -std=c++11 in addition to -stdlib=libc++.
--
MOS_MIGRATED_REVID=125095396
|
|
|
|
|
|
|
| |
Previously we were interspersing these doubly, resulting in constructs like "-F -F -F FrameworkPath"
--
MOS_MIGRATED_REVID=125071017
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=125013752
|
|
|
|
|
|
|
|
|
| |
This builds all dependencies linked against watch SDKs instead of iOS SDKs, and builds for the architectures specified in --watchos_multi_cpus
RELNOTES: apple_binary supports a new platform_type attribute, which, if set to "watchos", will build dependencies for Apple's watchOS2.
--
MOS_MIGRATED_REVID=124980029
|
|
|
|
|
|
|
| |
use_objc_header_names attribute.
--
MOS_MIGRATED_REVID=124955824
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=124951254
|
|
|
|
|
|
|
|
|
| |
-stdlib=libc++.
RELNOTES: When building ObjectiveC++, pass the flag -std=c++11 in addition to -stdlib=libc++.
--
MOS_MIGRATED_REVID=124867581
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=124848977
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=124843113
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Optional and named parameters are now specified using `defaultValue`
and `named` (and `positional`). The new structure allow for parameters
that are both named and positional (which was forbidden before).
This new structure will be used to give the @SkylarkCallable annotation
the possibility to provide named and default arguments. It should be
a functional no-op for Bazel users.
--
MOS_MIGRATED_REVID=124821455
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
Breaks linking for all objc targets.
*** Original change description ***
Wrap inputs to ObjcLink (via clang) invocations in an objlist, and pass the args as a -filelist arg.
This prevents certain many-arg actions from making clang unhappy.
--
MOS_MIGRATED_REVID=124781451
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
--
MOS_MIGRATED_REVID=124553522
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
--
MOS_MIGRATED_REVID=124549894
|
|
|
|
|
|
|
| |
instead load it from //external.
--
MOS_MIGRATED_REVID=124480945
|
|
|
|
|
|
|
|
| |
The @SkylarkCallable annotation is very limited and to extend it
it is best to share a similar API than the @SkylarkSignature annotation.
--
MOS_MIGRATED_REVID=124473056
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Makes it so module map generation action will be registered for all targets that should provide module maps. This allows other rules to depend directly on modulemap artifacts without turning on --experimental_objc_enable_module_maps for all builds.
* Disabled module maps for apple_binary because of a bug.
* objc_proto_library targets will register module map generation even with experimental union flag so that its modules can be imported by the dependent targets (even though the compilation is happening much later in the linking target).
RELNOTES:
--
MOS_MIGRATED_REVID=124386048
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
AppleConfiguration.
Additionally, tweak single-architecture ios-platform logic such that ios_multi_cpus is checked before ios_cpu.
There are two contexts to note:
1. Single-architecture logic, (generally post-split), unaware of its own platform type aside
from configuration. This retrieves platform type from the --apple_platform_type configuration value.
a. getSingleArchPlatform() for Platform retrieval
b. getSingleArchitecture() for architecture retrieval
2. Multi-architecture logic, which should be aware of its own platform type, and passes it into
configuration accessors.
a. getMultiArchPlatform(PlatformType)
b. getMultiArchitectures(PlatformType)
All callers are migrated to these methods, though some still pass IOS platform type even though
they may need to be refactored to support additional platform types later.
--
MOS_MIGRATED_REVID=124370652
|
|
|
|
|
|
|
|
|
| |
args as a -filelist arg.
This prevents certain many-arg actions from making clang unhappy.
--
MOS_MIGRATED_REVID=124367172
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=124355936
|
|
|
|
|
|
|
|
|
| |
Also moved -S and -E options into the same action_config.
Since whoever consume CppCompileInfo add -c and -o options by themselves, to
keep compatible with this, the original code is still kept and used, until the corresponding flag sets are added into CROSSTOOL.
--
MOS_MIGRATED_REVID=124350905
|
|
|
|
|
|
|
|
|
|
| |
SkylarkSignature
Those arrays were checked to never have more than one value so use an empty name
instead of the empty array. This simplify comprehension of the API.
--
MOS_MIGRATED_REVID=124330918
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
experimental support
for building objc code using the c++ crosstool. This will eventually replace the current module support in blaze.
Note: This required injecting a CppModuleMap into the cc logic. The reason that objc cannot rely on standard CppModuleMap creation logic is that there is different naming semantics for module maps between cpp and objc. In particular:
- In cc, module maps can be inputs to a compilation action. Thus, the module maps are given labels.
- In objc, if interoping with swift, module maps are explicitly referenced in swift code. Thus, their names cannot contain illegal characters for swift source. Those, some name mangling occurs to get rid of "//" and ":". To enforce that this does not cause problems with compilation actions, the CPP_MODULE_COMPILE action has been disabled for the objc CcLibraryHelper.SourceCategory
--
MOS_MIGRATED_REVID=124177067
|
|
|
|
|
|
|
| |
isolate them from the linking target's defines and copts flags. Refactors CompilationAttributes into its own class with the Builder pattern.
--
MOS_MIGRATED_REVID=124137672
|
|
|
|
|
|
|
| |
This fixes test timeouts when the app tested is using Swift. In theory this also prevents similar problems with any code that uses dynamic libs packaged in the IPA.
--
MOS_MIGRATED_REVID=123976581
|