- Jul 09, 2018
-
-
Colin Cross authored
Test: none Change-Id: I507b7118bfc240166dced0cc26ab523ce56f68a2
-
David Brazdil authored
Currently Soong will only compile a Java library into dex if the library has device support and is installable. For our use case of inspecting the dex at build time this is not sufficient. Add a new "compile_dex" device property which forces the creation of a dex rule. In this case, the class jar remains the output file of the module. Bug: 79409988 Test: on related CL Change-Id: Ia908a47148a03a0bdb0da4315cce6efc86c51865
-
- Jul 07, 2018
-
-
Treehugger Robot authored
-
- Jul 06, 2018
-
-
Dan Willemsen authored
This matches the change to blueprint's blueprint_impl.bash: https://github.com/google/blueprint/pull/213 It allows us to run bpglob during the two bootstrap phases, so we're never running minibp or the primary builder in a later phase than normal. Also removes the dependency on out/soong/build.ninja from the main phase, since it's never generated by the main phase anymore, and is tripping the dangling dependency checks. Bug: 73646380 Test: m nothing Test: rm frameworks/base/core/java/android/content/pm/dex/ArtManager.java Test: m nothing (soong re-runs) Change-Id: Ia3952d015ad6091ad5a841f555acda78c9390e84
-
Steven Moreland authored
Bug: 110967839 Test: AIDL's runtests.sh Change-Id: I49c0a2526b6d4083c927104a3e66017080000847
-
- Jul 03, 2018
-
-
Mathew Inwood authored
Annotation processors should always have a common host variant, rather than a device variant as the build was looking for before. Bug: 110868826 Test: m Change-Id: I2b7d0e7ed1af3f2f9ddb87d2bf36920737a507e9
-
Treehugger Robot authored
-
- Jun 30, 2018
-
-
Yi Kong authored
-
- Jun 29, 2018
-
-
Treehugger Robot authored
-
Pirama Arumuga Nainar authored
Bug: http://b/111000882 Doesn't seem to be supported. Test: AOSP build, TreeHugger Change-Id: Idaab52caa876102b062b3c21acd42c37328bd328
-
Roland Levillain authored
-
Yi Kong authored
-
Treehugger Robot authored
-
Sundong Ahn authored
If docs file which is result of javadoc is null, there is a build error when building stubs file. To avoid build error, we don't build if srcJar files is exist but they don't have java file list. Bug:77577799 Test: make -j Test: Marking @hide to all APIs in javax.obex library -> make -j -> check build result. result is success Change-Id: I85439417a36425e89a8fa2ecbc66d1b2022bc63a
-
- Jun 28, 2018
-
-
Ari Hausman-Cohen authored
- Jun 27, 2018
-
-
Ari Hausman-Cohen authored
Some code needs to behave differently for Android Things systems. The Product_is_iot variable property can be used to determine if a build is for Android Things or not. Bug: 110494430 Test: aosp_angler builds Change-Id: I902b438a334786adbd515188ad35e241d82e69fe
-
Pirama Arumuga Nainar authored
Bug: http://b/62424007 This breaks 64-bit Windows executables. Probably due to the Clang migration, the entry-point need not be set even for 32-bit executables. Test: 32-bit and 64-bit aapt2_tests.exe and ziparchive-tests.exe can start. (There are some failed tests, though). Change-Id: Id3a7d3d2802f6b671332afff4558840bdabddeb5
-
- Jun 26, 2018
-
-
Treehugger Robot authored
-
Treehugger Robot authored
-
Pirama Arumuga Nainar authored
Bug: http://b/69933068 Test: m native-host-cross SANITIZE_HOST=address Change-Id: Ia9ff941fb569b0a2e9c4eef604fd165f94bca31a
-
Treehugger Robot authored
* changes: Use clang for windows host modules Use -static-libgcc for Windows
-
Nan Zhang authored
Continue to use -bootclasspath when -source 1.9 is enabled for Metalava since it doesn't support -system yet. Test: N/A Bug: b/110824610 Change-Id: Ie1c047963bd66f1a100255efdcd6ca378cf2e1c4
-
Chih-hung Hsieh authored
-
Pirama Arumuga Nainar authored
Bug: http://b/69933068 - Remove GCC's intrinsic header path so Clang's headers get included. - Add '-B' with GCC's binary directory so Clang detects the linker. - Bug: http://b/109759970 - Pass '--allow-multiple-definition' linker flag to deal with ld.bfd's inability to handle Clang-generated section names is fixed. - Bug: http://b/110800681 - lld cannot link Android's Windows modules yet Test: m native-host-cross and run adb_test.exe under wine. Change-Id: I9be9cfc34a47cbeee04024438dea214305112eaa
-
Pirama Arumuga Nainar authored
Bug: http://b/69970955 With the MinGW prebuilts update (http://aosp/709402), executables get a runtime dependency on libgcc_s_sjlj-1.dll with both gcc and Clang. Passing -static-libgcc removes this dependency and is a better option than having to package an extra dll with executables. Test: Run gcc-built adb_test.exe under wine Change-Id: I18e5fadb1b8ace510ae684e2d4cfa7fe7d007cff
-
- Jun 25, 2018
-
-
Chih-Hung Hsieh authored
Bug: 110538415 Test: build with WITH_TIDY=1 Change-Id: I6c5b5a0cb3ad3c2756bbae5e7c0234a0dafe5991
-
Nan Zhang authored
Test: N/A Bug: 110786923 Change-Id: I6d1f808e97aad2fe3206f52c8fc93c87b61fdb64
-
Sundong Ahn authored
Java libraries are not included when a stub is built with java_sdk_library. However, we may need a java library when building stubs. For it, stub_only_libs property is added. Bug: 77577799 Test: make -j Change-Id: I2223288e3a85ec7f0ccccdc1da31f8d46cbcbcc0
-
Sundong Ahn authored
The soong connect the prebuilt library according to LOCAL_SDK_VERSION. But some sdk libraries has diffrent version policy with LOCAL_SDK_VERSION. For this, we need to support direct link to the prebuilt library instead of creating a new LOCAL_XXX_SDK_VERSION. So, The base module name is used as the prefix for the prebuilt module name. Remove the empty file check to support the absence of a prebuilt library and add api_dirs property Bug:77577799 Test: make -j Change-Id: I1086977d26e4ddfd62e290637126d44e1b248bac
-
- Jun 23, 2018
-
-
Colin Cross authored
Getting a crc and size into the local header requires setting it before writing the payload, or using a streaming data header after the payload with the crc and size. Stored (uncompressed) entries are not allowed to use a streaming data header. Symlinks are always stored uncompressed, so set the crc and size in the file header before writing the payload. Also set the mode to 0777 to match the behavior of zip. This relands I66c5d41f0a5b23b828d6a03a3790afedc5a97625 with fixes for the size and mode. Test: m checkbuild Test: zipdetails on zip with symlink created with soong_zip has same crc in local header and central header. Test: Compare zipdetails output of zip containing symlink created by soong_zip and by zip --symlinks -X. Bug: 110716403 Change-Id: Iec0bc9056a0d9cdab76f015844aca9c711e72e5b
-
Colin Cross authored
-
Colin Cross authored
This reverts commit b88c4dfb. This made it worse, now that the local header crc matches the global header, unzip will attempt to unzip the symlink. However, the local header size is still incorrect, so it produces an empty file instead of a symlink. Bug: 110716403 Change-Id: Ifd9aabc04d180b7ead4aec8566c151206b6b7c57
-
Colin Cross authored
-
Colin Cross authored
Getting a crc into the local header requires setting it before writing the payload, or using a streaming data header after the payload with the crc. Stored (uncompressed) entries are not allowed to use a streaming data header. Symlinks are always stored uncompressed, so set the crc in the file header before writing the payload. Test: m checkbuild Test: zipdetails on zip with symlink created with soong_zip has same crc in local header and central header. Bug: 110716403 Change-Id: I66c5d41f0a5b23b828d6a03a3790afedc5a97625
-
Treehugger Robot authored
-
- Jun 22, 2018
-
-
Colin Cross authored
VisitDepsDepthFirst is almost never correct, as it can't query dependency tags of multiple dependencies between the same two modules. Replace VisitDepsDepthFirst with WalkDeps in sanitize.go and python.go. Also verify the dependency tag before continuing to recurse to ensure that they don't recurse through genrules and into unrelated modules. Test: m checkbuild Change-Id: I2f7560126f56b51a40ec39dfbdcc18b5891489f7
-
Dan Willemsen authored
There are no users of these, other than the PDK, which is already exempted. Test: m nothing Test: Check for warnings in downstream build_test logs Test: Check for warnings in last two days of continuous build logs Change-Id: I7c7d0068e928e591355c39d22635af86b8f43f1b
-