Commit Graph

9127 Commits

Author SHA1 Message Date
Alistair Strachan
09dc0d4f76 Merge "Avoid accidentally using the host\'s native \'as\' command."
am: e6710e9b90

* commit 'e6710e9b9065765645c72e15cb8953a34aab83dc':
  Avoid accidentally using the host's native 'as' command.

Change-Id: I66dc6048fc45ad6763b63e55ad2eb6e0d71a14ac
2016-05-06 20:19:42 +00:00
Elliott Hughes
e6710e9b90 Merge "Avoid accidentally using the host's native 'as' command." 2016-05-06 20:11:45 +00:00
Dan Willemsen
667a5fe33b Merge "Only pass NINJA_ARGS to the main ninja compile"
am: 374c7facd5

* commit '374c7facd565b4d896db20ee04c94e90dee4c8e7':
  Only pass NINJA_ARGS to the main ninja compile

Change-Id: I98f588bf7d9c39bf2a9ac7c07bfb15f19299694d
2016-05-06 01:23:43 +00:00
Dan Willemsen
9a97ba700b Only pass NINJA_ARGS to the main ninja compile
This way commands like "-t query <target>" will work against the main
build, instead of failing to find the target during the initial soong
build and stopping.

Change-Id: I9b6bd6ac431b95e12db69ec7f272669b9d292761
2016-05-05 16:55:21 -07:00
Alistair Strachan
5ff9c81b6c Avoid accidentally using the host's native 'as' command.
When invoking clang for the host to assemble .S files, the -B flag
would not be provided, which allowed the host prebuilt clang to
use an 'as' from the native environment. Most of the time this
"just works", but some newer 'as' versions cause problems with
the older prebuilt toolchain, for example by generating
unsupported relocation types.

To avoid this problem, simply use the -B flag to tell clang to
invoke the assembler from the correct prebuilt gcc prefix.

Change-Id: I18ea4f37ae637b652cfd7321c41929f8be075342
Signed-off-by: Alistair Strachan <alistair.strachan@imgtec.com>
2016-05-05 16:29:08 -07:00
Colin Cross
f51ed4020f Merge "Update prebuilt build tools path"
am: 405b73ea10

* commit '405b73ea10cbe4a4d47c300643171df8f5569665':
  Update prebuilt build tools path

Change-Id: I4bb1ab3f85f9f30fcb326b856cc96fe9f51c4926
2016-05-05 19:03:07 +00:00
Colin Cross
405b73ea10 Merge "Update prebuilt build tools path" 2016-05-05 18:54:37 +00:00
Colin Cross
0206533827 Merge "Pass SANTIIZE_HOST and SANITIZE_TARGET to soong"
am: c9778e339d

* commit 'c9778e339d936be09f4415413538617c64734967':
  Pass SANTIIZE_HOST and SANITIZE_TARGET to soong

Change-Id: I920a8fec171324d4077eb60ad8f812227893e917
2016-05-04 23:38:20 +00:00
Colin Cross
c9778e339d Merge "Pass SANTIIZE_HOST and SANITIZE_TARGET to soong" 2016-05-04 23:34:54 +00:00
Colin Cross
facdca17d5 Update prebuilt build tools path
Build tools have been moved from prebuilts/sdk/tools to
prebuilts/build-tools.

Bug: 27857138
Change-Id: I60be42c197d420897dab77808c25818c9d2e81df
2016-05-04 16:02:02 -07:00
Stephen Hines
b2616db449 Merge "Update RS to use latest Clang-2812033 prebuilts as well."
am: fa4ff9defd

* commit 'fa4ff9defd768b43a030939cd4dc28ed281ae8b7':
  Update RS to use latest Clang-2812033 prebuilts as well.

Change-Id: Ic85416306e3f41b26c130b04125437ebccf8af5c
2016-05-04 21:25:18 +00:00
Pirama Arumuga Nainar
fa4ff9defd Merge "Update RS to use latest Clang-2812033 prebuilts as well." 2016-05-04 21:00:07 +00:00
Colin Cross
ca3b61038c Merge "Update path to reverse_path.py"
am: 2614bdb876

* commit '2614bdb876e9a6bd732d41679b91ec9627c57e34':
  Update path to reverse_path.py

Change-Id: I0d7f47ee3ca4d6ac143b2c580337c74fa053f09e
2016-05-03 21:17:25 +00:00
Colin Cross
2614bdb876 Merge "Update path to reverse_path.py" 2016-05-03 21:13:22 +00:00
Colin Cross
367ab2989a Update path to reverse_path.py
Change-Id: I98902e94a99fae7f9e738a872a83acb98d32c781
2016-05-02 15:31:17 -07:00
Igor Murashkin
d581330855 Merge "old-cts: Add testng and libcoreoj test support"
am: 11821a1e1e

* commit '11821a1e1e1360ceb1ad83f55715d7415c385633':
  old-cts: Add testng and libcoreoj test support

Change-Id: I0f838aebab9aea750217e9351e03f19410ba049c
2016-05-02 20:55:54 +00:00
Igor Murashkin
11821a1e1e Merge "old-cts: Add testng and libcoreoj test support" 2016-05-02 20:40:09 +00:00
Chih-Hung Hsieh
336e44fc3f Merge "Suppress google-* checks in vendor modules."
am: f2592e192d

* commit 'f2592e192da6fcea5233b073149751c9ee687ab9':
  Suppress google-* checks in vendor modules.

Change-Id: Id501346744dd238120c428cdf5ebb9815a438bd2
2016-04-30 00:44:49 +00:00
Stephen Hines
348b81a404 Update RS to use latest Clang-2812033 prebuilts as well.
Change-Id: I62e294e2b8c882c235a6ac7518fa352acd46e055
2016-04-29 16:50:48 -07:00
Chih-Hung Hsieh
30f86e4ab8 Suppress google-* checks in vendor modules.
Too many warnings in vendor code that we cannot fix yet.

Bug: http://b/27779618
Change-Id: I8b65b1fd55c4e4d0dadf0617ab25962809237309
2016-04-29 15:16:59 -07:00
Stephen Hines
e6ca87cc8c Merge "Switch to clang-2812033."
am: fb737e9

* commit 'fb737e9002f43d68473b68518808aab99da9abcf':
  Switch to clang-2812033.

Change-Id: Iffedb14b2c2f2da4d690336f5fa2122dea2e1c83
2016-04-27 22:46:07 +00:00
Stephen Hines
fb737e9002 Merge "Switch to clang-2812033." 2016-04-27 22:33:05 +00:00
Yabin Cui
25b78edecb Merge "Use strip mode mini-debug-info by default except on mips."
am: e13b4c6

* commit 'e13b4c61bd1d6b0d57d7840607d39cc59fa0d840':
  Use strip mode mini-debug-info by default except on mips.

Change-Id: Ia3de2e088b87b71d21b52c358ae5c45564a73bda
2016-04-27 19:22:15 +00:00
Yabin Cui
e13b4c61bd Merge "Use strip mode mini-debug-info by default except on mips." 2016-04-27 19:19:06 +00:00
Ying Wang
0c1d51db71 Merge "Warn if there is file with unknown suffix in Java module\'s sources."
am: 85b9117

* commit '85b911719084b7266de459408e8f038a2a429e0c':
  Warn if there is file with unknown suffix in Java module's sources.

Change-Id: I6c7d7a6b51f63f9b6f0da8b6e35d73d46820cae4
2016-04-27 16:59:13 +00:00
Yabin Cui
700883eadd Use strip mode mini-debug-info by default except on mips.
Bug: 27923447
Change-Id: I818dea44f126155b4b9b3cd929823d8eda1a1174
2016-04-26 17:39:59 -07:00
Igor Murashkin
2d9bba9735 old-cts: Add testng and libcoreoj test support
Bug: 27521545
Change-Id: I2a954401ce47604987a437a2741bcab252d32707
2016-04-26 17:00:22 -07:00
Ying Wang
f8d15d6f3f Warn if there is file with unknown suffix in Java module's sources.
This helps catch extra ) at the end of LOCAL_SRC_FILES.

Bug: 28389144
Change-Id: I0ab536b5bb47338ebf5bdf531835d58f527ccf67
2016-04-26 15:59:06 -07:00
Stefan Stanacar
a0bcefa9f0 Merge "ccache: Allow external setting of CCACHE_COMPILERCHECK variable"
am: a48eb99

* commit 'a48eb99f41c33eb205b3c4e860d82b5d523ba84b':
  ccache: Allow external setting of CCACHE_COMPILERCHECK variable

Change-Id: I02bee522220775c5c8e781f1ef2f45a86e2451ba
2016-04-26 22:27:30 +00:00
Mohammed Habibulla
a48eb99f41 Merge "ccache: Allow external setting of CCACHE_COMPILERCHECK variable" 2016-04-26 22:14:17 +00:00
Stephen Hines
e8b87607c8 Switch to clang-2812033.
Bug: http://b/25291096
Change-Id: I630b7e8a682e3c3b82ad9837b664c1155497618f
2016-04-26 14:34:24 -07:00
Chih-Hung Hsieh
6014381896 Merge "Add tidy.mk to set up global default checks."
am: 214c7fa

* commit '214c7fadf16b458c0eaa0db1d875ca92b8c0a609':
  Add tidy.mk to set up global default checks.

Change-Id: I27a84cab03ff208875014e852f2699d4449d30fd
2016-04-26 01:48:11 +00:00
Chih-Hung Hsieh
460171a3e4 Add tidy.mk to set up global default checks.
* Default checks include only google* minus google-readability*.
* Some google-* checks are disabled for external projects.
* Each project can add more or disable checks through LOCAL_TIDY_CHECKS.

Bug: http://b/27779618
Change-Id: I83eed73bd2bddaace565a6dde532fb2036b4fac4
2016-04-25 12:17:03 -07:00
Nikola Veljkovic
f77eb12f02 Merge "Switch mips64 back to NDK r10."
am: 9ecf544

* commit '9ecf54456c6fc0adc9bc635cfe59a8836eb95a10':
  Switch mips64 back to NDK r10.

Change-Id: I0aa5cfb46d446f9b12a9db6ac066ee100a4e9fb3
2016-04-22 21:30:07 +00:00
Nikola Veljkovic
f738562316 Switch mips64 back to NDK r10.
The NDK doesn't support mips32r6, and the update of prebuilts/ndk to
r11 doesn't have the hack that r10 did. Revert back to r10, until we
decide on a more appropriate solution.

Change-Id: I7891603d8ccbb20398aad893b62c1debf353ef41
2016-04-22 14:17:00 -07:00
Alex Deymo
83285f39ed Merge "Update the path to clean_header.py on the documentation."
am: 93fdee98a9

* commit '93fdee98a9950e61d5a855023221bebc33694c55':
  Update the path to clean_header.py on the documentation.

Change-Id: If67c70e366180d40469c9b052e3d79e4c6c772dc
2016-04-22 18:19:29 +00:00
Treehugger Robot
93fdee98a9 Merge "Update the path to clean_header.py on the documentation." 2016-04-22 18:11:18 +00:00
Alex Deymo
be0e7c9894 Update the path to clean_header.py on the documentation.
Bug: None
Change-Id: I8064c67b6066613b51a581ec67476797690418ae
2016-04-22 10:18:15 -07:00
Yohann Roussel
995b62b2d7 Merge changes I6e98fc65,Ia8665e7c
am: 5ce149b76a

* commit '5ce149b76a44853ec8649057bfcc67d73d3a5a86':
  Remove bootclasspath handling for Jack
  Remove static libraries from Jack classpath

Change-Id: I2839f7a87c2dc4792c67851d38684ebd28313777
2016-04-22 15:53:54 +00:00
Yohann Roussel
5ce149b76a Merge changes I6e98fc65,Ia8665e7c
* changes:
  Remove bootclasspath handling for Jack
  Remove static libraries from Jack classpath
2016-04-22 15:51:50 +00:00
Yohann Roussel
ae2fc81706 Remove bootclasspath handling for Jack
Bootclasspath libraries are already added in LOCAL_JAVA_LIBRARIES by
java.mk and host_dalvik_java_library.mk meaning that bootclasspath
handling was just doing a duplicate work and adding duplicated entries
to the classpath.

Also fix order of bootclasspath libraries for host.

Bug: 28307907
Change-Id: I6e98fc651a127435c029de65285dbf2cb04844af
2016-04-22 09:29:32 +02:00
Chih-Hung Hsieh
c72f50d49f Merge "Call clang-tidy based on WITH_TIDY* variables."
am: 3f03b10654

* commit '3f03b106540b9684cbeb8b889adb9f057cc252d3':
  Call clang-tidy based on WITH_TIDY* variables.

Change-Id: I0f7d3b19d816b76ceaf0cd427ca6a4b148efc1af
2016-04-21 21:08:17 +00:00
Chih-hung Hsieh
3f03b10654 Merge "Call clang-tidy based on WITH_TIDY* variables." 2016-04-21 21:01:45 +00:00
Chih-Hung Hsieh
a9a55c7c7e Call clang-tidy based on WITH_TIDY* variables.
* Call clang-tidy before every C/C++ compilation if
  (1) clang-tidy is found at $(PATH_TO_CLANG_TIDY)
  (2) $(my_clang) is true
  (3) LOCAL_TIDY is 1 or true, or
      LOCAL_TIDY is undefined and WITH_TIDY is 1 or true.
* clang-tidy is called with -checks=$(my_tidy_checks),
  which has default '-*,google*,-google-readability*'
  and can be overwritten by WITH_TIDY_CHECKS.
* LOCAL_TIDY_CHECKS is appended to $(my_tidy_checks)
* Extra flags are passed to clang-tidy through
  WITH_TIDY_FLAGS or LOCAL_TIDY_FLAGS.
* To quickly find and fix clang-tidy warnings, set $(WITH_TIDY_ONLY)
  to 1 or true to skip compilation of C/C++ files.
* Add a PHONY tidy_only target,
  which includes all $(cpp_objects) and $(c_objects).
* The 'mm' and 'mmm' functions are changed to call make with
  the 'tidy_only' target when WITH_TIDY_ONLY is true or 1.
  In that case, only clang-tidy is called for C and C++ files.

Bug: http://b/27779618
Change-Id: I8adcfff217d68af49849b79aacee7d7654cafb1b
2016-04-21 12:31:13 -07:00
Yohann Roussel
2dc79b11cd Remove static libraries from Jack classpath
Those libraries are already imported (or added to the classpath in the
case of the check command) meaning that they were all duplicated.
In addition to complicating the build this was also slowing down the
compilation.

Bug: 28307907
Change-Id: Ia8665e7c5ad8b567bd02de7839fa62e67a5668f7
2016-04-21 17:40:55 +02:00
Shinichiro Hamaji
8196646d27 Merge "Add input dependencies to .img targets"
am: bd0bab233d

* commit 'bd0bab233dc096084aed23bf9ca1b95c6d946648':
  Add input dependencies to .img targets

Change-Id: Ia4089566e6bb729b6e19256c5f896e5c8097d0fe
2016-04-21 06:15:31 +00:00
Shinichiro Hamaji
bd0bab233d Merge "Add input dependencies to .img targets" 2016-04-21 06:10:38 +00:00
Shinichiro Hamaji
99129ec4e3 Merge "Add normalize_path.py to prerequisites"
am: 71211d8a0a

* commit '71211d8a0a32985b9a4fb21caaad300560ed1211':
  Add normalize_path.py to prerequisites

Change-Id: I166372c788d567bf78804f091eb9fa5515be8401
2016-04-21 05:54:00 +00:00
Shinichiro Hamaji
71211d8a0a Merge "Add normalize_path.py to prerequisites" 2016-04-21 05:34:06 +00:00
Ying Wang
d4e3bb8acd Merge "Allow to build native tests for translation arch only."
am: c24740f

* commit 'c24740fdc874b5163fd02eb36811ff750d2acff8':
  Allow to build native tests for translation arch only.

Change-Id: I36f222f6b69737f280fac983f62a201a30f255b9
2016-04-20 21:03:35 +00:00