Граф коммитов

9 Коммитов

Автор SHA1 Сообщение Дата
Sasha Weiss be2fde89b0
Use a safe binary staging dir for iOS OpenSSL build (#657)
* Use a staging directory rather than CONFIGURATION_TEMP_DIR

* Make sure to create staging directory
2022-01-24 13:47:38 -08:00
MSFT-Heba a52aec7beb
Fixing a typo in openssl.bash (#637)
Co-authored-by: heba <xlivexdevx@V-TKLIMEK-CON.redmond.corp.microsoft.com>
2021-11-11 13:31:52 -08:00
MSFT-Heba 70c3ac97d2
Readding i386 for simulator support (#619)
* Readding i386 for simulator support
2021-10-02 10:27:23 -07:00
Sasha Weiss 1af4d35f99
Update min iOS version to 11.0 (#615)
* Update the iOS min version to 11.0

* Enable base i18n to silence warning

* Drop armv7 from the OpenSSL script
2021-09-22 09:45:00 -07:00
Sasha Weiss 2aec337f24
Update OpenSSL and support M1 Macs (#602)
* Update openssl commit to 1.1.1k

* Format openssl and add log function

* Quick script fix

* More cleaning the script

* More rewriting and cleaning up of script

* Unblock arm64 from xcodeprojs and heavily modify script

* Remove short circuit

* Don't suffix with platform name, already broken out in DerivedData

* Re-add armv7 support

* Fix header path and replace deprecated Sec method

* Wrap SecTrust method in an availablity check

* Build fixes

* Fix Win32 and Android builds

* Empty commit to bump CI

Co-authored-by: sashaweiss <asashaweiss@gmail.com>
Co-authored-by: Jason Sandlin <jasonsa@microsoft.com>
2021-08-23 15:31:08 -07:00
Brad King 531104cd26
openssl.bash: Use Xcode instance preferred by caller (#564)
Do not assume the caller is building with `/Applications/Xcode.app`.
Some environments use other paths like `/Applications/Xcode_12.1.app`.

Ask `xcode-select -p` for the path to the Xcode `/Developer` directory.
Within `libHttpClient.xcodeproj`, it will use the matching Xcode.

Fixes: #563

Co-authored-by: Jason Sandlin <jasonsa@microsoft.com>
2021-02-17 14:34:31 -08:00
Sasha Weiss b6757e81bf
Add iOS targets for building without websockets/SSL (#556)
* Don't bother installing OpenSSL docs/man pages/etc

* SSL targets merge libssl and libcrypto and are depended on by libHC static lib targets

* Add NOWEBSOCKETS framework target

* Add macOS NOWEBSOCKETS framework target

* Add xcschemes to libHttpClient workspace to build the _NOWEBSOCKETS targets

* Empty commit to force fresh CI

* Disable arm64 support for 'Any Mac' target

* Alphabetize

* Update a couple vestigial fields

* Clean up SSLDummy copyright header

* Empty commit to force fresh CI
2021-01-07 17:42:30 -08:00
Sasha Weiss a3070c6e11
Allow overriding LIB_OUTPUT env var in openssl.bash for iOS builds (#503)
* Allow overriding LIB_OUTPUT env var in openssl.bash for iOS builds

* Update Xcode project to put built/intermediate files for OpenSSL alongside the rest of Xcode files rather than in libHttpClient dir

* Check for both expected env vars in openssl.bash
2020-03-19 16:19:56 -07:00
Mike Schreiber a1b15acb6d
Separate openssl build output for Mac and iOS (#395)
* Tidying up Mac build for libHttpClient
- Added a few files to the build that were missed in my last PR
- Added a new HC_PLATFORM_MAC and a new convenience macro HC_PLATFORM_IS_APPLE, and used them throughout the codebase
- Renamed some files from "_ios" to "_apple"
- Stood up a Framework target to line up with the recent change to iOS

* Fix HC_PLATFORM_MAC to be a unique value

* Fixing exports from a recent PR that weren't integrated into the .exp file, giving us clean iOS+Mac framework builds.

* Moving from asio 1.12.0 to 1.12.2 to fix build break with Xcode 10.2.

* Separate openssl build output for Mac and iOS

Additionally, disable automatic dependency detection for the various Xcode schemes as they can cause some problems in command-line builds.

* Separate openssl build output for Mac and iOS

Additionally, disable automatic dependency detection for the various Xcode schemes as they can cause some problems in command-line builds.
2019-04-15 14:48:01 -07:00