Commit graph

19302 commits

Author SHA1 Message Date
Tim Murray
fabd3c00b4 Merge "Pass -m32 or -m64 to llvm-rs-cc when reflecting C++." into lmp-dev 2014-09-10 22:35:58 +00:00
Tim Murray
f0020c6157 Pass -m32 or -m64 to llvm-rs-cc when reflecting C++.
bug 17417839

Change-Id: Iea4aede874f751ac732c3e3ae7a11e18613edcf5
2014-09-10 15:11:01 -07:00
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
Mike Lockwood
f856b09396 Merge "Add com.android.future.usb.accessory support library to all builds" into lmp-dev 2014-09-08 18:02:36 +00:00
Mike Lockwood
b0a62787b4 Add com.android.future.usb.accessory support library to all builds
so we don't have to remember to add it to device.mk for all products.

Bug: 17189905
Change-Id: Ia19c5e16bc7916996804a52eccd3ecca89099f09
2014-09-08 10:34:18 -07:00
Jeff Arneson
5c980afc5e Merge "Show annotation information in generated documentation" into lmp-dev 2014-09-08 16:39:56 +00:00
Ying Wang
abc3fbe6ae Merge "Run device-specific tasks at the end of Makefile." into lmp-dev 2014-09-06 22:54:58 +00:00
Baligh Uddin
b84a9ae27d am 03f8a4df: am 4f3d3147: Merge "Add java_args as a valid option" into klp-modular-dev
* commit '03f8a4dfb557ddd56014ed91824f080c82564042':
  Add java_args as a valid option
2014-09-06 04:20:10 +00:00
Baligh Uddin
bd34f52541 am 95c17467: am 1131d89b: Add jvm args option. I rather not hardcode some large value just for Volantis. This can easily be passed in from sign-build.sh and should be a no-op for any other tools
* commit '95c17467b72114ffb3941ec146cbe2a1a147e44e':
  Add jvm args option.  I rather not hardcode some large value just for Volantis.  This can easily be passed in from sign-build.sh and should be a no-op for any other tools
2014-09-06 04:20:09 +00:00
Baligh Uddin
03f8a4dfb5 am 4f3d3147: Merge "Add java_args as a valid option" into klp-modular-dev
* commit '4f3d31479d5e4e8d35e60de628417cb820d69f5e':
  Add java_args as a valid option
2014-09-06 02:47:04 +00:00
Baligh Uddin
95c17467b7 am 1131d89b: Add jvm args option. I rather not hardcode some large value just for Volantis. This can easily be passed in from sign-build.sh and should be a no-op for any other tools
* commit '1131d89b426d7da401885d37a50a908c9f87d2a1':
  Add jvm args option.  I rather not hardcode some large value just for Volantis.  This can easily be passed in from sign-build.sh and should be a no-op for any other tools
2014-09-06 02:47:02 +00:00
Baligh Uddin
4f3d31479d Merge "Add java_args as a valid option" into klp-modular-dev 2014-09-06 02:19:37 +00:00
Baligh Uddin
f5085a8f94 Add java_args as a valid option
Bug: 17393134
Change-Id: If2749d03b5d409a08d415a829dd21f986cac1789
(cherry picked from commit bdc2e3186f)
2014-09-06 02:18:09 +00:00
Baligh Uddin
1131d89b42 Add jvm args option. I rather not hardcode some large value just for Volantis. This can easily be passed in from sign-build.sh and should be a no-op for any other tools
Bug: 17393134
Change-Id: Ic2325d7c1e1e7292c9339e169efbed526f82263c
(cherry picked from commit 339ee4968a)
2014-09-06 02:17:56 +00: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
Baligh Uddin
bdc2e3186f Add java_args as a valid option
Bug: 17393134
Change-Id: If2749d03b5d409a08d415a829dd21f986cac1789
2014-09-06 00:37:54 +00:00
Jeff Arneson
3a5cb1bd15 Show annotation information in generated documentation
Display the annotations used to override @hide for classes in packages
and methods in classes.

Bug: 16848303
Change-Id: I5599e6593613edbbe6a002d5d46a0a6561dec55a
2014-09-05 22:28:59 +00:00
Baligh Uddin
6b0441319a Merge "Add jvm args option. I rather not hardcode some large value just for Volantis. This can easily be passed in from sign-build.sh and should be a no-op for any other tools" into lmp-dev 2014-09-05 22:00:53 +00: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
Baligh Uddin
339ee4968a Add jvm args option. I rather not hardcode some large value just for Volantis. This can easily be passed in from sign-build.sh and should be a no-op for any other tools
Bug: 17393134
Change-Id: Ic2325d7c1e1e7292c9339e169efbed526f82263c
2014-09-05 18:29:47 +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
Doug Zongker
424296a4e8 add missing AOSP copyright notices
Change-Id: Idc812db30b259a55702f8728197f957f2d24d978
2014-09-02 08:53:09 -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
Ricardo Cervera
2178358f2f am 71346e66: am 14d6c100: am 54d2ca33: docs: Changing adt bundle links to HTTPS
* commit '71346e665f83bc80df5f32127639582387b100fd':
  docs: Changing adt bundle links to HTTPS
2014-08-27 16:28:11 +00:00
Ricardo Cervera
71346e665f am 14d6c100: am 54d2ca33: docs: Changing adt bundle links to HTTPS
* commit '14d6c100aa1926ec9e24c1f17e3aabba95141503':
  docs: Changing adt bundle links to HTTPS
2014-08-27 16:16:15 +00:00
Ricardo Cervera
14d6c100aa am 54d2ca33: docs: Changing adt bundle links to HTTPS
* commit '54d2ca33a3ccf2716cb80f8cfa990adff6935c39':
  docs: Changing adt bundle links to HTTPS
2014-08-27 16:10:44 +00:00
Ricardo Cervera
54d2ca33a3 docs: Changing adt bundle links to HTTPS
Change-Id: I35c291bfef9a267aab5b8f108a6c6592c4f08750
2014-08-27 08:48:49 -07:00
Adam Lesinski
d31552fa66 Add anydpi to all product configs
Change-Id: Ia5e0834c585891de58e5daf3473563ab64dba74c
2014-08-26 15:29:33 -07:00
Calin Juravle
4f703a7f9f Make sure that ro.dalvik.vm.native.bridge is always set.
A value of "0" means that native bridge is disabled.

Bug: 17104449

Change-Id: Id68afe305cd11471fed8aa3f5568e5dbfc22166c
2014-08-26 23:03:16 +01:00
Ying Wang
3336652f22 Merge "Allow to overrde command make in envsetup.sh." into lmp-dev 2014-08-26 21:29:36 +00:00
Dianne Hackborn
e4584a4129 Merge "Shhhhhhh!!!" into lmp-dev 2014-08-26 20:56:50 +00:00
Doug Zongker
ab7ca1d286 refactor BlockDifference into common
Move BlockDifference into common and make its script generation code
more complete, so that it can be use by releasetools.py to do diffs on
baseband images.

Bug: 16984795
Change-Id: Iba9afc1c7755458ce47468b5170672612b2cb4b3
2014-08-26 13:12:11 -07: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
Doug Zongker
5f9c28cad4 fix build
Change-Id: I1e503406129343bbfddacc1150c81e403b47778c
2014-08-26 13:11:37 -07:00
Doug Zongker
fc44a515d4 new block OTA system tools
Replace the xdelta/xz-based block OTA generation with a new system
based on the existing bsdiff/imgdiff tools.

Bug: 16984795
Change-Id: Ia9732516ffdfc12be86260b2cc4b1dd2d210e886
2014-08-26 13:10:25 -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
ed21d4c016 Allow to overrde command make in envsetup.sh.
To override define function get_make_command() in vendor's
vendor-envsetup.sh.

Change-Id: I553e60816eb789750ccd16110f2e82a5087587e8
2014-08-24 22:14:57 -07:00