Commit Graph

11095 Commits

Author SHA1 Message Date
Adam Seaton 55ed6ce833 Updating security string to 2016-11-05 on nyc-dev am: 002132648d
am: 8f911960cf

Change-Id: Id8d5c8a3351d87873336a5b14e6634d335af0e9f
2016-09-21 17:57:09 +00:00
Adam Seaton 0f775c7435 Updating Security String to 2016-11-01 on nyc-dev am: 2a00b24144
am: f305906a95

Change-Id: I8a2a223d759402a2d198e34a2f215fa00ab86511
2016-09-21 17:56:58 +00:00
Adam Seaton 8f911960cf Updating security string to 2016-11-05 on nyc-dev
am: 002132648d

Change-Id: I00ffcb925f579ad2e404dafeaa2d85cf76e021f3
2016-09-21 17:55:18 +00:00
Adam Seaton f305906a95 Updating Security String to 2016-11-01 on nyc-dev
am: 2a00b24144

Change-Id: I19a783b2e608de9b3be07f442a9762336f2105c1
2016-09-21 17:51:40 +00:00
Colin Cross fba6042e11 Merge "Replace usages of my_register_name with my_all_targets" am: 077d9d5fe7 am: e373117cac
am: 1f351ad75c

Change-Id: Ie0b935e6209a941cfe992276270b5b5b3e5c4f95
2016-09-21 02:28:59 +00:00
Colin Cross 1f351ad75c Merge "Replace usages of my_register_name with my_all_targets" am: 077d9d5fe7
am: e373117cac

Change-Id: I4636a410ec035c21fc20c04f47cada7b08c31b8e
2016-09-21 02:09:54 +00:00
Colin Cross 3388670e78 Replace usages of my_register_name with my_all_targets
A few module types add extra dependencies on $(my_register_name), move
them to $(my_all_targets) so that they are built for mm and mma too.

Bug: 31526036
Test: mmm framework
Change-Id: I2e594ce771451a99691739b963f4ce517e9dd595
2016-09-20 16:03:50 -07:00
Adam Seaton 002132648d Updating security string to 2016-11-05 on nyc-dev
b/31618336

Change-Id: I1489eaf64c59dc0f175eb9220a900c68e262b3dd
2016-09-20 15:48:41 -07:00
Adam Seaton 2a00b24144 Updating Security String to 2016-11-01 on nyc-dev
b/31618336

Change-Id: I8ee8f978fbbf30efb1abca85cf374fc440a1baf7
2016-09-20 15:47:16 -07:00
Paul Duffin d1711efb72 Merge "Add targets for building individual modules using javac" am: cb6f7c2d86 am: da3fdebc1d
am: d8d5065b50

Change-Id: Ie5364d8135f2e1523b52069a5bcc28be144dfe37
2016-09-20 12:03:18 +00:00
Paul Duffin d8d5065b50 Merge "Add targets for building individual modules using javac" am: cb6f7c2d86
am: da3fdebc1d

Change-Id: Iff02ac85b5e197135a9729e725a55cb5715cc2a8
2016-09-20 11:59:48 +00:00
Paul Duffin cb6f7c2d86 Merge "Add targets for building individual modules using javac" 2016-09-20 11:51:40 +00:00
Dan Willemsen 83aba3a7ab Merge "Fix link_type checking" am: 665cda08f0 am: 1347d959de
am: 8459bbca6f

Change-Id: I22da0f1703995c4734a72901abe2dbcee62c1406
2016-09-20 01:01:38 +00:00
Dan Willemsen 8459bbca6f Merge "Fix link_type checking" am: 665cda08f0
am: 1347d959de

Change-Id: Ia7ba9accbfa4c7de8843d5554a62524500509d5b
2016-09-19 23:21:16 +00:00
Dan Willemsen 665cda08f0 Merge "Fix link_type checking" 2016-09-19 21:54:09 +00:00
Paul Duffin 32bd0adf9c Add targets for building individual modules using javac
This is needed in order to be able to run error prone (which is
a plugin replacement for javac) on a subset of the java code.

Bug: 31507496
Test: Build javac-check-core-tests and check the resulting JAR
Change-Id: I5a556920572fcdad7b39d67e3f00fe0e0f1f8f46
2016-09-19 13:38:51 +01:00
Dan Willemsen c99f688971 Merge "Only update previous product config when changed" am: 2fcacb5a22 am: 5f381cfcb2
am: 8e77f86d58

Change-Id: Id86be7706a190b3264ba1aba4ce462cb785f15fa
2016-09-17 02:41:50 +00:00
Dan Willemsen 8e77f86d58 Merge "Only update previous product config when changed" am: 2fcacb5a22
am: 5f381cfcb2

Change-Id: I77598bb8449c8b4b83e93453dd46a658af66bab1
2016-09-17 02:38:49 +00:00
Dan Willemsen 274d041107 Merge "Remove objclean" am: 1d4b79dde2 am: beaa6df59f
am: b4773ae479

Change-Id: Ic4333c9a139afc6625408142549cec834b1f1c9a
2016-09-16 22:11:31 +00:00
Dan Willemsen b4773ae479 Merge "Remove objclean" am: 1d4b79dde2
am: beaa6df59f

Change-Id: I73a68779f7b2e321c66e6102dca290828a9cd25f
2016-09-16 22:02:31 +00:00
Dan Willemsen 2cfbdf460d Only update previous product config when changed
I'm working on removing the --ignore_dirty=$(OUT_DIR)/% argument from
Kati. If we're always writing to a file that we're also reading, then
with that flag removed, we'll always reparse all the makefiles.

So instead, use the method from the generated java file cleanup where we
read from a "previous" file, write to a "current" file, then use a
cmp || mv to overwrite the "previous" file if necessary. When the flag
is removed, this will cause Kati to need to run twice any time this
changes, but it's better than forever.

Bug: 30947985
Test: Switch between aosp_arm-eng and full-eng
Change-Id: Id2d1445809b60ce26700bb2aca765df3b5c2b360
2016-09-16 13:17:08 -07:00
Dan Willemsen da7d25f2d1 Remove objclean
We don't need to manually remove objects when switching SANITIZE_TARGET
-- that will be handled by Ninja noticing that the command lines are
different.

Bug: 30947985
Test: None
Change-Id: I83c15981cf6ea258bb7fa85490b0b1ede1058aa6
2016-09-16 12:53:20 -07:00
Dan Albert d11f78fbd5 Use libcompiler-rt_extras with NDK builds. am: c28e4bcb1c am: d042352816
am: d7c48e9f9d

Change-Id: I95f49f3b0056efd2de574fde3a3760b8d43f0963
2016-09-16 06:54:03 +00:00
Dan Albert 3f0f58a60b Always link libdl with libc++ for the NDK. am: 2936a1e84b am: ec6223ec3c
am: 7fde1f9c6e

Change-Id: Ia0f0f06883dd420034a230dfaa6bd32092d87c51
2016-09-16 06:53:55 +00:00
Dan Albert d7c48e9f9d Use libcompiler-rt_extras with NDK builds. am: c28e4bcb1c
am: d042352816

Change-Id: Icb272f25c0c94ebfed549382eefd36363b0b7a1f
2016-09-16 06:51:03 +00:00
Dan Albert 7fde1f9c6e Always link libdl with libc++ for the NDK. am: 2936a1e84b
am: ec6223ec3c

Change-Id: I18fb4af4cd80609ba7bec3d23509df3d3cb6ecf0
2016-09-16 06:50:54 +00:00
Dan Albert d042352816 Use libcompiler-rt_extras with NDK builds.
am: c28e4bcb1c

Change-Id: I21541bee4a55951601b6cd110ec78ae94a5da94c
2016-09-16 06:45:32 +00:00
Dan Albert ec6223ec3c Always link libdl with libc++ for the NDK.
am: 2936a1e84b

Change-Id: I41b0ce041345477931b0b0f59212fcda31899259
2016-09-16 06:45:23 +00:00
Treehugger Robot 7b351cadfc Merge changes from topics 'ndk-compiler-rt_extras', 'ndk-libc++-libdl'
* changes:
  Use libcompiler-rt_extras with NDK builds.
  Always link libdl with libc++ for the NDK.
2016-09-16 06:40:32 +00:00
Ryan Campbell 4fac69d7ca Merge "Fix typo in coverage target out path." am: c6507670f2 am: 1fd609359d
am: ee20a35082

Change-Id: I0606159c8917927e4c8b4ad6ff67e73ba9473085
2016-09-16 02:19:03 +00:00
Ryan Campbell ee20a35082 Merge "Fix typo in coverage target out path." am: c6507670f2
am: 1fd609359d

Change-Id: I3650bd75e4b3a8e03f613e430c65f62ef63aaf37
2016-09-16 02:16:02 +00:00
Ryan Campbell 737bc02ee8 Fix typo in coverage target out path.
Change-Id: I4a448708ab74e08b2c515039ee5d71c32861214e
2016-09-15 17:32:13 -07:00
Dan Willemsen 121e284b46 Fix link_type checking
This was printing "error:", but not actually triggering an error.
Instead of trying to write a single line bash script to handle this,
move the actual check into python. This allows us to print all of the
errors for a single module before triggering the failure.

Also updates the warning format and the warn.py script to properly parse
these warning. Many of the java:sdk -> java:platform warnings are false
positives due to the lack of LOCAL_SDK_VERSION markings on prebuilts.

Individual tags can be marked as warnings now, which lets us check for
system libraries linking against vendor libraries (which won't work on
AOSP). I'm not sure this is a completely valid check, which one reason
that it's just a warning.

Test: m all_link_types (with some missing libs commented out)
Change-Id: I333e418c9a4511b7c7e826891ae481da08fbf6f9
2016-09-15 14:40:39 -07:00
Colin Cross 2d5011fd0e Merge "Remove SRC_SYSTEM_HEADERS" am: 4a6862e59b am: 195857c6dd
am: e0e5754f23

Change-Id: Ie517fe1520abc84807159ee80e50333fa9b32f84
2016-09-15 18:44:28 +00:00
Colin Cross e0e5754f23 Merge "Remove SRC_SYSTEM_HEADERS" am: 4a6862e59b
am: 195857c6dd

Change-Id: I28abe9c363ddd963fb5010586fc2cddaee89c015
2016-09-15 18:41:57 +00:00
Treehugger Robot 4a6862e59b Merge "Remove SRC_SYSTEM_HEADERS" 2016-09-15 18:27:45 +00:00
Colin Cross 4ed13c38a5 Remove SRC_SYSTEM_HEADERS
It is inherited from Soong now.

Bug: 31492149
Change-Id: Ia9bfd9662dba16032dac68b55b4f0743c0688139
2016-09-15 09:29:15 -07:00
Yoshisato Yanagisawa a25256f715 Merge "goma.mk: do not start goma compiler_proxy if NOSTART_GOMA is set." am: 766c348748 am: 4d5f3043a2
am: 57e615605c

Change-Id: I632eccd90114806053b9441a9dc952e09b635f59
2016-09-15 03:55:44 +00:00
Yoshisato Yanagisawa 57e615605c Merge "goma.mk: do not start goma compiler_proxy if NOSTART_GOMA is set." am: 766c348748
am: 4d5f3043a2

Change-Id: I1cb95bee90e922a74d121f0ed78dc08953cfa735
2016-09-15 03:53:43 +00:00
Treehugger Robot 766c348748 Merge "goma.mk: do not start goma compiler_proxy if NOSTART_GOMA is set." 2016-09-15 03:41:24 +00:00
Dan Albert c28e4bcb1c Use libcompiler-rt_extras with NDK builds.
We want to build things in CTS (things built against the NDK) with
integer overflow checks. Some projects in the tree also make explicit
calls to the overflow checked builtins, and those projects need to be
built with the NDK (external/dng_sdk is the specific example that
brought this up).

Test: make checkbuild tests
Bug: None
Change-Id: Iab27dd0d931f723140de242049fa72f3b1ce0fb8
2016-09-14 16:08:48 -07:00
Dan Albert 2936a1e84b Always link libdl with libc++ for the NDK.
libc++ requires libdl whether it's statically linked or not.

Test: make checkbuild tests
Bug: None
Change-Id: I8abdcfaef779b358196716ab1193cebe278317ac
2016-09-14 16:08:04 -07:00
Dan Willemsen 196f190592 Merge "Fix shared library install dependencies outside of /system" am: 0b3f97b0d6 am: f9fc0ea6fe
am: 7c4ced5337

Change-Id: Ibc3c3fca687f7541d779d390e3cbc6123f88e149
2016-09-13 22:51:35 +00:00
Dan Willemsen 7c4ced5337 Merge "Fix shared library install dependencies outside of /system" am: 0b3f97b0d6
am: f9fc0ea6fe

Change-Id: I0b06d2a331cf6788e842d91d8b246df2345f10d8
2016-09-13 22:48:36 +00:00
Dan Willemsen 5bdd08b2d9 Fix shared library install dependencies outside of /system
For properly picking the shared library install dependencies, HOST_OUT
and HOST_CROSS_OUT are necessary so that we don't add a dependency
between Linux and Windows. But for target modules, we must use
TARGET_OUT_ROOT instead of TARGET_OUT, or modules in /data and /vendor
won't have proper install dependencies.

Bug: 31462199
Test: m bionic-unit-tests; manual diff of generated ninja file
Change-Id: I828fa2664613296cc6c431813f5657abffdd2b8f
2016-09-13 13:47:06 -07:00
Ryan Campbell 5a63fe6856 Merge "Implement path-based enabling of code coverage." am: 1e1ecd5d07 am: 6b92bb4ebb
am: 577eab3323

Change-Id: I36a4fc67e87e8561486111263b0d6b6ed1bdefcc
2016-09-13 20:01:23 +00:00
Ryan Campbell 577eab3323 Merge "Implement path-based enabling of code coverage." am: 1e1ecd5d07
am: 6b92bb4ebb

Change-Id: I8d359d0dc1fd72491239152f3c6b852c307ca919
2016-09-13 19:58:51 +00:00
Ryan Campbell 1e1ecd5d07 Merge "Implement path-based enabling of code coverage." 2016-09-13 19:48:34 +00:00
Dan Willemsen 93a0afc749 Merge "Fix building static linux binaries" am: 8bb71cef9f am: 5cf6a4578d
am: a4f8d8b2a3

Change-Id: I3a635cfbc7d8d322741270881de6bb757fe2a9fb
2016-09-13 19:34:23 +00:00
Dan Willemsen a4f8d8b2a3 Merge "Fix building static linux binaries" am: 8bb71cef9f
am: 5cf6a4578d

Change-Id: Ic8f3a7eb287e42f029c36653c2c7a3c0de65b155
2016-09-13 19:31:22 +00:00