- Nov 06, 2017
-
-
Nan Zhang authored
Test: m clean && m -j java and java_test.go Change-Id: I110a0ff029448d3319aed2788d25d90a6c1a7fa0
-
Treehugger Robot authored
-
Jeff Gaston authored
-
Colin Cross authored
* changes: Remove no_default_compiler_flags property Move -fomit-frame-pointer to armCflags Consolidate ldflags that are used on all devices Remove -Wl,--gc-sections from target flags Consolidate cflags that are set on all devices Consolidate global cflags
-
Alan Leung authored
-
Treehugger Robot authored
-
- Nov 04, 2017
-
-
Colin Cross authored
no_default_compiler_flags is only used by the crt* modules, is unnecessary, and causes problems when necessary flags like -no-canonical-prefixes are not passed. Remove the property. Use useVndk() instead of noDefaultCompilerFlags() to determine if adding libc as a dependency is necessary and won't cause a circular dependency. Bug: 68719465 Test: m checkbuild Change-Id: Iea1a082dc701dfeab211049a22f7066257347b80
-
Colin Cross authored
-fomit-frame-pointer was specified twice, once for arm and once for thumb. Move it to the shared cflags. Bug: 68855788 Test: m checkbuild Change-Id: Iab1299c247808f1a2542b468084600b7c32996e8
-
Colin Cross authored
Move ldflags that are specified for all devices into deviceGlobalLdflags, and add them to linker.go: -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--build-id=md5 -Wl,--warn-shared-textrel -Wl,--fatal-warnings -Wl,--no-undefined-version Bug: 68855788 Test: m checkbuild Change-Id: I82561b4189287d7638006f9e298c5151f9930c5e
-
Treehugger Robot authored
-
Jeff Gaston authored
Also removeTempDir -> !keepOutDir Also shorten the help comment Bug: 68336760 Test: rm out -rf && m -j Test: sbox -c # and observe that the output does not have a stacktrace Change-Id: I6fbb385132128ab1273c8398ff2425191049751e
-
- Nov 03, 2017
-
-
Nan Zhang authored
Bug: b/68779881 Test: manually copied the jar-wrapper.sh to out/soong/host/linux-x86/framework Change-Id: Idee1e7e64c6e3c89c89a8cd9c107a38533356b6c
-
Dan Albert authored
Test: build/soong/scripts/build-ndk-prebuilts.sh Bug: https://github.com/android-ndk/ndk/issues/272 Change-Id: Ia8d48b1ecef5e1a3b239e2817eeed5dbe43e52ef
-
Colin Cross authored
-Wl,--gc-sections is already added by library.go and binary.go for anything that uses bionic. Bug: 68855788 Test: m checkbuild Change-Id: I229199045ef8595d69c07fcf1aa6bbdc0b753fe3
-
Colin Cross authored
Move cflags that are set on all devices to deviceGlobalCflags: -fno-canonical-system-headers -ffunction-sections -funwind-tables -fstack-protector-strong -Wa,--noexecstack -D_FORTIFY_SOURCE=2 -Wstrict-aliasing=2 -Werror=format-security Bug: 68855788 Test: m checkbuild Change-Id: Iefec689fdd2749013d0cc003b3abec674a85fb74
-
Colin Cross authored
Move all the flags that are used everywhere (or should be used everywhere) into cc/config/global.go: -no-canonical-prefixes -fno-exceptions -Wno-multichar -O2 -g -fno-strict-aliasing Also remove flags that are already in noOverrideGlobalCflags: -Werror=pointer-to-int-cast -Werror=int-to-pointer-cast x86 and x86_64 were specifying -fstrict-aliasing, but that was being overriden later by -fno-strict-aliasing, so remove it. ARM devices still override -fno-strict-aliasing to -fstrict-aliasing when using ARM (vs. Thumb) instruction set. Bug: 68855788 Test: m checkbuild Change-Id: Ia2b5891bdefb60f974ad92b4b84a8548c2dcc7dc
-
Pirama Arumuga Nainar authored
Bug: http://b/33678192 Clang has been updated past the revisions mentioned in the work arounds. So these seem no longer necessary. Test: Build Change-Id: I08fee0db7c5785836a1ad0104688245435865cb7
-
Steven Moreland authored
Bug: 35570956 Test: manual Change-Id: I3dc2d7fd8876a0a222d1fc3e0f6ba27ecc2f50e8
-
Steven Moreland authored
Previously not useful, they are required to use CreateModule to create additional libraries. Bug: 35570956 Test: manual :) Change-Id: Ibb6b1c0d365512fce8969e1e6237ebbed0bc9cdc
-
- Nov 02, 2017
-
-
Treehugger Robot authored
-
Jayant Chowdhary authored
-
Vishwath Mohan authored
This CL ensures that only one of the two generated variants are installed for non-make builds and for host binaries. Bug: 30227045 Test: OUT_DIR=/tmp/ndk build/soong/scripts/build-ndk-prebuilts.sh Change-Id: I7ca78af51ea6bd3ae1107a69331abd6ff68f2150
-
Jayant Chowdhary authored
Convert abi warnings to errors by removing the -advice-only flag from the invocation of header-abi-diff. This will only apply to branches with reference abi dumps checked into prebuilts/abi-dumps/(v)ndk (since abi-diffing will only be triggered on them.) Also allow for: 1) Extensions. 2) Changes to types in exported headers, unreferenced by public symbols still trigger warnings. 3) Any removal of symbols appearing in a shared library's .dynsym table, but not in exported headers is still a warning. Bug: 64267858 Test: make -j64 from ToT. Change-Id: Iadeac8d060cb693d4310afb841dc48d91f38597d
-
Treehugger Robot authored
-
Colin Cross authored
-
- Nov 01, 2017
-
-
Colin Cross authored
This reverts commit 5c3c7681. This reapplies I70e45caa92f65dc6a3bc81ae33a5a8f34ad11890 along with additional changes in other projects to match the new types. Bug: 68337468 Test: m checkbuild Change-Id: I2d2d876b291869f834a6468d3e2ad99148f94a15
-
Colin Cross authored
Strip debug info in javac when PRODUCT_MINIMIZE_JAVA_DEBUG_INFO is set. Test: m with PRODUCT_MINIMIZE_JAVA_DEBUG_INFO=true Change-Id: I167e742662801291c516bf1ff826486560d22147
-
Vishwath Mohan authored
This reverts commit 33c252c2. I have a fix to the crashes that this CL set was causing, and have uploaded it as a patchset to this revert. This also contains a partial fix that was initially submitted separately as https://android-review.googlesource.com/#/c/platform/build/soong/+/524295/ Bug: 30227045 Test: ./art/test/testrunner/run_build_test_target.py -j110 art-asan #no build errors Test: m -j50 ASAN_OPTIONS=detect_leaks=0 SANITIZE_HOST=address # no build errors Change-Id: I3e53549fa03413d35d9a952f04de1e7629e1f06d
-
Nicolas Geoffray authored
Bug: 68337468 Breaks HOST_PREFER_32BIT=true This reverts commit 617016a6. Change-Id: Ifb20f41cdf93dbfd73a3aac5b055e595e334350b
-
Colin Cross authored
Switch commonProperties to *string and *bool so that defining them in a module correctly overrides instead of appends to values set in defaults modules. Bug: 68337468 Test: m checkbuild Change-Id: I70e45caa92f65dc6a3bc81ae33a5a8f34ad11890
-
- Oct 31, 2017
-
-
Treehugger Robot authored
-
Orion Hodson authored
This reverts commit d4b484b0. Rationale: second in group of commits that left aosp_x86_64 not building. (See https://android-build.googleplex.com/builds/ submitted/4426589/aosp_x86_64-eng/latest/logs/build_error.log) Bug: 30227045 Test: builds Change-Id: I38ab5284c614d6ee68e7359219bd75c7d50131be
-
Orion Hodson authored
This reverts commit 6147c697. Rationale: first in group of commits that left aosp_x86_64 not building. (See https://android-build.googleplex.com/builds/ submitted/4426589/aosp_x86_64-eng/latest/logs/build_error.log) Bug: 30227045 Test: builds Change-Id: I632869d13d09b43e2040da187d7ced4f05c332de
-
Yohann Roussel authored
Also adapt to the renaming of d8 to d8-compat-dx. Test: USE_D8=true m -j16 PRODUCT-aosp_arm64-eng showcommands core-oj Change-Id: Ic7aaa6a5da34a6a5706c20f53922a83cb1de1100
-
Treehugger Robot authored
-
Vishwath Mohan authored
This CL hides (using Module.Properties.PreventInstall) either the sanitized or stock variant for non-make embedded builds (based on whether a sanitizer is enabled or not) so we don't have duplicate rules for installing the same target. Bug: 30227045 Test: OUT_DIR=out build/soong/scripts/build-ndk-prebuilts.sh # no longer generates a duplicate build error. Change-Id: I0b2dbb0afd5d426b32da67f951e2a4f9fbb3f3b9
-
Vishwath Mohan authored
-
Jeff Gaston authored
Most notably, the sandbox depfile path should be passed into the tool. Bug: 68336760 Test: m -j checkbuild Change-Id: I22f944a3f57d613fda26de0ea777a915cafcd020
-
Colin Cross authored
Test: m checkbuild Change-Id: I22113c17d240ff26652cea7df801a183343faebd
-
- Oct 30, 2017
-
-
Stephen Hines authored
Bug: http://b/62580008 Bug: http://b/68236239 Bug: http://b/68236396 Test: https://goto.google.com/clang-4393122-testing Change-Id: Ib6bcf93e356172aad2a762b730a6f93916a5d845
-