Commit Graph

43497 Commits

Author SHA1 Message Date
Tao Bao b9ee298fc6 Merge "releasetools: Separate streaming metadata computation into functions." am: 737bc2b082
am: bfecf9b4cb

Change-Id: I47380d2479460fe9a18ff0b087a3a0a2523dc4c2
2018-03-07 04:40:32 +00:00
Tao Bao bfecf9b4cb Merge "releasetools: Separate streaming metadata computation into functions."
am: 737bc2b082

Change-Id: Idada35c528c2f4be720ebba4870f43c0329e1a65
2018-03-07 04:35:34 +00:00
Tao Bao 737bc2b082 Merge "releasetools: Separate streaming metadata computation into functions." 2018-03-07 04:24:13 +00:00
Tao Bao 33c9f2f8c7 Merge "Conditionally generate META/boot_filesystem_config.txt." am: 1ac4e3c424
am: 3b0f52befe

Change-Id: I6004353ff7c73f51e42cf0cd2bcdd865b37abf55
2018-03-06 23:56:10 +00:00
Tao Bao 3b0f52befe Merge "Conditionally generate META/boot_filesystem_config.txt."
am: 1ac4e3c424

Change-Id: Iacc05627c74029fff8fe7c2cea02fcbe80bd1d0f
2018-03-06 23:50:03 +00:00
Treehugger Robot 1ac4e3c424 Merge "Conditionally generate META/boot_filesystem_config.txt." 2018-03-06 23:32:40 +00:00
Tobias Thierer fcf943b14d Merge "Clarify error message for bootclasspath whitelist." am: 0d6a25c73f
am: 17f31a1146

Change-Id: Ic08b0bce25bc9ea802e7f4b3a7fecf02fe874f79
2018-03-06 19:27:50 +00:00
Tobias Thierer 17f31a1146 Merge "Clarify error message for bootclasspath whitelist."
am: 0d6a25c73f

Change-Id: Id7cf89f3a778ef0be44a5227fc5c14735e132096
2018-03-06 19:24:52 +00:00
Anton Hansson 25861167c8 Merge "Add more control to the java sdk enforcement." am: 53876001bf
am: 992928944e

Change-Id: I13ebe3ead2d19aa797bcc39a7bbccdb55b9c7d1c
2018-03-06 19:18:02 +00:00
Anton Hansson 992928944e Merge "Add more control to the java sdk enforcement."
am: 53876001bf

Change-Id: I489f5114b2d782c2f1fbb6809edd1d19157ca388
2018-03-06 19:11:59 +00:00
Siyamed Sinir 1a0a0d8e0a Enable Odia & Assamese localizations for L10n builds
am: 27f4287406

Change-Id: I2e9ba31ad0d12e1fbb0fcdde3260be0880404890
2018-03-06 19:10:54 +00:00
Treehugger Robot 0d6a25c73f Merge "Clarify error message for bootclasspath whitelist." 2018-03-06 18:24:11 +00:00
Anton Hansson 53876001bf Merge "Add more control to the java sdk enforcement." 2018-03-06 11:19:38 +00:00
Tao Bao f5110498c0 releasetools: Separate streaming metadata computation into functions.
And add unittests for ComputeStreamingMetadata().

This prepares for the changes that add additional property-files (for
both of A/B and non-A/B).

Bug: 74210298
Bug: 72751683
Test: python -m unittest test_ota_from_target_files
Test: Generate A/B OTA package. Check the ota-streaming-property-files
      in the METADATA entry.
Change-Id: Ib4b069f61c2c06c035c0cff73a55112f3936b969
2018-03-06 00:06:23 -08:00
Nan Zhang b661846d29 Merge "Fix the incorrect turbine flag." am: 9d08769406
am: bb68a6bfb9

Change-Id: Ic8766f09606e34d5e1db5196c02f67923682d950
2018-03-06 03:08:18 +00:00
Nan Zhang bb68a6bfb9 Merge "Fix the incorrect turbine flag."
am: 9d08769406

Change-Id: I775496ff6adc6b7fd63681703bcef9646c303f41
2018-03-06 03:03:39 +00:00
Treehugger Robot 9d08769406 Merge "Fix the incorrect turbine flag." 2018-03-06 01:22:39 +00:00
Siyamed Sinir 27f4287406 Enable Odia & Assamese localizations for L10n builds
Bug: 72647570
Test: mmma -j packages/apps/Settings
Merged-In: Ib04ee483e23d18f659f821432edf3eb7fc7ec1dc
Change-Id: Ib04ee483e23d18f659f821432edf3eb7fc7ec1dc
(cherry picked from commit e163600389)
2018-03-06 01:18:58 +00:00
Nan Zhang 78c19aa9ef Fix the incorrect turbine flag.
Test: m -j java TURBINE_ENABLED=false
Change-Id: Id6ca380c97bbcd3731c815e37513b7e949cccdfb
2018-03-05 13:35:45 -08:00
Bill Rassieur c9b793e16e BUILD_ID=PI DO NOT MERGE
am: 2ca64ed178

Change-Id: Iedd548f2b17b51cb573fc0efa40ab2c6e70aa461
2018-03-05 12:15:29 +00:00
Bill Rassieur 2ca64ed178 BUILD_ID=PI DO NOT MERGE
BUG: 71761075
2018-03-05 03:12:14 -08:00
Weilun Du 73098f2ffe Merge "Remove ApiDemos and other packages modules in /data/app" am: 8d36d4b8ea am: db9451ea6d
am: 3130b1913c

Change-Id: Ic5a9dde9c59896bae37daa5ff2e34044c30ef255
2018-03-04 02:02:23 +00:00
Weilun Du 3130b1913c Merge "Remove ApiDemos and other packages modules in /data/app" am: 8d36d4b8ea
am: db9451ea6d

Change-Id: Id2a63562c762eaa3fac7b998bf150d9f898f1855
2018-03-04 01:58:14 +00:00
Weilun Du db9451ea6d Merge "Remove ApiDemos and other packages modules in /data/app"
am: 8d36d4b8ea

Change-Id: I2ea07715ac3ba7a5e4dedd0dda4778cc2e47eeab
2018-03-04 01:54:04 +00:00
Treehugger Robot 8d36d4b8ea Merge "Remove ApiDemos and other packages modules in /data/app" 2018-03-04 01:04:27 +00:00
Weilun Du 1eb1568ce3 Remove ApiDemos and other packages modules in /data/app
Since API 27, PackageManager would not install random APKs that reside
in /data/app folder. They must be explicitly installed by "adb install"
instead.

BUG: 72750759
Change-Id: Ibc8e4e55e020439f5cf950d61fb7a815aa12fa6f
Signed-off-by: Weilun Du <wdu@google.com>
2018-03-04 00:37:57 +00:00
Tao Bao 8e9155f236 Merge "releasetools: Fix a mismatching close." am: 395bf274b8 am: 06bc45b0c2
am: 6b93ed0c84

Change-Id: I74f9e797510bcecdb1f93824ce5881f92ff3b152
2018-03-03 00:10:31 +00:00
Tao Bao 6b93ed0c84 Merge "releasetools: Fix a mismatching close." am: 395bf274b8
am: 06bc45b0c2

Change-Id: I5e9a7d4a74e476b1ed86a9f7bc06e515998f81e2
2018-03-02 23:59:22 +00:00
Tao Bao 06bc45b0c2 Merge "releasetools: Fix a mismatching close."
am: 395bf274b8

Change-Id: Idb5281ccc04e440fccec474e2d12c3443db1df9a
2018-03-02 23:48:20 +00:00
Tao Bao 395bf274b8 Merge "releasetools: Fix a mismatching close." 2018-03-02 23:32:11 +00:00
Tao Bao 921c81f7c3 Merge "releasetools: Call Cleanup() in check_target_files_signatures.py." am: 903be914bb am: 5410d8a52a
am: 501b84236f

Change-Id: Ia4dfee212e3ff55fcdd9ce60faddab91c5e195c6
2018-03-02 23:05:20 +00:00
Tao Bao 501b84236f Merge "releasetools: Call Cleanup() in check_target_files_signatures.py." am: 903be914bb
am: 5410d8a52a

Change-Id: I3d015a9ffa1784c060d6a1d878feae9046090b5d
2018-03-02 22:55:11 +00:00
Tao Bao 5410d8a52a Merge "releasetools: Call Cleanup() in check_target_files_signatures.py."
am: 903be914bb

Change-Id: Idffcd2f42a0599384ac647d14c3c6b76cc9dd041
2018-03-02 22:51:28 +00:00
Treehugger Robot 903be914bb Merge "releasetools: Call Cleanup() in check_target_files_signatures.py." 2018-03-02 22:06:57 +00:00
Tao Bao a652c00c8e releasetools: Fix a mismatching close.
There's a mismatch in WriteABOTAPackageWithBrilloScript().

  temp_zip_file = tempfile.NamedTemporaryFile()
  ...
  common.ZipClose(temp_zip_file)

It's benign since common.ZipClose() happens to be calling
"temp_zip_file.close()". This CL moves the use of tempfile to
common.MakeTempFile(), so that the tempfile will be cleaned up
automatically as part of the call to common.Cleanup(). (Not fixing the
close() directly, since the nearby lines will be refactored into another
function shortly.)

Also remove one assert in the same function, which trivially holds in
the current code.

Test: Generate an A/B OTA.
Change-Id: I53b375d1150820de718dec0ead55abf5f4951071
2018-03-02 13:20:43 -08:00
Jayant Chowdhary dcf9ae8fb9 Merge "Collect all lsdump paths and write them to $(OUT_DIR)." am: 1fa15d7491 am: 210dc9010b
am: e47e3d302f

Change-Id: Ie745cfbbc1fa64fa59edd35f4e5454ab13a86b81
2018-03-02 18:08:54 +00:00
Jayant Chowdhary e47e3d302f Merge "Collect all lsdump paths and write them to $(OUT_DIR)." am: 1fa15d7491
am: 210dc9010b

Change-Id: Ib589fa0c952eaa0cdf762c7cc550e6ed9714203c
2018-03-02 18:02:48 +00:00
Jayant Chowdhary 210dc9010b Merge "Collect all lsdump paths and write them to $(OUT_DIR)."
am: 1fa15d7491

Change-Id: I695d0b6ab321e5e89832913fda51c4227f201f79
2018-03-02 17:51:09 +00:00
Jayant Chowdhary 1fa15d7491 Merge "Collect all lsdump paths and write them to $(OUT_DIR)." 2018-03-02 17:34:33 +00:00
Alan Viverette 7ca75e59a1 Merge "Move Support Library dependencies to their own var with resolution" 2018-03-02 15:08:15 +00:00
Tao Bao 150708b012 Merge "releasetools: Don't return ZipFile from common.UnzipTemp()." am: 5c93279fbe am: 0db979c6be
am: abe02acc48

Change-Id: Ie8d1d55d134a7aade1be643634641ef0eb80ff65
2018-03-01 22:44:21 +00:00
Tao Bao abe02acc48 Merge "releasetools: Don't return ZipFile from common.UnzipTemp()." am: 5c93279fbe
am: 0db979c6be

Change-Id: I9a4f2bc04851f048e168a11c039d781c2069b662
2018-03-01 22:38:46 +00:00
Tao Bao 0db979c6be Merge "releasetools: Don't return ZipFile from common.UnzipTemp()."
am: 5c93279fbe

Change-Id: Ibdfb0757aac08ed40ad53d0e5fab1d3385b3840b
2018-03-01 22:34:09 +00:00
Treehugger Robot 5c93279fbe Merge "releasetools: Don't return ZipFile from common.UnzipTemp()." 2018-03-01 22:21:25 +00:00
Andreas Gampe 216995134a Merge "Build: Add some dex2oat boot image error message" am: e706929161 am: 598f4c0fc3
am: 247b2309f7

Change-Id: I721de213797be877b9feb6f724d0c3eb01ffa66d
2018-03-01 21:13:23 +00:00
Andreas Gampe 247b2309f7 Merge "Build: Add some dex2oat boot image error message" am: e706929161
am: 598f4c0fc3

Change-Id: I4e626d87bb174ab68a1dbc3c704279b892b0aa84
2018-03-01 21:05:44 +00:00
Andreas Gampe 598f4c0fc3 Merge "Build: Add some dex2oat boot image error message"
am: e706929161

Change-Id: I2066802124e7252389e14c123c9aaea7273cdccf
2018-03-01 20:59:12 +00:00
Treehugger Robot e706929161 Merge "Build: Add some dex2oat boot image error message" 2018-03-01 20:46:05 +00:00
Andreas Gampe f47d9bf0e6 Merge "Build: Factor out ANDROID_LOG_TAGS" am: 16596052cb am: 8cb8255a60
am: 479c2fc9be

Change-Id: Ic6f042dc5f6e1fff1544e81c5e49a564ad2112e1
2018-03-01 20:12:11 +00:00
Andreas Gampe 479c2fc9be Merge "Build: Factor out ANDROID_LOG_TAGS" am: 16596052cb
am: 8cb8255a60

Change-Id: I4d0c428d01290dadd0a560cacaf43aa9cfbb750e
2018-03-01 20:05:29 +00:00