Commit Graph

21931 Commits

Author SHA1 Message Date
Chih-Hung Hsieh 69b1fe6d1c Add -static to static link command, for clang.
Clang driver needs -static flag, not -Bstatic,
to produce statically linked modules.
However, -static is not added if LDFLAGS contains -shared,
which is used in bionic/linker to create a shared object with static libraries.

BUG: 18008984

Change-Id: I75c3e24973ee77170285ec4c8e7aacc345722685
2015-01-23 13:02:43 -08:00
Ying Wang 28aa610860 am de9b91b0: am 6aa932ca: Merge "Add dependency of import_includes on LOCAL_MODULE_MAKEFILE"
* commit 'de9b91b01bc9baff333ea7fbb438e0e838fac204':
  Add dependency of import_includes on LOCAL_MODULE_MAKEFILE
2015-01-23 03:11:04 +00:00
Dmitriy Ivanov 6c5ee97ce2 am 5586efa0: am 23396bfc: Merge "gdbclient: Improve error handling"
* commit '5586efa028dfa466a724c4d80f1affd02de5c425':
  gdbclient: Improve error handling
2015-01-23 03:11:02 +00:00
Ying Wang de9b91b01b am 6aa932ca: Merge "Add dependency of import_includes on LOCAL_MODULE_MAKEFILE"
* commit '6aa932cabf6ed14c35ae49b78464e2504af87c58':
  Add dependency of import_includes on LOCAL_MODULE_MAKEFILE
2015-01-23 00:50:39 +00:00
Dmitriy Ivanov 5586efa028 am 23396bfc: Merge "gdbclient: Improve error handling"
* commit '23396bfc8d613f9319bce836a49ae6ee7ad18c0b':
  gdbclient: Improve error handling
2015-01-23 00:50:38 +00:00
Dianne Hackborn c421abfcd5 Update version to MNC.
Change-Id: I67a69efa90babcfbc3e83907e46be0833c0ddcdd
2015-01-22 16:36:55 -08:00
Ying Wang 6aa932cabf Merge "Add dependency of import_includes on LOCAL_MODULE_MAKEFILE" 2015-01-23 00:14:26 +00:00
Dmitriy Ivanov 23396bfc8d Merge "gdbclient: Improve error handling" 2015-01-23 00:02:42 +00:00
Ying Wang 14d02a39b0 Add dependency of import_includes on LOCAL_MODULE_MAKEFILE
So the build system regenerates import_includes when you modify
Android.mk to add a new dependency library.

Change-Id: Ic92b097b659bb68a9065e1d66da59e0dc7e2836a
2015-01-22 15:44:04 -08:00
Dmitriy Ivanov dfff170148 gdbclient: Improve error handling
Print error message when unable to resolve exefile by pid

Change-Id: I5d04bdc348e5f95818ac90e29148947edfce42eb
2015-01-22 13:43:09 -08:00
Ying Wang 9cfaba309f am febc6b56: am f495c125: am 507ea383: Merge "Let apicheck check both the public API and system API." into lmp-mr1-dev
* commit 'febc6b567a909134bdc84a8e6e8c2681a07ca59b':
  Let apicheck check both the public API and system API.
2015-01-22 20:53:24 +00:00
Ying Wang febc6b567a am f495c125: am 507ea383: Merge "Let apicheck check both the public API and system API." into lmp-mr1-dev
* commit 'f495c12557a0f152046122fc162d2fcfbf305a99':
  Let apicheck check both the public API and system API.
2015-01-22 20:47:14 +00:00
Ying Wang f495c12557 am 507ea383: Merge "Let apicheck check both the public API and system API." into lmp-mr1-dev
* commit '507ea383aaaea5634c79d20911773aa44324e7f5':
  Let apicheck check both the public API and system API.
2015-01-22 20:41:09 +00:00
Ying Wang 507ea383aa Merge "Let apicheck check both the public API and system API." into lmp-mr1-dev 2015-01-22 20:36:53 +00:00
Narayan Kamath 41759234f0 am 675a726f: resolved conflicts for merge of 8f5fc9e2 to lmp-mr1-dev-plus-aosp
* commit '675a726fe4ca70beb1ecccb8c5f78dcc8f65cac8':
  Add ro.product.locale
2015-01-22 19:58:04 +00:00
Ying Wang cf8fee479b am 30a0031e: am 8768c6b7: Merge "Remove phone from frameworks/base subdirs"
* commit '30a0031e4388a54890071e7c386b20c81509f27f':
  Remove phone from frameworks/base subdirs
2015-01-22 19:58:04 +00:00
Ying Wang 7761e78451 am 79834f37: am ae542c78: Merge "Revert "Add the default local_time hal implementation to builds.""
* commit '79834f371ea13475577e4babd2c3960aefb5a2a2':
  Revert "Add the default local_time hal implementation to builds."
2015-01-22 19:58:04 +00:00
Ying Wang 4d26681f3d resolved conflicts for merge of 0f205ad9 to master
Change-Id: Ic741805a0037d8d29d7d5ff6e2b6e83067943f12
2015-01-22 11:54:58 -08:00
Narayan Kamath 675a726fe4 resolved conflicts for merge of 8f5fc9e2 to lmp-mr1-dev-plus-aosp
Change-Id: Ie1587a4e2434b9cfbca16bc764e99e94511f8212
2015-01-22 18:53:59 +00:00
Narayan Kamath 8f5fc9e246 Merge "Add ro.product.locale" 2015-01-22 14:04:53 +00:00
Ying Wang 833b427d72 Explicit dependency on hostdex classes.jar.
Previously for hostdex Java libraries, we set up dependency on only
javalib.jar, which in turn is dependent on classes.jar.
But when jack is enabled there is no dependency of javalib.jar on
classes.jar. In commit b4c49cba57 classes.jar was universally added to
all host java library dependencies. That's unnecessary.

This change adds explicit dependency on classes.jar only for hostdex
modules.

On the other hand, if we switch checked module to $(full_classes_jack),
like what we did in commit 8bc90fd2d6, we won't need this to fix jack
build either, because classes.jar isn't needed when you run checkbuild.

Change-Id: I92c0e4d621d266f6e6914ab2b4f20e5531af070f
2015-01-21 17:30:21 -08:00
Ying Wang 30a0031e43 am 8768c6b7: Merge "Remove phone from frameworks/base subdirs"
* commit '8768c6b70b4b2957a5dda132650e8d6dec7c485e':
  Remove phone from frameworks/base subdirs
2015-01-22 00:13:35 +00:00
Ying Wang 79834f371e am ae542c78: Merge "Revert "Add the default local_time hal implementation to builds.""
* commit 'ae542c785d11f1e62f20f4493e422fdf5749d397':
  Revert "Add the default local_time hal implementation to builds."
2015-01-22 00:13:34 +00:00
Ying Wang 0f205ad959 am 29a29875: Merge "Running jarjar on Java resources."
* commit '29a29875627758aa3c76aa5256641c1782c904bf':
  Running jarjar on Java resources.
2015-01-22 00:13:33 +00:00
David Turner b6af64c3ea am 8be358bf: Merge "emulator: Include the ranchu sensors library"
* commit '8be358bf9a5407a379d4c4709c172b8c1ba6d4c7':
  emulator: Include the ranchu sensors library
2015-01-22 00:13:32 +00:00
Christopher Ferris 8b62f12195 am 9f9ccbfd: Merge "Fix missing parenthesis."
* commit '9f9ccbfd6a84e56df00c49b0aec25236b702e01d':
  Fix missing parenthesis.
2015-01-22 00:13:30 +00:00
Ying Wang 8768c6b70b Merge "Remove phone from frameworks/base subdirs" 2015-01-21 20:06:59 +00:00
Ying Wang ae542c785d Merge "Revert "Add the default local_time hal implementation to builds."" 2015-01-21 20:05:22 +00:00
Ying Wang 29a2987562 Merge "Running jarjar on Java resources." 2015-01-21 20:04:20 +00:00
Ying Wang 07acdbfd32 Running jarjar on Java resources.
Before this change, Java resources are added as a separate step
(add-java-resources-to-package) after dex is run, so jarjar isn't run on
the resource files.
With this change, we add Java resources immediately after we call javac,
so jarjar is run on the resource files (the module's own resource, as
well as resources carried by static Java libraries).
When we generate the final apk/jar, we use the jarjar'ed jar as the
inital pacakge file, with class files and empty folders removed.

(cherry-picked from commit 140274707e)

Bug: 18837479
Change-Id: I15ecf282bfb65fd53dd03fbd03dd4c71927c186a
2015-01-21 11:57:52 -08:00
Ying Wang 33360dd569 Running jarjar on Java resources.
Before this change, Java resources are added as a separate step
(add-java-resources-to-package) after dex is run, so jarjar isn't run on
the resource files.
With this change, we add Java resources immediately after we call javac,
so jarjar is run on the resource files (the module's own resource, as
well as resources carried by static Java libraries).
When we generate the final apk/jar, we use the jarjar'ed jar as the
inital pacakge file, with class files and empty folders removed.

When jack is enabled, in jack-java-to-dex we add the Java resources to
a temp jar using the PRIVATE_EXTRA_JAR_ARGS, and extrac the files in a
temp dir. Jack will process the resource files and output the result to
PRIVATE_JACK_INTERMEDIATES_DIR. When we package the final apk/jar, we
need to call add-carried-jack-resources to readd the resources.
(TODO: if jack can output all resources to a jar/zip file, we can use
that file as the initial package file as well.)

Bug: 18837479
Change-Id: I8d7296e30ec8d005054cf04c4f2aed6d7a0d823b
2015-01-21 11:54:13 -08:00
David Turner 8be358bf9a Merge "emulator: Include the ranchu sensors library" 2015-01-21 19:42:54 +00:00
Christopher Ferris 9f9ccbfd6a Merge "Fix missing parenthesis." 2015-01-21 18:39:06 +00:00
Narayan Kamath 350c662aaf Merge "Add the apache-http library to all product configs." 2015-01-21 14:04:54 +00:00
Jean-Philippe Lesot edacaa3a26 Merge "Revert "Use Jack to check build"" 2015-01-21 13:52:52 +00:00
Narayan Kamath c1ed9796bb Revert "Running jarjar on Java resources."
This reverts commit 140274707e.

Breaks the build on uiautomator_compat.

Change-Id: I6d14f39e3432bf5e691027bbb8e7260e4bec8e8d
2015-01-21 11:04:22 +00:00
Chih-Wei Huang 567ea28838 Revert "Add the default local_time hal implementation to builds."
Remove duplicate local_time.default.

This reverts commit a09c24db71.

Change-Id: Ic96d42235c14588d454e92a57b3bb9e74688fd99
2015-01-21 12:17:58 +08:00
Chih-Wei Huang 65ced619b1 Remove phone from frameworks/base subdirs
The directory no longer exists.

Change-Id: Id8d109818f06783d72dfc005595330f735b7e5cf
2015-01-21 12:07:28 +08:00
Christopher Ferris a8f5b8d0e2 Fix missing parenthesis.
Change-Id: Ib9eda50a6f9096dad35cf81ac3b3cdc26636a016
2015-01-20 18:23:05 -08:00
Ying Wang 140274707e Running jarjar on Java resources.
Before this change, Java resources are added as a separate step
(add-java-resources-to-package) after dex is run, so jarjar isn't run on
the resource files.
With this change, we add Java resources immediately after we call javac,
so jarjar is run on the resource files (the module's own resource, as
well as resources carried by static Java libraries).
When we generate the final apk/jar, we use the jarjar'ed jar as the
inital pacakge file, with class files and empty folders removed.

When jack is enabled, in jack-java-to-dex we add the Java resources to
a temp jar using the PRIVATE_EXTRA_JAR_ARGS, and extrac the files in a
temp dir. Jack will process the resource files and output the result to
PRIVATE_JACK_INTERMEDIATES_DIR. When we package the final apk/jar, we
need to call add-carried-jack-resources to readd the resources.
(TODO: if jack can output all resources to a jar/zip file, we can use
that file as the initial package file as well.)

Bug: 18837479
Change-Id: I15ecf282bfb65fd53dd03fbd03dd4c71927c186a
2015-01-20 11:46:59 -08:00
Jean-Philippe Lesot 0fbc9ff2a2 Revert "Use Jack to check build"
This reverts commit 8bc90fd2d6.

This CL also impacts standard targets. With Jack enabled, a global
'make' without that CL produce ~287 dex files, with this CL, it
produces ~697 dex files.

Bug: 19069325
Change-Id: I39853da0cba8226f31037733edc420507d76c8c0
2015-01-20 14:19:36 +00:00
Narayan Kamath 6b3097baae Add the apache-http library to all product configs.
bug: 18027885
Change-Id: I6b881ca8e868d6190c832dee8784ab1642ab3d82
2015-01-20 13:08:05 +00:00
Jean-Philippe Lesot 5ef304001e Merge "Add clean targets removing jack and dex files" 2015-01-19 10:03:22 +00:00
Ying Wang 4d97b27c51 am c0ff83ae: am 17967eb7: Merge "[MIPSR6] Adjust prebuilts/ndk libraries for mips32r6"
* commit 'c0ff83aebd4ce2ac80247f9b809c27fbf4fc1524':
  [MIPSR6] Adjust prebuilts/ndk libraries for mips32r6
2015-01-16 20:06:46 +00:00
Dirk Dougherty b5b67b7544 am 4433ac85: am d1283889: am 48141e05: am 5a97f244: am 529a107f: Add new subtab under Distribute tab.
* commit '4433ac859c90192914c31f3f8d39230aac41852c':
  Add new subtab under Distribute tab.
2015-01-16 20:06:35 +00:00
Ying Wang c0ff83aebd am 17967eb7: Merge "[MIPSR6] Adjust prebuilts/ndk libraries for mips32r6"
* commit '17967eb72f0eb7f495800d5065b64db4a0174362':
  [MIPSR6] Adjust prebuilts/ndk libraries for mips32r6
2015-01-16 18:32:18 +00:00
Dirk Dougherty 4433ac859c am d1283889: am 48141e05: am 5a97f244: am 529a107f: Add new subtab under Distribute tab.
* commit 'd12838890563b2fb4532630373760a995970f687':
  Add new subtab under Distribute tab.
2015-01-16 18:17:59 +00:00
Ying Wang 17967eb72f Merge "[MIPSR6] Adjust prebuilts/ndk libraries for mips32r6" 2015-01-16 18:13:36 +00:00
Duane Sand 1a07487493 [MIPSR6] Adjust prebuilts/ndk libraries for mips32r6
Change-Id: Ice2d0f65eced4fb7dd209fb15610ba555dd45f2c
2015-01-16 18:13:17 +00:00
Dirk Dougherty d128388905 am 48141e05: am 5a97f244: am 529a107f: Add new subtab under Distribute tab.
* commit '48141e05994ce939b2becab40d86482bda3d9090':
  Add new subtab under Distribute tab.
2015-01-16 18:11:03 +00:00