Commit Graph

34957 Commits

Author SHA1 Message Date
Grigory Dzhavadyan b9a8e208b1 Add screenrecord to master (emulator)
Change-Id: Idda25f9bd0195f608efb20a0b16e277ba09a18bd
(cherry picked from commit c3de1a6cca058a67924f06be21bce092d502a846)
2017-01-25 18:04:24 +00:00
Jaekyun Seok c75226d15a Merge "Prevent abuse of property overrides" am: 7ae18449ec am: c96ffae29f am: 5675d28df7
am: c77a9a7888

Change-Id: I705e6aab4a7ae6df62e73c79d10ce27392f415f0
2017-01-25 07:25:55 +00:00
Jaekyun Seok c77a9a7888 Merge "Prevent abuse of property overrides" am: 7ae18449ec am: c96ffae29f
am: 5675d28df7

Change-Id: I716b89ef4b1b2fef99725b170ea5be0c09822374
2017-01-25 07:23:25 +00:00
Jaekyun Seok 5675d28df7 Merge "Prevent abuse of property overrides" am: 7ae18449ec
am: c96ffae29f

Change-Id: Ife1f31f6e33f5fdaacb5bb8acf51b9c1c8a2a098
2017-01-25 07:21:24 +00:00
Jaekyun Seok c96ffae29f Merge "Prevent abuse of property overrides"
am: 7ae18449ec

Change-Id: I035eab9562c13747d6a6917bb7be3dad81348ff6
2017-01-25 07:18:54 +00:00
Treehugger Robot 7ae18449ec Merge "Prevent abuse of property overrides" 2017-01-25 07:15:09 +00:00
Jaekyun Seok 7ace0d60ef Prevent abuse of property overrides
To prevent abuse of PRODUCT_*PROPERTY_OVERRIDES and
ADDITIONAL*PROPERTIES, the following rules should be applied.

- Mark PRODUCT_*PROPERTY_OVERRIDES readonly after reading product
 specs.
- Disallow any changes on ADDITIONAL*PROPERTIES from product specs
 and BoardConfig.mk.
- Mark ADDITIONAL*PROPERTIES readonly before reading Android.mk
 files.

Test: building succeeded on marlin-userdebug.
Bug: 34116668
Change-Id: I93d8de086ec85ba787165a156bdcc7df04310be1
(cherry picked from commit 294286d95c)
2017-01-25 13:00:25 +09:00
Tao Bao 1da21ec2e3 Merge "Revert "releasetools: Generate streamable A/B OTA packages."" am: 5ce7034463 am: e8468634be am: 44c7467c11
am: f327bff73f

Change-Id: I864fb9dbde378e9d260d138ce49656a1f4c471af
2017-01-25 01:55:03 +00:00
Tao Bao f327bff73f Merge "Revert "releasetools: Generate streamable A/B OTA packages."" am: 5ce7034463 am: e8468634be
am: 44c7467c11

Change-Id: Ifcfd1100edbe52221a9e11a263a6990ecdf87377
2017-01-25 01:53:01 +00:00
Tao Bao 44c7467c11 Merge "Revert "releasetools: Generate streamable A/B OTA packages."" am: 5ce7034463
am: e8468634be

Change-Id: I96d5798141d580cb6648cebe5d675c16a9c244ea
2017-01-25 01:51:01 +00:00
Tao Bao e8468634be Merge "Revert "releasetools: Generate streamable A/B OTA packages.""
am: 5ce7034463

Change-Id: If2a3ee497124b87d1ff3c6bb10a05065c856bd96
2017-01-25 01:49:00 +00:00
Tao Bao 5ce7034463 Merge "Revert "releasetools: Generate streamable A/B OTA packages."" 2017-01-25 01:45:45 +00:00
TreeHugger Robot 828b1cf285 Merge "Prevent abuse of property overrides" 2017-01-25 01:43:01 +00:00
Tao Bao ea4325baf8 Revert "releasetools: Generate streamable A/B OTA packages."
This reverts commit ef1bb4360f.

It has broken the builds that don't have care_map.txt entry.

Change-Id: I343455e66be5e79457968dfc2813c7c1c234b6dc
2017-01-25 01:41:13 +00:00
Ray Essick 90c7ca19e2 Merge "change mediaanalytics to mediametrics" 2017-01-25 01:01:09 +00:00
Tao Bao abda7dcc8c Merge "releasetools: Generate streamable A/B OTA packages." am: 41130f495f am: 62bc5301ec am: ac5a36e56b
am: 56677596ff

Change-Id: Icfc372710ad90be02d1590149e079675e7f16774
2017-01-25 00:04:24 +00:00
Tao Bao 56677596ff Merge "releasetools: Generate streamable A/B OTA packages." am: 41130f495f am: 62bc5301ec
am: ac5a36e56b

Change-Id: I4589d78f4adc7ae9af3a77407cfee8a4f4b9c4e6
2017-01-25 00:02:52 +00:00
Tao Bao ac5a36e56b Merge "releasetools: Generate streamable A/B OTA packages." am: 41130f495f
am: 62bc5301ec

Change-Id: I6b70d99f0e3d944852938a4e7fdcf34dcde06e07
2017-01-25 00:00:54 +00:00
Tao Bao 62bc5301ec Merge "releasetools: Generate streamable A/B OTA packages."
am: 41130f495f

Change-Id: I33e4eb9cc536c7d49535a4c393a6b3303add9742
2017-01-24 23:59:24 +00:00
Tao Bao 41130f495f Merge "releasetools: Generate streamable A/B OTA packages." 2017-01-24 23:55:53 +00:00
Hiroshi Yamauchi 80eeb8634d Merge "Enable PRODUCT_ART_USE_READ_BARRIER by default." am: 131731fd49 am: 7254e730a9 am: 0e2a7399da
am: d1a5cf176f

Change-Id: Id062e9704ee3be622089e6a36908509a5f883687
2017-01-24 22:27:44 +00:00
Calin Juravle c4af711004 Merge "Add dexoptanalyzer to art PRODUCT_PACKAGES" am: eddf3adec7 am: 9be4363048 am: 79ff8975b6
am: e674f92620

Change-Id: I7a891430c883e7e6f4b79c7daacb8b9ce58929bb
2017-01-24 22:27:00 +00:00
Hiroshi Yamauchi d1a5cf176f Merge "Enable PRODUCT_ART_USE_READ_BARRIER by default." am: 131731fd49 am: 7254e730a9
am: 0e2a7399da

Change-Id: I02955c2b729673771844f3e1c3b7099e7eb50d7b
2017-01-24 22:24:23 +00:00
Calin Juravle e674f92620 Merge "Add dexoptanalyzer to art PRODUCT_PACKAGES" am: eddf3adec7 am: 9be4363048
am: 79ff8975b6

Change-Id: I18428fe7cfb49a70dcf55b77dd0d92d839acdf01
2017-01-24 22:23:32 +00:00
Hiroshi Yamauchi 0e2a7399da Merge "Enable PRODUCT_ART_USE_READ_BARRIER by default." am: 131731fd49
am: 7254e730a9

Change-Id: If496e17ca32097e2b5c5d1b16097ba68f52c2587
2017-01-24 22:22:08 +00:00
Calin Juravle 79ff8975b6 Merge "Add dexoptanalyzer to art PRODUCT_PACKAGES" am: eddf3adec7
am: 9be4363048

Change-Id: I09bb657dfa3a3d5ca5a2410313ee061235f56c74
2017-01-24 22:21:28 +00:00
Hiroshi Yamauchi 7254e730a9 Merge "Enable PRODUCT_ART_USE_READ_BARRIER by default."
am: 131731fd49

Change-Id: I434953132243db254adf8513240e33257b917b21
2017-01-24 22:20:19 +00:00
Calin Juravle 9be4363048 Merge "Add dexoptanalyzer to art PRODUCT_PACKAGES"
am: eddf3adec7

Change-Id: I3405653797259f6529e1fd4e10434a435a3365fd
2017-01-24 22:19:32 +00:00
Hiroshi Yamauchi 131731fd49 Merge "Enable PRODUCT_ART_USE_READ_BARRIER by default." 2017-01-24 22:14:43 +00:00
Calin Juravle eddf3adec7 Merge "Add dexoptanalyzer to art PRODUCT_PACKAGES" 2017-01-24 22:14:11 +00:00
Evgenii Stepanov b6f056c41b Merge "Force Thumb for CFI targets." am: 34eb9f7f60 am: 9e8e3de9d8 am: 682a87a7f5
am: 999ea7f160

Change-Id: I84f7f7107c8166f93ffe3c47d2743b6c7e427e2f
2017-01-24 21:00:55 +00:00
Evgenii Stepanov a620b36458 Merge "Run $(AR) with LLVMgold.so plugin for CFI targets." am: 96c81711c1 am: e729e804fe am: 629002835a
am: d79d664dc9

Change-Id: Ia2d4f0a4748f3e7964d384e58c386c8678f810c4
2017-01-24 21:00:40 +00:00
Evgenii Stepanov 999ea7f160 Merge "Force Thumb for CFI targets." am: 34eb9f7f60 am: 9e8e3de9d8
am: 682a87a7f5

Change-Id: I9a586f57a8988bdb8d772705acef8f5f8b967e8d
2017-01-24 20:58:55 +00:00
Evgenii Stepanov d79d664dc9 Merge "Run $(AR) with LLVMgold.so plugin for CFI targets." am: 96c81711c1 am: e729e804fe
am: 629002835a

Change-Id: Ia09b6fa057b4aada743d82ffcf5af87ab1b149f9
2017-01-24 20:58:41 +00:00
Evgenii Stepanov 682a87a7f5 Merge "Force Thumb for CFI targets." am: 34eb9f7f60
am: 9e8e3de9d8

Change-Id: I4f997927ff4357799afe8ca5d78255ea4e563beb
2017-01-24 20:56:54 +00:00
Evgenii Stepanov 629002835a Merge "Run $(AR) with LLVMgold.so plugin for CFI targets." am: 96c81711c1
am: e729e804fe

Change-Id: I8a20ce05dffbf33b7c3480e13ee40cf0257dc06a
2017-01-24 20:56:41 +00:00
Evgenii Stepanov 9e8e3de9d8 Merge "Force Thumb for CFI targets."
am: 34eb9f7f60

Change-Id: Ie28255f6d8eb78ff5813623e167ad51ea1ab768b
2017-01-24 20:54:57 +00:00
Evgenii Stepanov e729e804fe Merge "Run $(AR) with LLVMgold.so plugin for CFI targets."
am: 96c81711c1

Change-Id: I914f2c1e037ad8988181801f7689636952beb5b2
2017-01-24 20:54:42 +00:00
Evgenii Stepanov 34eb9f7f60 Merge "Force Thumb for CFI targets." 2017-01-24 20:52:26 +00:00
Evgenii Stepanov 96c81711c1 Merge "Run $(AR) with LLVMgold.so plugin for CFI targets." 2017-01-24 20:50:37 +00:00
Hiroshi Yamauchi bf6ad34962 Enable PRODUCT_ART_USE_READ_BARRIER by default.
Bug: 34084559
Bug: 34576638
Test: Boot gce_x86_phone on master
Change-Id: If284beb9551e55a4a698679399feb26e4acfd3d9
2017-01-24 11:15:32 -08:00
Jaekyun Seok 294286d95c Prevent abuse of property overrides
To prevent abuse of PRODUCT_*PROPERTY_OVERRIDES and
ADDITIONAL*PROPERTIES, the following rules should be applied.

- Mark PRODUCT_*PROPERTY_OVERRIDES readonly after reading product
 specs.
- Disallow any changes on ADDITIONAL*PROPERTIES from product specs
 and BoardConfig.mk.
- Mark ADDITIONAL*PROPERTIES readonly before reading Android.mk
 files.

Test: building succeeded on marlin-userdebug.
Bug: 34116668
Change-Id: I93d8de086ec85ba787165a156bdcc7df04310be1
2017-01-24 17:55:31 +09:00
Evgenii Stepanov e1b96f3ae5 Run $(AR) with LLVMgold.so plugin for CFI targets.
Bug: 34623182
Test: add LOCAL_SANITIZE:=cfi to some static libraries under libstagefright
Change-Id: I4f0d8cbd794e0ce4737c59a4617e93c7a5defec1
2017-01-23 17:02:22 -08:00
Ray Essick 32e3c4bc40 change mediaanalytics to mediametrics
mediaanalytics has been renamed to mediametrics; set up
so that we build the new component name instead of the old one.

Bug: 34615027
Test: clean build, proper binary generated
2017-01-23 12:04:17 -08:00
Hiroshi Yamauchi 34826908e6 Increase the generic_arm64 system image partition size to to 2G.
Bug: 34571380
Test: build sdk_google_phone_arm64.

Change-Id: I53c8980417bfac3651d71c13111a0c1dc0022d6c
2017-01-23 10:49:43 -08:00
Evgenii Stepanov 81bea1bd40 Force Thumb for CFI targets.
Bug: 22033465
Test: bionic device tests
Change-Id: I66eb83bc7153cc34dde4fa1abfa861182a10f1fa
2017-01-20 14:13:25 -08:00
Joshua Lang 7f729e0068 Merge changes from topic 'emu_audio_fixes'
* changes:
  Add audio HIDL *-impl and -service libraries to product packages
  Add default audio_submix module to sdk_base build
  Switch video codec config xml to goldfish version
  Adding goldfish_audio_legacy hal to emulator build
  Switch emulator sdk build audio_conf to goldfish
2017-01-20 21:34:00 +00:00
Tao Bao ef1bb4360f releasetools: Generate streamable A/B OTA packages.
In order to support streaming A/B OTA packages, we pack
payload_properties.txt and care_map.txt in ZIP_STORED mode. These two
entries along with payload.bin (already in ZIP_STORED prior to this CL)
can be fetched directly based on the offset and length info.

We write the offset and length info into the package metadata entry
(META-INF/com/android/metadata), which can be parsed by the OTA server.

payload_properties.txt and care_map.txt are usually less than 1-KiB. So
the change only incurs marginal size increase.

Bug: 33382114
Test: Generate an A/B OTA package. Verify the 'streaming-property-files'
      entry in the metadata file.

Change-Id: I04504e834eb36e18876c5f5a5a09289ee05c6f9a
2017-01-19 22:25:12 -08:00
TreeHugger Robot d08fad3995 Merge "Add framework sysconfig content to the build" 2017-01-20 02:55:26 +00:00
Joshua Lang 149363c026 Add audio HIDL *-impl and -service libraries to product packages
Test: check files on the device

BUG: 34470377
Change-Id: I397bb945b92caeff4255bfaca7deb2939a98ba59
2017-01-20 02:53:33 +00:00