Adam Lesinski
08d1c80847
Merge commit 'cd8442d4' into manualmerge
...
Conflicts:
tools/aapt/ResourceIdCache.cpp
Change-Id: I5341d47ed0fe891d6fefb174f644e636ce966eb8
2014-10-23 14:55:57 -07:00
Adam Lesinski
2bf92530ee
Merge "First commit of split-select tool" into lmp-mr1-dev
2014-10-23 17:54:47 +00:00
Adam Lesinski
40e8eefbed
First commit of split-select tool
...
This tool emits a set of rules as JSON for when a Split APK
should match a target device.
Change-Id: I8bfbdfbdb51efcfc645889dd03e1961f16e39645
2014-10-23 10:39:31 -07:00
Deepanshu Gupta
c719872b4e
am 22387d9d: am 01c80f15: am 37779f07: Merge "Check Bridge init before disposing." into lmp-dev automerge: 568f16c
...
* commit '22387d9d3529515e64dfc01e81f14fddb2da463c':
Check Bridge init before disposing.
2014-10-22 21:19:36 +00:00
Deepanshu Gupta
01c80f155d
am 37779f07: Merge "Check Bridge init before disposing." into lmp-dev automerge: 568f16c
...
* commit '37779f07496462afa4b5d88725e8a004a7e10bc0':
Check Bridge init before disposing.
2014-10-22 20:47:37 +00:00
Deepanshu Gupta
568f16ccfb
Merge "Check Bridge init before disposing." into lmp-dev
2014-10-22 00:57:34 +00:00
Dan Albert
11d3d1016b
am 9295a135: am e40974d9: Merge "Fix an overflow found by ASAN."
...
* commit '9295a1354eb8220be9a0a40985253c6cdfac35c3':
Fix an overflow found by ASAN.
2014-10-20 22:01:04 +00:00
Dan Albert
9295a1354e
am e40974d9: Merge "Fix an overflow found by ASAN."
...
* commit 'e40974d92873462c4f1b100c7d03b3f41756c807':
Fix an overflow found by ASAN.
2014-10-20 21:54:41 +00:00
Dan Albert
d395f79133
Fix an overflow found by ASAN.
...
Sometimes len is 0.
Change-Id: I031000188edc57663a5519b00cbbb751600d32f4
2014-10-20 14:45:55 -07:00
Adam Lesinski
217b17a915
am d3969d92: am 6dfe03ae: am 73a8c596: am 3f8c7dec: Merge "AAPT: Fix path for final generated resources on Windows" into lmp-dev
...
* commit 'd3969d927eef2f04ec097244c5f2bff5e7c0689e':
AAPT: Fix path for final generated resources on Windows
2014-10-20 21:16:17 +00:00
Adam Lesinski
6dfe03ae6c
am 73a8c596: am 3f8c7dec: Merge "AAPT: Fix path for final generated resources on Windows" into lmp-dev
...
* commit '73a8c5962d4d28a2e8aa6fa0b0b18e39782ee79c':
AAPT: Fix path for final generated resources on Windows
2014-10-20 21:05:04 +00:00
Adam Lesinski
aff7c2447d
AAPT: Fix path for final generated resources on Windows
...
Change-Id: Id11ac79b281b51747c73f90406ebd60023c54f92
2014-10-20 12:15:25 -07:00
Deepanshu Gupta
b69ec7708b
Check Bridge init before disposing.
...
In some cases ADT may dispose the Bridge even before init is called on
it. This caused an NPE. Fixed this by checking for the initialization
before disposing resources.
Bug: http://b.android.com/77726
Change-Id: I741d6ea3595a3b7cb816abd0417f23aecca6370e
2014-10-20 11:12:53 -07:00
Adam Lesinski
10db7553ec
am dd64fc43: am effd416e: am 83fae208: am 3cd840f4: Merge "AAPT: Fix an issue where a resource name was incorrectly derived on Windows" into lmp-dev
...
* commit 'dd64fc43a6c560d3c545132adc16cd4a079f9600':
AAPT: Fix an issue where a resource name was incorrectly derived on Windows
2014-10-17 23:12:28 +00:00
Adam Lesinski
effd416ee3
am 83fae208: am 3cd840f4: Merge "AAPT: Fix an issue where a resource name was incorrectly derived on Windows" into lmp-dev
...
* commit '83fae208fee402d8a6a51362f99660f9a49bd5a4':
AAPT: Fix an issue where a resource name was incorrectly derived on Windows
2014-10-17 23:01:44 +00:00
Adam Lesinski
9306a474e1
AAPT: Fix an issue where a resource name was incorrectly derived on Windows
...
Calling String8::getLeaf() will assume the system's file path separator,
however the source string was already converted to a unix path.
getLeaf() would therefore not find any occurence of '\' and would
return the full path.
Bug:18036805
Change-Id: Ic2bfac0cc553406740204a296327e266b05c0eff
2014-10-17 21:46:52 +00:00
Adam Lesinski
7dd87312c9
am 87a529c8: am 12c84b5d: Merge "Minor resource notation/compatibility fixes" into lmp-mr1-dev
...
* commit '87a529c899045cf2785b86e4e289dd6c6cf56c1a':
Minor resource notation/compatibility fixes
2014-10-17 20:28:47 +00:00
Adam Lesinski
9086562a6a
Minor resource notation/compatibility fixes
...
- Change the format of mnc/mcc when printing a resource-qualifier
formatted string from a Configuration object.
- Correctly bump the SDK to 21 when using anydpi in a resource qualifier.
Change-Id: I3c31e344dc5384d45398d6e9f264a073abab65d1
2014-10-17 01:21:50 +00:00
Jerome Dochez
b51644c3c7
am e36550dc: am 0757e5fd: am c9c512e0: am f47f8855: Merge "Added a daemon mode to aapt to receive streams of commands from gradle." into lmp-dev
...
* commit 'e36550dc9e202450d0921bf65d00d14e7e3e8a54':
Added a daemon mode to aapt to receive streams of commands from gradle.
2014-10-10 23:21:01 +00:00
Jerome Dochez
0757e5fd6d
am c9c512e0: am f47f8855: Merge "Added a daemon mode to aapt to receive streams of commands from gradle." into lmp-dev
...
* commit 'c9c512e0ff2faf86eb544bf175a1d177f9b7ba6d':
Added a daemon mode to aapt to receive streams of commands from gradle.
2014-10-10 22:53:16 +00:00
Jerome Dochez
f47f885517
Merge "Added a daemon mode to aapt to receive streams of commands from gradle." into lmp-dev
2014-10-10 19:21:49 +00:00
Deepanshu Gupta
7c5020db4f
am d8497e45: am 0a61c7ee: am 985d59d7: am 908a4f9a: am 4f133894: Exclude KXmlParser from LayoutLib.
...
* commit 'd8497e45c72fbb27961d096499984906af19d35f':
Exclude KXmlParser from LayoutLib.
2014-10-10 04:26:33 +00:00
Elliott Hughes
b913af5408
Track change to private libcore data structure.
...
Bug: 15476051
(cherry picked from commit d47acaeecd991ecd01ecc9a37e60011f545712d7)
Change-Id: Iac79ce3602282a2780dd895995f42ab03f346ad4
2014-10-09 11:20:56 -07:00
Elliott Hughes
90e01b3b40
am b68fe9e5: am ae1b6805: Merge "Track change to private libcore data structure."
...
* commit 'b68fe9e5f355a3d13ed74cb89fb3e3818b356cee':
Track change to private libcore data structure.
2014-10-09 18:20:23 +00:00
Elliott Hughes
b68fe9e5f3
am ae1b6805: Merge "Track change to private libcore data structure."
...
* commit 'ae1b6805a2609759186af8d7131c4750e011019a':
Track change to private libcore data structure.
2014-10-09 18:13:54 +00:00
Elliott Hughes
d47acaeecd
Track change to private libcore data structure.
...
Bug: 15476051
Change-Id: I4e28ecfa3a1d03c21f9bbde7f3daf79a79d96fe6
2014-10-08 16:07:33 -07:00
Deepanshu Gupta
908a4f9a43
am 4f133894: Exclude KXmlParser from LayoutLib.
...
* commit '4f133894a6e98d8d30557ea42cec92cfb21fa5c9':
Exclude KXmlParser from LayoutLib.
2014-10-08 17:34:12 +00:00
Deepanshu Gupta
4f133894a6
Exclude KXmlParser from LayoutLib.
...
The class was incorrectly being included in the LayoutLib.
Change-Id: I3c86662efa068019fe9165f2fc49a00d0a1b7f2d
2014-10-08 10:12:11 -07:00
Deepanshu Gupta
11b14e3996
LayoutLib: Use ICU's line break algo. [DO NOT MERGE]
...
Change-Id: I7e5b0ab7423a72f5a4b0e1163d0a537f0b03ba07
(cherry picked from commit 760f6394d0f65fbb5365186e8e068d53c506b653)
2014-10-08 02:05:05 +00:00
Adam Lesinski
5787920f5b
am 85035d90: am b2b166a5: am 397001b2: am a80aba70: Merge "AAPT: Gate v21 resource synthesizing logging behind -v flag" into lmp-dev
...
* commit '85035d90257beedd54641385674ce2dfb29ae241':
AAPT: Gate v21 resource synthesizing logging behind -v flag
2014-10-04 00:01:21 +00:00
Adam Lesinski
a80aba7072
Merge "AAPT: Gate v21 resource synthesizing logging behind -v flag" into lmp-dev
2014-10-03 22:06:03 +00:00
Adam Lesinski
f15de2e215
AAPT: Gate v21 resource synthesizing logging behind -v flag
...
This is verbose information and should be hidden behind the -v flag.
Bug:17822471
Change-Id: I36e2c6beb54669a31cde73416427477a80ded8a6
2014-10-03 14:57:28 -07:00
Deepanshu Gupta
fe54f8a496
am 09714a76: am 82e28181: am c62da8a0: am c74a2b34: Merge "Minor style changes." into lmp-dev
...
* commit '09714a76a9463f5e18ea8ac91ba040f6fd2235fd':
Minor style changes.
2014-10-03 21:52:46 +00:00
Deepanshu Gupta
c74a2b3435
Merge "Minor style changes." into lmp-dev
2014-10-03 20:30:45 +00:00
Jerome Dochez
6f1280cf17
Added a daemon mode to aapt to receive streams of commands from gradle.
...
When crunching png, we used to spawn a separate aapt process from java
which is slow and resource intensive.
Introduced a daemon mode to appt which when invoked with -m parameter
will listen from commands on stdin and give report of command execution
on stdout.
One one command is supported so far :
s f1 f2
This command perform a single png crunch, f1 pointing to the input
png file to crunch, and f2 pointing to the path for the resulting
crunced file.
Expected output from the command is "Done" or "Error".
Change-Id: Iaf1d865e8d5ee5d36abe39dea6443715865a98d3
2014-10-02 15:43:55 -07:00
Deepanshu Gupta
3c8140ab4b
Minor style changes.
...
Addressing code review comments on previous change: 171804201dd
Change-Id: I2c9e0ce35e755c23d8292749828d15a87109d6dc
2014-10-02 11:45:07 -07:00
Deepanshu Gupta
e4ef95bfe0
am 2e67a882: am 92c40bbd: am 8989290b: am 7b13c4d8: Merge "Always resolve enum when resolving resources." into lmp-dev
...
* commit '2e67a88214fa93a325a84a4b8e6ae122544c8edb':
Always resolve enum when resolving resources.
2014-10-02 13:38:54 +00:00
Neil Fuller
c2a0b4482d
resolved conflicts for merge of ee665151 to lmp-mr1-dev-plus-aosp
...
Change-Id: I2588c65b7a9fa43f968151a206924a804f0595a7
2014-10-02 14:32:37 +01:00
Stephen Hines
f08384c763
am 25a8e43b: am 7d92ae6d: am 5b3be618: am 70de9c0d: Merge "include direct.h for _mkdir" into lmp-dev
...
* commit '25a8e43b13e719ff97edd174f8b1ed175e6f91b0':
include direct.h for _mkdir
2014-10-02 12:41:58 +00:00
Andreas Gampe
5e77475b5d
am 152d9aae: am 31629651: Merge "Frameworks/base: Fix more aapt issues"
...
* commit '152d9aae631381ea28f5701168d372a1486a7502':
Frameworks/base: Fix more aapt issues
2014-10-02 12:31:16 +00:00
Neil Fuller
ee665151a4
am 0c1faf43: Merge "Switch from FloatMath -> Math and Math.hypot where possible"
...
* commit '0c1faf43aecadc37b78c4ad6cb669eb351d21385':
Switch from FloatMath -> Math and Math.hypot where possible
2014-10-02 10:18:29 +00:00
Neil Fuller
0c1faf43ae
Merge "Switch from FloatMath -> Math and Math.hypot where possible"
2014-10-02 10:14:19 +00:00
Andreas Gampe
152d9aae63
am 31629651: Merge "Frameworks/base: Fix more aapt issues"
...
* commit '316296511bf12c4e14dfb6f54731d1a515114abf':
Frameworks/base: Fix more aapt issues
2014-10-02 07:01:55 +00:00
Andreas Gampe
87332a7109
resolved conflicts for merge of 1dcc75b2 to lmp-mr1-dev-plus-aosp
...
Change-Id: I8f7cbd971beae3ab134195e612d705860665142f
2014-10-01 23:26:06 -07:00
Andreas Gampe
b8dc7bc582
Frameworks/base: Fix more aapt issues
...
Change-Id: I6da7dc674e9f9e3b0886a3cfd1e3194d6b5ac948
2014-10-01 20:42:00 -07:00
Deepanshu Gupta
7b13c4d8ec
Merge "Always resolve enum when resolving resources." into lmp-dev
2014-10-02 03:27:42 +00:00
Andreas Gampe
1dcc75b2db
am 0ce259c2: Merge "Frameworks/base: Fix AAPT warnings"
...
* commit '0ce259c2f69cefd09342a95fbbd4c1a63a0af484':
Frameworks/base: Fix AAPT warnings
2014-10-01 23:38:25 +00:00
Andreas Gampe
2412f84064
Frameworks/base: Fix AAPT warnings
...
Turn on -Wall -Werror. Fix warnings.
Change-Id: I287fb3c1e851c654479bcf9ea8c73bd354a6b2a1
2014-10-01 16:18:06 -07:00
Dan Albert
47c23a228d
resolved conflicts for merge of fe50cfd5 to lmp-mr1-dev-plus-aosp
...
Change-Id: Id09c2786db18fa7e747cd1652ea95f575c3f5c46
2014-10-01 13:52:49 -07:00
Dan Albert
fe50cfd533
am c46dbe8a: Merge "Use std::sort instead of qsort_r wrapper."
...
* commit 'c46dbe8ac4748a0084b026524ad9e5ac44fb9fde':
Use std::sort instead of qsort_r wrapper.
2014-10-01 20:34:15 +00:00