gn2bp: Add unwind related cflags to cflag_allowlist
...
Bug: 265913942
Test: ./update_results.sh
Change-Id: I264449b31972e963e7833b0647d5f0634e92756f
Motomu Utsumi
commited 2023-02-13 03:48:47 +00:00
925a9d508e
gn2bp: Update args.gn in gen_desc_json
...
Update gen_desc_json to use the same args.gn with release build job
args.gn was taken from following build job
https://ci.chromium.org/ui/p/chrome/builders/ci/cronet-arm/13133/overview
https://ci.chromium.org/ui/p/chrome/builders/ci/cronet-arm_64/13142/overview
https://ci.chromium.org/ui/p/chrome/builders/ci/cronet-x64/13110/overview
https://ci.chromium.org/ui/p/chrome/builders/ci/cronet-x86/13106/overview
Update desc json and Android.bp following args.gn update.
Bug: 265913942
Test: ./update_results.sh
Change-Id: I676431180e9d25e75612c84b6ce6c03585aed1af
Motomu Utsumi
commited 2023-02-13 03:48:17 +00:00
8d9a62269c
Merge "gn2bp: Add use_nss_certs = false to gen_desc_json"
Treehugger Robot
authored and
Gerrit Code Review
commited 2023-02-10 15:18:28 +00:00
e3e84d0fc3
Merge "gn2bp: Update desc.json & Android.bp after trimming third-parties"
Treehugger Robot
authored and
Gerrit Code Review
commited 2023-02-10 10:48:41 +00:00
39fd1af819
gn2bp: Add use_nss_certs = false to gen_desc_json
...
nss_certs are only used for host net unittestings.
Android.bp is not affected because the tests are not pulled-in yet.
Test: None
Change-Id: Idef23174d1ecd89c2db90318bfb0cf67a4e70145
Mohannad Farrag
commited 2023-02-10 10:29:14 +00:00
a6f43306c0
gn2bp: Update desc.json & Android.bp after trimming third-parties
...
for more context: crrev.com/c/4218341
Test: None
Change-Id: If0e600b0660aa691d5f15e93bed1f21dfcdd9054
Mohannad Farrag
commited 2023-02-09 16:07:10 +00:00
5ae53722a7
gn2bp: Remove duplicated cflags from default.cflags
...
They are in cflag_allowlist so don't need to be in default
Bug: 265913942
Test: ./update_resutls.sh
Change-Id: Ia3ed3c1f2d1c784832d01405706eb2f30db725a9
Motomu Utsumi
commited 2023-02-09 17:54:12 +09:00
d87f3191ec
gn2bp: Pass additional cflags to reduce cronet library size
...
Bug: 265913942
Test: ./update_results.sh
Change-Id: Ib802862d1ccab4b8cc2906a0f08aa2d3bddef9e2
Motomu Utsumi
commited 2023-02-09 17:54:02 +09:00
cac340ffa6
gn2bp: Pass ldflags to reduce cronet library size
...
Bug: 265913942
Test: ./update_results.sh
Change-Id: I650f354c7523b0649a190cb33dbd0dd0795c14d9
Motomu Utsumi
commited 2023-02-09 17:53:54 +09:00
ea38e4eb22
gn2bp: Make ldflags target specific
...
Bug: 265913942
Test: ./update_results.sh
Change-Id: Ia7184e9b765240afa76ea2f15089e5ab00e6e560
Motomu Utsumi
commited 2023-02-09 17:53:46 +09:00
3ff52fe6d2
gn2bp: Make ldflags arch specific
...
Bug: 265913942
Test: ./update_results.sh
Change-Id: I5908b7afcba663ebf2a5710264447f9c5506daab
Motomu Utsumi
commited 2023-02-09 17:53:38 +09:00
9a21955bab
gn2bp: Update Cronet license.
...
Test: TH
Change-Id: I944fc3e1ce1fa4598d11f2de821ddf013dc83077
Mohannad Farrag
commited 2023-01-31 18:51:29 +00:00
0e2a1e1289
gn2bp: Remove -Wno-deprecated-non-prototype from C++ defaults
...
* This is no longer needed as we are using AOSP's zlib.
Test: none
Change-Id: I17d05daa38ca339deb2ae4334e255dd22537e41c
Mohannad Farrag
commited 2023-01-30 11:37:41 +00:00
e58e4d59af
gn2bp: Update desc jsons and Android.bp.swp
...
Apply patch in aosp/2405612
Test: ./update_results.sh
Bug: 265913942
Change-Id: Ia5bbf997ab83555eb5fd40e374fbf5c2d9722445
Motomu Utsumi
commited 2023-01-27 21:35:50 +09:00
c5633ead12
gn2bp: Update desc jsons and Android.bp.swp
...
Generate desc jsons with new args.gn which has is_debug=false and
is_official_build=true
Test: ./update_results.sh
Bug: 265913942
Change-Id: Iea031c59f50adc02bd8a9ed95966f77479d2878f
Motomu Utsumi
commited 2023-01-27 17:21:38 +09:00
c525cb7c22
gn2bp: Add is_debug and is_official_build to args.gn
...
args.gn generated by `cr_cronet.py gn --release` has is_debug=false and
is_official_build=true.
But current args.gn used to generate desc jsons were missing them.
Test: ./gen_desc_json.sh
Bug: 265913942
Change-Id: Ide83e770ade8574fe3d3ffe04f5481b8fde4140a
Motomu Utsumi
commited 2023-01-27 17:21:22 +09:00
daaf73b380
gn2bp: Fix use of soong_zip with OUT_DIR=/abs/path
...
Follow aosp/2401566
Test: ./update_results.sh
Change-Id: I2dbec1c7745e0c9517e164d14dd19d2cfdbbcc71
Motomu Utsumi
commited 2023-01-27 12:02:18 +09:00
dfb67ba455
gn2bp: Fix cronet build for OUT_DIR set
...
Follow aosp/2394536
Test: ./update_results.sh
Change-Id: I20e3fa9242957c1fc1fc79692e4275f9b52f0fc0
Motomu Utsumi
commited 2023-01-27 11:57:33 +09:00
ad0df0c77c
gn2bp: Add apply patch function to gen_desc_json.sh
...
Test: ./gen_desc_json.sh
Change-Id: I971ad72a562a1340fa4a6f29468b7415915a7335
Motomu Utsumi
commited 2023-01-25 17:18:20 +09:00
eb19dca3ef
gn2bp Remove API helpers from cronet_aml_api_sources
...
Follow aosp/2388112
This CL does not add cronet_aml_api_helpers_sources module since it is
not used yet.
api helper sources will be added when they are used.
Test: ./update_results.sh, TH in aosp/2398772
Change-Id: I9f05aff302de9c24bc555f53e5e54d10f0d82057
Motomu Utsumi
commited 2023-01-23 20:49:16 +09:00
0fa312765f
gn2bp: Add framework-annotations-lib to cronet_aml_api_java
...
Follow aosp/2388112
Test: ./update_results.sh, TH in aosp/2398772
Change-Id: Ia9f3f221aab26b3cae59fecaf505dfb65c93ed95
Motomu Utsumi
commited 2023-01-23 20:49:16 +09:00
ffba28742d
gn2bp: Use ldflags to specify linker script
...
Follow workaround in aosp/2389777
Test: ./update_results.sh, TH in aosp/2398772
Change-Id: I43166004a20ca73c3375618232b349e724cfd211
Motomu Utsumi
commited 2023-01-23 20:49:13 +09:00
ab76aac035
Merge "gn2bp: Add Licensing to Android.bp"
Mohannad Farrag
authored and
Gerrit Code Review
commited 2023-01-18 11:56:36 +00:00
b1b0c6b4d6
gn2bp: Add min_sdk_version to cronet_aml_java
...
Follow aosp/2384119 change
Test: ./update_results.sh
Change-Id: Iafbaee0dd2acc8d5eeca0de5d5e2b52eb21930a4
Motomu Utsumi
commited 2023-01-16 15:20:35 +09:00
00bebb6dc5
gn2bp: Update desc jsons and Android.bp.swp
...
Generate desc jsons with aosp/2390518
Test: ./update_results.sh
Change-Id: I468d218b114eea48c5c1457ffa31b50c4be451bf
Motomu Utsumi
commited 2023-01-16 15:18:38 +09:00
3fb4566fcb
gn2bp: Update desc.json and Android.bp with is_build_cronet=true
...
is_build_cronet=true is required by aosp/2384115
This CL also updates gen_desc_json.sh to set is_build_cronet=true
Test: gen_desc_json.sh, update_results.sh
Change-Id: I057a7b9d4bb2038f430c1dbc59de72ba18bdf93c
Motomu Utsumi
commited 2023-01-12 18:20:56 +09:00
edf300c010
gn2bp: Update desc json and Android.bp.swp
...
Generated desc json with aosp/2385877
Test: ./update_results.sh
Test: TH with aosp/2385878
Change-Id: I0210f2e93c144457c6404073c6011b3b4ffcba09
Motomu Utsumi
commited 2023-01-12 15:30:20 +09:00
d6015fb969
gn2bp: update Android.bp.swp
...
Test: ./update_results.sh
Change-Id: I872d015156184a8e6dd91e494ffc446678f6cc26
Motomu Utsumi
commited 2023-01-12 13:16:31 +09:00
15c0873fc7
Drop AndroidX dependency
...
Cronet in AOSP doesn't require AndroidX. The only remaning use of
AndroidX upstream is BuildCompat#isAtLeastT, but here that makes use of
SdkLevel#isAtLeastT.
Test: ./update_result.sh && m
Change-Id: I46634e62f875072347b21235a695ebca6b03e3b5
Stefano Duo
authored and
Motomu Utsumi
commited 2023-01-12 13:16:16 +09:00
09f5523b9c
Merge "Now that Multidex is testonly, drop android-support-multidex"
Motomu Utsumi
authored and
Gerrit Code Review
commited 2023-01-12 04:03:44 +00:00
1fedd9fee1
Now that Multidex is testonly, drop android-support-multidex
...
Test: ./update_result.sh && m
Change-Id: I0e28f27c56627c3576859971ae8ce35030da6b91
Stefano Duo
commited 2023-01-11 16:00:15 +00:00
faef8bc112
gn2bp: Add JNI jarjaring prefix
...
* Add the prefix to make sure that cronet's implementation still connects correctly through the JNI layer after jarjaring.
Test: atest CtsCronetTestCases
Change-Id: I38cf1aa30b9211d65efc359eb1eae9244dcd7d10
Mohannad Farrag
commited 2023-01-10 16:45:47 +00:00
a4191eb8b2
Merge "cronet: remove apex_available:platform"
Patrick Rohr
authored and
Gerrit Code Review
commited 2023-01-10 15:34:32 +00:00
66e9af6375
cronet: remove apex_available:platform
...
Remove temporary workaround to b/203203405.
Test: ./update_results.sh
Change-Id: I0457b3e50e5d914eb2c88864710392959619787a
Patrick Rohr
commited 2023-01-10 05:40:38 -08:00
2b3b00efa2
Merge "cronet: Add dependency needed to make use of SdkLevel"
Stefano Duo
authored and
Gerrit Code Review
commited 2023-01-10 11:33:14 +00:00
fd71f69ba4
cronet: Add dependency needed to make use of SdkLevel
...
Test: m with this CL + aosp/2369503
Change-Id: I867ad377fb98a1645a461dafba79266f0cd58cc3
Stefano Duo
commited 2023-01-10 09:58:46 +00:00
0978c0716e
gn2bp: Add Licensing to Android.bp
...
* This was generated as per http://go/android-license-faq . `scan_project` binary was used to figure out all of the licenses that exist in `external/cronet` then manual filtering for `UNKNOWN` license.
Test: m
Bug: b/263943025
Change-Id: Ia63a694a2245d0b3fa646402e6adf5a7bbaadfe7
Mohannad Farrag
commited 2023-01-09 15:29:39 +00:00
ce711affcc
cronet: sync Android.bp with aosp/2374763
...
Test: TH
Change-Id: If1d8cd64d0c6be397fa02c4f91696b692677bdd6
Patrick Rohr
commited 2023-01-09 01:17:42 -08:00
c9f2da9e78
cronet: sync Android.bp with aosp/2374762
...
Test: TH
Change-Id: Icb16f269855bfaa1abe262dee9ceadafea3cc9ca
Patrick Rohr
commited 2023-01-08 22:47:21 -08:00
7716fafea7
cronet: update desc_*.json
...
Update desc_*.json to be in-sync with external/cronet.
Test: build
Change-Id: I62499573750e79865cdd522a6d685b7db3d8934b
Patrick Rohr
commited 2023-01-06 04:28:55 -08:00
10f77a996d
gn2bp: Use startswith instead of regex
...
Test: ./update_results.sh
Change-Id: Ic85de603d6edb3565552731bac60a57961c8aecc
Motomu Utsumi
commited 2023-01-06 11:53:27 +09:00
7841c80557
gn2bp: Remove unused condition for src path filtering
...
Test: ./update_results.sh
Change-Id: I5731123496490759e5ec3e8f53dd19d8fe6554b4
Motomu Utsumi
commited 2023-01-06 11:53:14 +09:00
4424f34582
gn2bp: Use "out" prefix for src path filtering
...
instead of "out/test".
Test: ./update_results.sh
Change-Id: I28fd863742f2531bb942a15c636ca311ef45c307
Motomu Utsumi
commited 2023-01-06 11:52:18 +09:00
e5ea57bc4f
Merge "cronet: add script to generate desc_*.json"
Patrick Rohr
authored and
Gerrit Code Review
commited 2023-01-05 15:47:33 +00:00
e54ec746d7
cronet: add script to generate desc_*.json
...
It's very basic for now.
Test: run the script
Change-Id: Ie848f8da6936f4300ba5ecdc041523440be25e8a
Patrick Rohr
commited 2023-01-05 07:45:43 -08:00
6d722af6f3
gn2bp: remove unnecessary chrome_root_store target
...
Test: cd external/cronet && mm
Change-Id: Idec19f1364c9dca4d278a33eebf500a4db87f389
Patrick Rohr
commited 2023-01-03 05:27:57 -08:00
7184dce577
gn2bp: Remove empty srcs cc_object from blueprint
...
* This was failing the pre-submits are cc_objects are compilable modules but they failed to compile due to empty srcs. However, this didn't affect the compilation of Cronet as the empty cc_objects are never in the path of compilation of Cronet because their attributes are propagated up the tree.
Test: m
Change-Id: I7cc87d53d4f460ef4958d5ecfb23ac28662fdbdc
Mohannad Farrag
commited 2022-12-29 11:49:04 +00:00
b6dbca96b6
gn2bp: Use libmediandk to include <media/NdkMediaError.h>
...
media_ndk_headers is not available to tethering apex.
But header files are available via libmediandk ndk_library
Test: m
Change-Id: I319d9f3a68c64d7b73af68db40d4a509eba59cd3
Motomu Utsumi
commited 2022-12-24 01:15:08 +09:00
dbf2863471
gn2bp: Add cronet_aml_api_java to cronet_aml_java lib
...
Test: ./update_results.sh
Change-Id: I02fb762d2a4af0fe5b200a9aafc6dee33d3eaed0
Motomu Utsumi
commited 2022-12-24 01:15:02 +09:00
46ec15cdeb
gn2bp: Add filegroup for cronet api
...
Test: ./update_results.sh
Change-Id: I4f02494448ede2eeefadbbb9c7c4fdf38ede645c
Motomu Utsumi
commited 2022-12-24 01:14:53 +09:00
a0a3dbea5f