Commit Graph

19859 Commits

Author SHA1 Message Date
Andrew Hsieh
360b851034 Change mips64 default to mips64r6 from mips64r2
Also add back mips flags previously can't be handled by clang

See aosp/build
  13066a8d4c
  10326b3d7f

Change-Id: Iedc8dadd24f72fbd9c5589eec34677c1827290f3
2014-09-04 19:01:22 -07:00
Deepanshu Gupta
56355bac72 Fix sdk_font build warning.
Commit f0adf87d42 did not fix the warning
properly.

Change-Id: I536aeb4bce4dab63c0f35f32b76653d5b07a8ff0
2014-09-04 18:59:05 -07:00
Chih-Hung Hsieh
9aa69a6752 Add LOCAL_CLANG_*FLAGS for clang only flags.
To be used only for some modules.

Change-Id: I107ec37f11f738f860598f0c86c4ad7ec20c9011
2014-09-04 18:43:16 -07:00
Ying Wang
02a83e9f84 Now we have prebuilt SDK version system_current for apps_only build.
We don't need to explicitly add "system_current" to the list.

Bug: 17390410
Change-Id: I490d0e1cb8e194b6a0bf8bf1703781aef88901d4
2014-09-04 12:18:51 -07:00
Elliott Hughes
0c2dcc0845 am cc3b0c41: am 5c11a76b: Merge "Add debug.atrace.tags.enableflags=0 to /default.prop."
* commit 'cc3b0c411389a7f8dbcc9317614f9027585cc3d0':
  Add debug.atrace.tags.enableflags=0 to /default.prop.
2014-09-04 00:17:05 +00:00
Elliott Hughes
cc3b0c4113 am 5c11a76b: Merge "Add debug.atrace.tags.enableflags=0 to /default.prop."
* commit '5c11a76badbea36c4f6b89a0d2b2dd2acee35a5d':
  Add debug.atrace.tags.enableflags=0 to /default.prop.
2014-09-04 00:04:59 +00:00
Elliott Hughes
5c11a76bad Merge "Add debug.atrace.tags.enableflags=0 to /default.prop." 2014-09-03 23:55:04 +00:00
Tim Murray
3a20a17111 am 965fa22d: am 039cd7e0: Merge "Add LOCAL_NO_FPIE."
* commit '965fa22d85aa1af3974c5f32e3c3325e66781f73':
  Add LOCAL_NO_FPIE.
2014-09-03 23:07:46 +00:00
Tim Murray
965fa22d85 am 039cd7e0: Merge "Add LOCAL_NO_FPIE."
* commit '039cd7e076e904dfe6d4c9e2e2d99fb31444b2ad':
  Add LOCAL_NO_FPIE.
2014-09-03 22:55:51 +00:00
Tim Murray
039cd7e076 Merge "Add LOCAL_NO_FPIE." 2014-09-03 22:46:45 +00:00
Tim Murray
595d0dbd5b Add LOCAL_NO_FPIE.
Not all executables should be built with -pie.

bug 15814177

Change-Id: I402e8a531866b507ee80a0bf677f9f3551ca7693
2014-09-03 15:39:50 -07:00
Ying Wang
180b22590d am 729c9ff5: am 7754e0ce: Merge "[MIPS64] Modify the default MIPS64 build to MIPS64R6."
* commit '729c9ff5ec2085461027a5174d053e77b8c9a100':
  [MIPS64] Modify the default MIPS64 build to MIPS64R6.
2014-09-03 19:59:17 +00:00
Ying Wang
729c9ff5ec am 7754e0ce: Merge "[MIPS64] Modify the default MIPS64 build to MIPS64R6."
* commit '7754e0ce894044e43c50e002e342f03317205668':
  [MIPS64] Modify the default MIPS64 build to MIPS64R6.
2014-09-03 19:30:25 +00:00
Ying Wang
7754e0ce89 Merge "[MIPS64] Modify the default MIPS64 build to MIPS64R6." 2014-09-03 19:20:29 +00:00
Stephen Smalley
88c5a130b4 Add debug.atrace.tags.enableflags=0 to /default.prop.
This ensures that the property is always set by init
prior to starting any other process, which avoids the need
for the bionic systrace code to try to set the property
if it has not already been set to avoid the full cost of
searching for an undefined property each time.  See
change I30ed5b377c91ca4c36568a0e647ddf95d4e4a61a for
the relevant bionic code.

The problem with the current bionic code is that it can
trigger an attempt to set this property from any random
process, which will be denied unless the process is already
authorized to set debug properties.  This is visible in the
form of various SELinux avc: denied messages and
init sys_prop:  permission denied messages in dmesg output.
Allowing all domains to set such properties is undesirable.

Change-Id: I6d953c0c281fd72ad3eba8a479fd258023579b5b
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
2014-09-03 15:08:08 -04:00
Stephen Hines
f8d88e548e am 22270a7d: am 2f9fa520: Merge "Fix build breakage due to incorrect bcc_compat RS_TRIPLE."
* commit '22270a7d68c913b735787589fce17874ef2ed4f2':
  Fix build breakage due to incorrect bcc_compat RS_TRIPLE.
2014-09-03 16:18:13 +00:00
Stephen Hines
22270a7d68 am 2f9fa520: Merge "Fix build breakage due to incorrect bcc_compat RS_TRIPLE."
* commit '2f9fa5202532fb2b5c9ea89a4c15171346f63ec1':
  Fix build breakage due to incorrect bcc_compat RS_TRIPLE.
2014-09-03 16:09:03 +00:00
Stephen Hines
2f9fa52025 Merge "Fix build breakage due to incorrect bcc_compat RS_TRIPLE." 2014-09-03 16:02:09 +00:00
Stephen Hines
2138f5ecbc am 52626d2a: Fix build breakage due to incorrect bcc_compat RS_TRIPLE.
* commit '52626d2a7b4767905e8a369ddc8316c1290ad156':
  Fix build breakage due to incorrect bcc_compat RS_TRIPLE.
2014-09-03 14:34:52 +00:00
Stephen Hines
4f9182eae9 am 41b83d6d: Fix RS_TRIPLE and RS_TRIPLE_CFLAGS.
* commit '41b83d6d3c4baa19d2a34cef5eef730b59555cfa':
  Fix RS_TRIPLE and RS_TRIPLE_CFLAGS.
2014-09-03 05:50:03 +00:00
Stephen Hines
5c72544d48 Fix build breakage due to incorrect bcc_compat RS_TRIPLE.
Bug: 17333374
Change-Id: I13582ce0cde86f7b3728aa4f45a5197438d65a2d
(cherry picked from commit 52626d2a7b)
2014-09-02 21:46:25 -07:00
Stephen Hines
52626d2a7b Fix build breakage due to incorrect bcc_compat RS_TRIPLE.
Bug: 17333374
Change-Id: I13582ce0cde86f7b3728aa4f45a5197438d65a2d
2014-09-02 19:09:35 -07:00
Ying Wang
3b581732f6 am 067dd379: am cee38d55: Merge "[MIPSR6] R6 target options for clang"
* commit '067dd37952ce2df454623d4f849d079673b12f49':
  [MIPSR6] R6 target options for clang
2014-09-03 01:28:30 +00:00
Ying Wang
067dd37952 am cee38d55: Merge "[MIPSR6] R6 target options for clang"
* commit 'cee38d55f8021c9720b883fc1e4feafc8f45d87c':
  [MIPSR6] R6 target options for clang
2014-09-03 01:09:58 +00:00
Ying Wang
cee38d55f8 Merge "[MIPSR6] R6 target options for clang" 2014-09-03 01:02:54 +00:00
Raghu Gandham
10326b3d7f [MIPS64] Modify the default MIPS64 build to MIPS64R6.
Change-Id: I797e4c2e5b69c6991545c26886b5b25e6f8c2a67
2014-09-02 16:30:00 -07:00
Ying Wang
38074e8eb0 am 80ff45ba: am 0850330c: Merge "Default host module to 64-bit except for SDK builds."
* commit '80ff45ba98922b56ca70cc39fdb530482d366684':
  Default host module to 64-bit except for SDK builds.
2014-09-02 23:28:51 +00:00
Ying Wang
80ff45ba98 am 0850330c: Merge "Default host module to 64-bit except for SDK builds."
* commit '0850330caa352ea2dc412df495c6ad95e4264d05':
  Default host module to 64-bit except for SDK builds.
2014-09-02 23:16:25 +00:00
Ying Wang
0850330caa Merge "Default host module to 64-bit except for SDK builds." 2014-09-02 23:05:43 +00:00
Ying Wang
7ba7d7f4f5 Default host module to 64-bit except for SDK builds.
Set "HOST_PREFER_32_BIT := true" only if "sdk" or "win_sdk" is among the
make command line goals, or it's a MinGW windows build, which only builds
host SDK tools.

Bug: 13751317
Change-Id: I8ec1a97a5d1af065a153b16523c2ee3434d0dd71
2014-09-02 16:04:31 -07:00
Stephen Hines
6aa90f75f6 am 6f8fe420: am ec8778e8: Merge "Fix RS_TRIPLE and RS_TRIPLE_CFLAGS."
* commit '6f8fe42043ab75860ac38c20e907976101a39f71':
  Fix RS_TRIPLE and RS_TRIPLE_CFLAGS.
2014-09-02 16:44:37 +00:00
Stephen Hines
41b83d6d3c Fix RS_TRIPLE and RS_TRIPLE_CFLAGS.
Bug: 17333374

Add RS_TRIPLE_CFLAGS to ensure that we build with the proper defines on
targets like x86. This also changes all build targets to use the
proper 32/64-bit triples when creating their runtime libraries.

(cherry picked from commit 039675adb8)

Change-Id: Ib7b5bb7aae5abcad9ab477a00e368179d0121091
2014-09-02 09:41:03 -07:00
Stephen Hines
6f8fe42043 am ec8778e8: Merge "Fix RS_TRIPLE and RS_TRIPLE_CFLAGS."
* commit 'ec8778e89f872b9a12cc6b3367400ecd33cb32d0':
  Fix RS_TRIPLE and RS_TRIPLE_CFLAGS.
2014-09-02 16:31:35 +00:00
Stephen Hines
ec8778e89f Merge "Fix RS_TRIPLE and RS_TRIPLE_CFLAGS." 2014-09-02 16:23:11 +00:00
Doug Zongker
5b09b00b11 am 424296a4: add missing AOSP copyright notices
* commit '424296a4e811f57ada27be68d60aeb5fcb1bb45b':
  add missing AOSP copyright notices
2014-09-02 16:18:55 +00:00
Doug Zongker
424296a4e8 add missing AOSP copyright notices
Change-Id: Idc812db30b259a55702f8728197f957f2d24d978
2014-09-02 08:53:09 -07:00
Ying Wang
7e5b951e4b am 33f14e60: am 7852b80c: Merge "Add missing flags to x86 (both 32- and 64-bit) arch variants. Delete x86_64-atom.mk as we don\'t support 64-bit on old Atom."
* commit '33f14e60729443b8c3958ea4246c914fc18891f9':
  Add missing flags to x86 (both 32- and 64-bit) arch variants. Delete x86_64-atom.mk as we don't support 64-bit on old Atom.
2014-09-01 18:10:33 +00:00
Ying Wang
33f14e6072 am 7852b80c: Merge "Add missing flags to x86 (both 32- and 64-bit) arch variants. Delete x86_64-atom.mk as we don\'t support 64-bit on old Atom."
* commit '7852b80c05e33c873819b1bf22bcaa54bb583c99':
  Add missing flags to x86 (both 32- and 64-bit) arch variants. Delete x86_64-atom.mk as we don't support 64-bit on old Atom.
2014-09-01 17:58:52 +00:00
Ying Wang
7852b80c05 Merge "Add missing flags to x86 (both 32- and 64-bit) arch variants. Delete x86_64-atom.mk as we don't support 64-bit on old Atom." 2014-09-01 17:47:55 +00:00
Marcin Kosiba
cd9e237597 am 23802610: (-s ours) am 15493ceb: Merge "Remove webviewchromium from PRODUCT_BOOT_JARS for real."
* commit '238026105759ccd6faa8e31794dc44fb39665591':
  Remove webviewchromium from PRODUCT_BOOT_JARS for real.
2014-09-01 11:17:33 +00:00
Marcin Kosiba
6782955645 am e3345bcd: (-s ours) am aab8cdb7: Merge "Remove webviewchromium from PRODUCT_BOOT_JARS."
* commit 'e3345bcd76e30ca50a59ef30624bebd01b9181da':
  Remove webviewchromium from PRODUCT_BOOT_JARS.
2014-09-01 10:36:11 +00:00
Marcin Kosiba
2380261057 am 15493ceb: Merge "Remove webviewchromium from PRODUCT_BOOT_JARS for real."
* commit '15493ceba52ce6bc962c66fd38d1cb0cbd88e2eb':
  Remove webviewchromium from PRODUCT_BOOT_JARS for real.
2014-09-01 10:30:13 +00:00
Marcin Kosiba
15493ceba5 Merge "Remove webviewchromium from PRODUCT_BOOT_JARS for real." 2014-09-01 10:20:14 +00:00
Marcin Kosiba
6eeacd322f Remove webviewchromium from PRODUCT_BOOT_JARS for real.
The WebView Java code is now loaded by WebViewFactory from an APK
when an app needs it, so remove the old jar from the boot classpath.
The previous change removed the webview from core_minimal.mk but
not from core_base.mk, which is what this change addresses.

Change-Id: I6f4bcd427a7e65f3a20372c3c177e9342a953290
2014-09-01 10:57:44 +01:00
Marcin Kosiba
e3345bcd76 am aab8cdb7: Merge "Remove webviewchromium from PRODUCT_BOOT_JARS."
* commit 'aab8cdb7044555fc88c7aaffa83884bb68a2ddb0':
  Remove webviewchromium from PRODUCT_BOOT_JARS.
2014-09-01 09:37:10 +00:00
Marcin Kosiba
aab8cdb704 Merge "Remove webviewchromium from PRODUCT_BOOT_JARS." 2014-09-01 09:26:59 +00:00
Marcin Kosiba
98cee3b415 Remove webviewchromium from PRODUCT_BOOT_JARS.
The WebView Java code is now loaded by WebViewFactory from an APK
when an app needs it, so remove the old jar from the boot classpath.

Bug: 16329371
Change-Id: Ibed49641d04fd5e93e26ab12e203e4596e0b3bb6
2014-09-01 10:22:10 +01:00
Stephen Hines
039675adb8 Fix RS_TRIPLE and RS_TRIPLE_CFLAGS.
Bug: 17333374

Add RS_TRIPLE_CFLAGS to ensure that we build with the proper defines on
targets like x86. This also changes all build targets to use the
proper 32/64-bit triples when creating their runtime libraries.

Change-Id: I8f6175b1a14af6d03ee90f32069f3688ec227fb9
2014-08-29 15:20:05 -07:00
Brian Carlstrom
efbc447acc am b4b470de: am d2cf1b92: Merge "Add --no-include-debug-symbols to avoid bloat in user builds"
* commit 'b4b470de684436d186c673d98571b210248aa4f8':
  Add --no-include-debug-symbols to avoid bloat in user builds
2014-08-29 11:39:57 +00:00
Brian Carlstrom
b4b470de68 am d2cf1b92: Merge "Add --no-include-debug-symbols to avoid bloat in user builds"
* commit 'd2cf1b924d3eee40c43d40af9dd66d9b83495b22':
  Add --no-include-debug-symbols to avoid bloat in user builds
2014-08-29 05:27:45 +00:00