Commit Graph

5237 Commits

Author SHA1 Message Date
Ian Rogers f0d5324fdc Merge "Refine TARGET_GLOBAL_CFLAGS for x86 and x86_64:" into lmp-dev 2014-09-10 20:20:51 +00:00
Alexander Ivchenko 4ee006e012 Refine TARGET_GLOBAL_CFLAGS for x86 and x86_64:
Remove -msse2 for x86 (-mssse3 should be provided by the compiler).
       Remove -fPIC (compiler provides by default).
       Remove -fno-inline-functions-called-once.

Change-Id: Ibb29934224c4eedfff926dc72c3b6342c1861ac9
(cherry picked from commit 388dce3192)
2014-09-10 11:50:21 -07:00
Mark Renouf ba19802001 am 0ab5cc6b: am 99332f11: Allow for opt-in of proguard shrinking of tests with new flag
* commit '0ab5cc6b8e04e0a07778f3c620a9edac3a40bc4e':
  Allow for opt-in of proguard shrinking of tests with new flag
2014-09-10 07:01:07 +00:00
Mark Renouf 0ab5cc6b8e am 99332f11: Allow for opt-in of proguard shrinking of tests with new flag
* commit '99332f11c5cdf1e58eb056c019d3ca8b1e3f034a':
  Allow for opt-in of proguard shrinking of tests with new flag
2014-09-10 01:42:21 +00:00
Mark Renouf 99332f11c5 Allow for opt-in of proguard shrinking of tests with new flag
By adding 'shrinktests' to LOCAL_PROGUARD_ENABLED, the -dontshrink
flag will be omitted from the resulting proguard config allowing
tests to have unnecessary classes removed before dexxing.

Clockwork is running into 64k method limits on some tests which
depend on GmsCore. On 4.4W (klp-modular-dev) we don't have the
option for multi-dex so proguard is the only solution here.

This change leaves the default behavior unchanged. Shrinking is
still disabled for tests by default unless the 'shrinktests'
flag is set in the Makefile.

Change-Id: Ib586ae9e7f617072b41e95742559bf7c8a6a6ce1
2014-09-09 20:42:48 -04:00
Doug Zongker 8544877399 select default search_path by platform
Bug: 17443175
Change-Id: I2b8b0a3b56e667b749ac167a6d09dc973ecf8419
2014-09-09 15:11:13 -07:00
Ying Wang 66c78e46d2 Run device-specific tasks at the end of Makefile.
This allows us to add device-specific tasks.

Bug: 17406520
Change-Id: If23a6d530104a8dc3eeaf8215d8d41a6847f4645
2014-09-05 17:47:34 -07:00
Ying Wang 13002c56fe Merge "Now we have prebuilt SDK version system_current for apps_only build." into lmp-dev 2014-09-05 20:13:50 +00:00
Andrew Hsieh 51a50fbf07 Merge "Change mips64 default to mips64r6 from mips64r2" into lmp-dev 2014-09-05 05:26:22 +00:00
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
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
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
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
Brian Carlstrom 91b9d01b6b Add --no-include-debug-symbols to avoid bloat in user builds
Bug: 16938924
Change-Id: I9f580d74bc5607483fc1193c2db56f0d27b44347
2014-08-28 17:16:11 -07:00
Adam Lesinski 71deb204d1 Merge "Add anydpi to all product configs" into lmp-dev 2014-08-27 17:43:49 +00:00
Adam Lesinski d31552fa66 Add anydpi to all product configs
Change-Id: Ia5e0834c585891de58e5daf3473563ab64dba74c
2014-08-26 15:29:33 -07:00
Dianne Hackborn e4584a4129 Merge "Shhhhhhh!!!" into lmp-dev 2014-08-26 20:56:50 +00:00
Doug Zongker 4d0bfb4f40 remove unused xdelta3/xz utilities
This was part of the original block-based OTA mechanism.

Bug: 16987495
Change-Id: I5bd6599829ee6084a8da1f0b14af87aabf07c130
2014-08-26 13:11:56 -07:00
Dianne Hackborn bf9b9275af Shhhhhhh!!!
Change-Id: I3bb72742f788c70f82f311b6ffba479aa02a1eb0
2014-08-26 12:39:26 -07:00
Calin Juravle e8892aa4ec Merge "Push ISA features into system properties" into lmp-dev 2014-08-26 17:34:42 +00:00
Calin Juravle 28be9d8884 Push ISA features into system properties
We need to know instruction set featues at runtime as well so that the
apps get compiled on target with the proper features. The properties are
read by installd and passed to dex2oat.

Bug: 16716262
Change-Id: Ia73f2055f696880d45a63a0d6e0ee98d37a01113
2014-08-26 18:05:52 +01:00
Ying Wang da2da1d9b8 Fix aidl post clean bug.
We really should check MODULES_WITH_AIDL_FILES against ALL_MODULES,
instead of modules_with_aidl_files, because a module could have just
remove any aidl files so it won't appear in modules_with_aidl_files.

Change-Id: Iab92be1ed5f0556b7236be41d90d8471c7193928
2014-08-23 09:45:31 -07:00
Dehao Chen f4294cd816 Add TARGET_FDO_LDFLAGS to make sure -lgcc is always linked after -lgcov.
Change-Id: I33a94abe58391a8564ada14417b0158ddd7ed2d6
2014-08-20 16:48:17 -07:00
Jeff Brown 4faea310ac Remove incomplete media router API. (DO NOT MERGE)
Change-Id: Icc0800e2cdb9b0a5ad2bcde760d9eefd0aea74ea
2014-08-19 19:44:46 -07:00
Ying Wang 9885ba95a4 Merge "Store a copy of installed-files.txt in DIST_DIR if system.img failed to build" into lmp-dev 2014-08-19 21:23:09 +00:00
Ying Wang ebe63fb0a0 Store a copy of installed-files.txt in DIST_DIR if system.img failed to build
Because we already have rule to store installed-files.txt in DIST_DIR,
to avoid the slim chance of race condition, this copy is named as
installed-files-rescued.txt

Change-Id: I9fa6d8aded0ad5de1f1422d70a4224b3fc308e75
2014-08-19 12:21:35 -07:00
Dehao Chen 4e8f2ea6e8 Check existance of profile directory for specific device.
Change-Id: I149c257e98c8483b79f2afc1e5b871731f6f6519
2014-08-18 09:43:42 -07:00
Dmitriy Ivanov d8a20db0b8 Merge "Add compile time check for statically linked libc" into lmp-dev 2014-08-15 18:56:10 +00:00
Dmitriy Ivanov 655d6851f3 Add compile time check for statically linked libc
Bug: 17047392
Change-Id: I2718422e1832ec5df7f362812ae2728dfd939076
2014-08-15 14:52:42 -07:00
Narayan Kamath 50fbf71b2e Merge "Remove services, wifi, ethernet from BOOTCLASSPATH." into lmp-dev 2014-08-15 04:32:23 +00:00
Narayan Kamath f502c41459 Merge "Fix broken comparison in executable_prefer_symlink.mk" into lmp-dev 2014-08-15 04:54:19 +00:00
Dehao Chen 5b81106eb5 Merge "Explicitly check if LOCAL_FDO_SUPPORT is true (instead of empty). Change-Id: Icff260c7f866236254091b035782607a31e5a109" into lmp-dev 2014-08-15 05:03:06 +00:00
Dehao Chen f7a909db63 Explicitly check if LOCAL_FDO_SUPPORT is true (instead of empty).
Change-Id: Icff260c7f866236254091b035782607a31e5a109
2014-08-14 17:54:14 -07:00
Narayan Kamath 123854da97 Fix broken comparison in executable_prefer_symlink.mk
bug: 17024634
Change-Id: Ie9fdcbca1cbd6d204be57636864bb8074cd19732
2014-08-14 15:28:48 +01:00
Ying Wang 903e2dd014 Apply TARGET_GLOBAL_LDFLAGS to transform-bc-to-so
This fixes mips unbundled build since we switched to mips64el toolchain
for both mips and mips64.
TODO: multilib build support.

Change-Id: I7add92d2cecfc3ab739785ceef6700240a25093a
2014-08-13 18:47:50 -07:00
Bill Yi ec4c5391f1 Add atmel to vendor owner whitelist
BUG: 16463358
2014-08-13 16:53:45 -07:00
Ying Wang 45ff36ee4c Print out the tree size of system directory if it failes to build system.img
The tree size gives a good estimate of how big the system.img would be.

Change-Id: Iaadd58e3521b5f76cd9dfdcf384f4d820b9fc71b
2014-08-13 13:58:03 -07:00
Deepanshu Gupta 3412b42ada Merge "Skip extra fonts if not an extended font build." into lmp-dev 2014-08-12 23:14:35 +00:00
Deepanshu Gupta f0adf87d42 Skip extra fonts if not an extended font build.
This fixes build warning:
build/core/sdk_font.mk:51: warning: overriding commands for target
`out/host/common/obj/PACKAGING/sdk-fonts_intermediates/NanumGothic.ttf'

Change-Id: I5e208faf25f6f5d1ae3fac9970c70e80e42c7dcd
2014-08-14 19:23:01 -07:00
Ying Wang e7391fcf69 Merge "Fix HOST_LIBRARY_PATH." into lmp-dev 2014-08-12 23:14:35 +00:00
Ying Wang d481b112f2 Fix HOST_LIBRARY_PATH.
Since we switched to $(HOST_OUT)/lib64 for 64-bit libraries and
$(HOST_OUT)/lib for 32-bit libraries.

Change-Id: Ie43bc03c37e2ac8542412a7543a6af5d60c6f725
2014-08-14 11:03:56 -07:00
Justin Koh 02e5721248 am e2ff12bf: DO NOT MERGE Bump version string.
* commit 'e2ff12bf2a6892ec56676b6a845a02e81b372e8c':
  DO NOT MERGE Bump version string.
2014-08-12 23:14:33 +00:00
Justin Koh e2ff12bf2a DO NOT MERGE Bump version string.
Bump version string for KKWT MR0
Bug: 16982332

Change-Id: I8636169362ec45891257c39fb47574a6e021a3f0
2014-08-12 13:55:57 -07:00
Deepanshu Gupta d69f44efbe Merge "Add list of all fonts shipped" into lmp-dev 2014-08-12 19:21:04 +00:00
Deepanshu Gupta 88a307eb32 Add list of all fonts shipped
Create a new file that lists all the fonts bundled with the SDK.

Change-Id: I269216ee753b78e0b0ee71c0ece4f6b759c36664
2014-08-12 14:57:52 -07:00
Ying Wang 5caacc0d9a Merge "Allow to strip everything for only some build variants." into lmp-dev 2014-08-12 19:31:43 +00:00
Alex Light 95221ced39 Merge "Add a WITH_DEXOPT_BOOT_IMG_ONLY configuration option." into lmp-dev 2014-08-12 16:55:45 +00:00
Narayan Kamath 89ec496f98 Remove services, wifi, ethernet from BOOTCLASSPATH.
They belong to the system_server classpath.

bug: 16555230

Change-Id: Ic84f0b2baf611eeedff6d123cb7191bb0259e600
2014-08-12 10:25:19 +01:00
Deepanshu Gupta 7a864ea196 Update font list for the SDK
Java has a problem loading OpenType fonts. This change updates the list
of fonts to include by omitting the otf fonts and adding their
replacement.

This change also moves the code for configuring the fonts for the SDK in
a separate file so that the core Makefile remains cleaner.

Change-Id: Iaf30a3ec59adf251b79cb20f27ad88fc92205ac1
2014-08-11 17:59:24 -07:00