- May 24, 2019
-
-
Dimitry Ivanov authored
-
Dimitry Ivanov authored
-
- May 23, 2019
-
-
Jaewoong Jung authored
-
Jaewoong Jung authored
-
Treehugger Robot authored
-
dimitry authored
Native_bridge modules should override only native_bridge modules and not regular ones. Bug: http://b/77159578 Test: make 4-arch product Change-Id: I79d96736082397abeb36d653840679a7aa0edbf5
-
dimitry authored
This fixes the problem with cc_object not having this suffix and as a result overriding non-bridged variants for modules using mk files. Bug: http://b/77159578 Test: build 4arch product Change-Id: Ie958f997c6f54f93d8b2987ca5ba605004e1eb70
-
Treehugger Robot authored
-
Treehugger Robot authored
-
Jooyung Han authored
Do not rely on 'module.Name()' to decide VNDK link type. Some prebuilt modules such as libclang_rt_prebuilt_library_shared and vndk_prebuilt may have different naming schemes.(prefix/suffix) And llndk_library module has '.llndk' suffix. Instead, use VNDK-related properties (e.g. vndk.enabled, vendor_available, etc.). Bug: 132800095 Test: m & check LOCAL_SOONG_LINK_TYPE for prebuilts Change-Id: I06b0c182aeab16969c44a86397f02be4beb80bbd
-
Colin Cross authored
Failures in strip.sh are still occurring with darwinStripPool set to 10, try 5. Bug: 132822437 Test: none Change-Id: I2df247c89b6d8f6e741d4e17057b06ff9ec72b40
-
- May 22, 2019
-
-
Treehugger Robot authored
-
dimitry authored
Ignore native_bridge targets when detecting whether second architecture is translated or not. The concept of second translated architectures is almost deprected and will be removed once all affected products are switched to native_bridge support from the build system. Bug: http://b/77159578 Test: make 4arch target Change-Id: Ife93ccc60f5c1a4020f66b2cf862b709889d9d6b
-
- May 21, 2019
-
-
Peter Collingbourne authored
This was removed in https://android-review.googlesource.com/c/platform/build/soong/+/950885 because it appeared that bionic was always in an APEX, but apparently the ART host tests have bionic outside of an APEX. Test: art/test/testrunner/run_build_test_target.py -j50 art-linux-bionic-x64 Change-Id: I0b99462e8636da53c87f9250093689aaaf9ea695
-
Martin Stjernholm authored
Bug: 112158820 Test: Soong self test Change-Id: Ia359c35c0c124bac2693926ce8f05dd20435f05d
-
Colin Cross authored
-
Christopher Ferris authored
-
Pete Gillin authored
-
Peter Collingbourne authored
-
- May 20, 2019
-
-
Pete Gillin authored
Targets with sdk_version values up to and including 29 should not use Java language level 9, even if EXPERIMENTAL_JAVA_LANGUAGE_LEVEL_9=true is set. This change fixes a downstream issue. Bug: 131678633 Test: EXPERIMENTAL_JAVA_LANGUAGE_LEVEL_9=true make droid tests docs cts java Test: (same test in downstream branch) Change-Id: Ic58e8df2e06d6e07bc42255314521831dc41b239
-
- May 18, 2019
-
-
Treehugger Robot authored
-
Christopher Ferris authored
New strip option named keep_symbols_and_debug_frame, that will keep the symbols and the .debug_frame. This is meant for use by libc.so only on arm32. Other libraries might want to use it to keep better unwinding information on device. Bug: 132992102 Test: Built libc.so with this option and verified that it contains Test: the .debug_frame section. Change-Id: I823a28199dec8316e8b26fe31ff9f17e6b11d406
-
Treehugger Robot authored
* changes: Add bpf_test.go to build and fix tests Don't create a second host arch for tests on darwin Move CreateTestContext to cc/testing.go
-
- May 17, 2019
-
-
Colin Cross authored
strip.sh can use a file descriptor per .o file when run on .a files, which can hit the system file descriptor limit on darwin. This causes failures when manay variants of libgcc_stripped are built simultaneously. Put all strip rules on darwin into a pool that limits them to 10 concurrent processes, which will limit the file descriptor usage to ~7500. Fixes: 132822437 Test: no mention of darwinStripPool in out/soong/build.ninja on linux Test: m libgcc_stripped on darwin Change-Id: I3d4fbbd8d44d2e9059a79df113ab95336ec2c658
-
Treehugger Robot authored
-
Treehugger Robot authored
-
Peter Collingbourne authored
When HWASAN is enabled, the runtime is conceptually part of Bionic (and mutually depends on it), so it needs to be treated in the same way as the Bionic libs. Now there are only two copies of the runtime: the one in /system/lib64/bootstrap (which won't be used by ordinary processes) and the one in the runtime APEX. This reduces the size of the HWASAN system image and fixes an issue where multiple copies of the HWASAN runtime were being loaded into 64-bit binaries in APEXes because the linker namespace for the binary is different from the one for its dependent libraries outside of APEXes. HWASAN only supports loading one copy of the runtime per process, so this was causing such binaries to crash on startup. Change-Id: I228896e193a035e6dfba9f6e28d0b2e12fc163ea
-
Colin Cross authored
bpf_test.go was not listed in testSrcs, which meant it was not run during the build, but ran and failed with go test android/soong/... Don't redeclare the cc module types and mutators, use exported functions from cc/testing.go instead, which contain a new dependency needed by cc modules. This reapplies I4542640e8ff08e71565ed50617dbe67d86b29b69 after fixes for mac tests. Test: m Test: go test android/soong/... Change-Id: I3dc3fdedbd7063df4a2e0cadf2a4e0711b1823ad
-
Colin Cross authored
Only x86_64 darwin is supported, not x86. Don't create an x86 host arch when running tests on darwin. Test: all soong tests Change-Id: Ic12763298345e32a1340f8fbef338d2ab4d62b2e
-
Colin Cross authored
Allow CreateTestContext to be called by tests in other packages that need cc modules. Test: all soong tests Change-Id: I6be04dec50632baa8cb51e55ba14d0ddc0df60b8
-
Colin Cross authored
Allow a cc_prebuilt_library_shared to share the same name as a cc_library by always creating static and shared variants of prebuilts so that the variants of the source module are always a superset of the variants of the target module. Bug: 131709055 Test: TestPrebuilts Change-Id: I4afd6d37e6a986d08ad25aee69eca6d994febc6b
-
- May 16, 2019
-
-
Jaewoong Jung authored
The flag is a Soong version of LOCAL_NDK_STL_VARIANT in apps and app tests. Unlike in the case of cc_library and its siblings, the only meaningful value for the make var when it's used in apps is 'c++_shared', in which case we add additional dependency to libc++. Fixes: 130891985 Test: app_test.go + CtsNdkBinderTestCases Change-Id: I83f45d375742164fff7f160a734b0686e56b5c38
-
Jaewoong Jung authored
-
Patrice Arruda authored
There are a couple of makefiles that have etc with $(TARGET_OUT)/fonts and $(TARGET_OUT_PRODUCT)/fonts as the local module path. Added the conversion in androidmk for target. bug: b/123403785 Test: Wrote and ran unit test cases, did a test conversion on * platform/external/google-fonts/dancing-script/Android.mk * internal/external/google-fonts/arbutus-fonts/Android.mk Change-Id: Id67e10f80b32b27c5027cd274a7944801dad0880
-
Jaewoong Jung authored
-
Treehugger Robot authored
-
- May 15, 2019
-
-
Treehugger Robot authored
-
Jaewoong Jung authored
Test: dexpreopt_test.go Fixes: 129370564 Change-Id: Ic292f37c4f782b14fce625b85817b58c31d3f276
-
Inseob Kim authored
am: 651f40bb Change-Id: I2f0b74a3faef35e29640a1f67344654b8bb00187
-
Treehugger Robot authored
-