Age | Commit message (Collapse) | Author |
|
This change adds Interface.Manager.buildThreadSafeProxy(), which is
roughly analogous to mojo::ThreadSafeInterfacePtr<T>. Given that Java
does not have move-only semantics, the Proxy object that is passed is
unbound and a new object is returned.
Bug: None
Test: cheets_ContainerSmokeTest in Chrome OS
Change-Id: I6565f9e526e3fa8f8cb222cb8cd11e95bb57f7d3
Reviewed-on: https://chromium-review.googlesource.com/1147320
Reviewed-by: Ken Rockot <rockot@chromium.org>
Commit-Queue: Luis Hector Chavez <lhchavez@chromium.org>
Cr-Commit-Position: refs/heads/master@{#577429}
|
|
This change addresses a subset of the comments left after landing
https://android-review.googlesource.com/c/platform/external/libchrome/+/757314
Bug: 109924413
Test: m
Change-Id: Id4ac6aa81e13aa382e3b009900f7e4f8ee987098
|
|
This change avoids a build break in mac_sdk.
Bug: None
Test: m
Change-Id: I658fd59bb4cec63d3aa378812db15f06b5f0284e
|
|
This change adds a soong plugin that significantly cleans up the
generation of source/header files from .mojom files.
Bug: 109924413
Test: m
Change-Id: Ic2cf32f1bb914f826eee4c8559285e0ed4e23ced
|
|
-Wimplicit-fallthrough will be enabled globally.
Test: build with global -Wimplicit-fallthrough.
Change-Id: I445f9cd14a0b13ab603f269cf734e306b26c3dfb
|
|
-Wimplicit-fallthrough will be enabled globally.
Test: build with global -Wimplicit-fallthrough.
Change-Id: I5ab8b090f1bfca4cd952501e3b5b2eb5c708e4eb
|
|
This change adds support for pickle files (*.p). In particular:
* Stops hardcoding external/libchrome as an include directory. Most
packages will want to include the provided --package as an include
path instead.
* Allows specifying explicit -I arguments. This allows other packages to
take a dependency on external/libchrome explicitly.
* Uses bash array+=("value") syntax instead of array=("${array[@]}"
"value") for extra succintness.
* Cleans up some duplicated code paths.
Bug: 79557560
Test: m
Change-Id: I93fd835a29ac2133e972dbb25c1f62157ecb0101
Merged-In: I93fd835a29ac2133e972dbb25c1f62157ecb0101
|
|
A previous change fixed the various time-related typemaps, but the
.typemap file itself was not changed. This change fixes that.
Bug: 79557560
Test: m
Change-Id: I955b47df5ef0405838fb4334ad123c8cfadbc33c
Merged-In: I955b47df5ef0405838fb4334ad123c8cfadbc33c
|
|
am: 780a5f1a24
Change-Id: Ide6027489d3fda71bb47f891e33d3366012b2203
|
|
MojoProcessSupport needs to destroy pthread key which is globally used in libchrome. The key is
stored in a local variable in thread_local_storage.cc.
This adds a function to destroy the key so that MojoProcessSupport can do it.
Bug: 110722333
Test: No crash in opening DRMInfo.app
Test: PlayStore still works
Test: cheets_ContainerSmokeTest and cheets_LoginScreen
Change-Id: Ib10c83deb5f7ef141d4ab9883e0d2c31d422a1b1
|
|
am: 1fef1a6783
Change-Id: I7674a6651149e599af532b396b53a5722fc603bc
|
|
am: 1ec13ff8a4
Change-Id: I15a898683e19b5a35939a2111394081c75c3bd00
|
|
am: b23cbe0133
Change-Id: I377840f1499ecf230bf89952176e5ede332498e4
|
|
This change makes it possible to allow interfaces to globally handle
unhandled RuntimeExceptions, in their bindings or in the callbacks.
Bug: 28814913
Test: Android-on-Chrome OS has the same behavior as before
Test: Android-on-Chrome OS, when setting the DefaultExceptionHandler's
delegate can now forward the unhandled exceptions to the crash
server.
Change-Id: I2b7455a0344a109e1d2416a74ad4a0b98cd007f0
Reviewed-on: https://chromium-review.googlesource.com/1101898
Reviewed-by: Ken Rockot <rockot@chromium.org>
Commit-Queue: Luis Hector Chavez <lhchavez@chromium.org>
Cr-Commit-Position: refs/heads/master@{#568128}
|
|
Now that there is a legitimate way to handle RuntimeExceptions, let's
stop mucking with the generated code.
Bug: 28814913
Test: m
Change-Id: Id101fa4df5bdeab74e9ba4c377252a8c3c9ae622
|
|
This change adds the --quiet flag to zip, so that it can perform its
duties in complete silence.
Bug: None
Test: m
Change-Id: I1865b8902d37dd5ee6e0ac7b9cd37513da9627a1
|
|
am: 4509b726d0
Change-Id: I8f4ffcaf49af8c15e06ee390c4b65b6b62c021a1
|
|
Bug: http://b/77856586
Test: builds
Change-Id: Ib62e6ada084edf3ba3da9fa80dbc4440135f4049
|
|
am: 5eabd664a4
Change-Id: I6e39e2a56030ad1c50d140ff093b1a0b77b098d1
|
|
Bug: http://b/77856586
Test: builds
Change-Id: I98f2926f5acc7a55a1fb6166573cb7753ea16a92
|
|
am: 6bf72936ed
Change-Id: I885bc99bba8ce2e0f3c2875695f14ae181f7c4ac
|
|
am: 5877901a80
Change-Id: Id0916165b1dde255b102568e9493ab146ab5d266
|
|
So that it is no longer needed to list all generated java files
in Android.bp.
Bug: 79557560
Test: Built, and made sure android.mojo.jar contains generated class files.
Change-Id: I4349f85353b79a730b049e76e839133cad37ee04
|
|
am: 8332c76bc5
Change-Id: I213c2641ad328dd15a2f4be79f0aee335609c03f
|
|
am: efb5eadb43
Change-Id: I0f353d1446be8c880d068d47ca3066c6c4e19786
|
|
Instead of checking in pre-generated files,
this CL generates the file on build time.
Note that gen/mojo/common/common_custom_types__type_mappings file
is not yet removed. It is necessary to wait for internal catch up.
Bug: 79557560
Test: Built. No diff between generated file and pre-generated file.
Change-Id: Ia285fda93242216c8149d2871406235574e6258b
|
|
am: 56d9ee343e
Change-Id: Ief6523b9d290cc441f99b0baf945380cc6dd6ab9
|
|
am: 083f3cdf55
Change-Id: I2e1d2ef5948607ab35b26ff651305778f53a2502
|
|
Some sub directories in libchrome should be uprev'ed by just cp -rp.
Currently, the uprev is just per file, and files newly added in the
directory are simply ignored.
This CL implements per-directory uprev, so new files in the directory
will also be uprev'ed correctly.
Bug: 79557560
Test: Ran update_libchrome.py and no diff.
Change-Id: I93b386ba1ba7ccd3f1982b69f97ac7c9ba7731ee
|
|
am: e2c1a37558
Change-Id: Ic9d128b2317a3fef85d2dfca425a25b0a4cface1
|
|
am: ad62a8245a
Change-Id: I671033cdf0bcb8c67b657127cbfc5f77a211565a
|
|
trace_event is a feature to measure profiling.
However, it won't be usable in standard library like libchrome,
so remove it.
For build compatibility, small stub and trace_event_common.h
are kept.
Bug: 80375012
Test: Built locally.
Change-Id: Ie2a87d2fa0d3cdbd856044498d0dd2072da2e9ab
|
|
0c4351892b
am: 4376617d0a
Change-Id: I6c5ac95856507be1029133f663475e9dea4556c8
|
|
am: 0c4351892b
Change-Id: I169c63b0b10c6f0c5b9ff74efbefda0d8006f2fd
|
|
This change avoids a crash when NodeController::pending_broker_clients_
and NodeController::pending_invitations_ diverge. This might happen with
complex enough node topologies, where there is a node that proxies
invitations to a set of other nodes.
Bug: 62219143
Test: ARC still boots
Change-Id: Ia678f464fafb69628600ec00dac19da3b6868fe0
Reviewed-on: https://chromium-review.googlesource.com/1069728
Reviewed-by: Ken Rockot <rockot@chromium.org>
Commit-Queue: Luis Hector Chavez <lhchavez@chromium.org>
Cr-Commit-Position: refs/heads/master@{#560857}
(cherry picked from commit 30a0b449c8f7036c300d808db96b391220b7698f)
|
|
am: 28040c0ea8
Change-Id: I880af7dc317b0625ec042a34cdd243fca1301804
|
|
am: d973b822b9
Change-Id: I157e52f212e0a9e33febb6f403a4477152113b9a
|
|
event_types.h and id_map.h are moved out from base/ in Chrome ToT.
Becuase these are unused, remove them.
Bug: 79557560
Test: Ran treehugger.
Change-Id: I012f39a51396987bbb87d6978cc53b74d4568c0c
|
|
am: bad52fd52e
Change-Id: I1ce381095cab40d963b64371d630cb8d1a6967a4
|
|
am: 9f9c37c2dd
Change-Id: I294dbf299abd8333229f0f264059e885e356e5b0
|
|
Bug: 78144322
Test: Builds
Change-Id: Ie4f06817c97a476474f09e2ef7bc9fb62f1d4cbb
|
|
am: 6f377309fa
Change-Id: I0d66fe723109f69ccd9f129881d6eaf1a25db501
|
|
am: 2e2446af20
Change-Id: I15b886d7b35086db3133f8165ace7fee33ad333a
|
|
Originally, it was introduced in libmojo, when the library was
built with OS_ANDROID. Now, it is no longer OS_ANDROID so
those files are no longer used.
Bug: 73270448
Test: Built locally. Made sure "#include "base/os_compat_android.h" is wrapped
by "#if defined(OS_ANDROID)".
Change-Id: Idf9cedb1af69aa4d19bd6b1bbfc9292ee53ac9c0
|
|
am: 0ab20ac228
Change-Id: I1b1afe0c902f1d122b100f5bf56d1df4a94eb090
|
|
am: b268b43ac6
Change-Id: I7b2c3d7cfed03673c33eb497be20e238bd0aac33
|
|
This CL moves following files.
- .gitignore
- Android.bp is merged into libchrome's Android.bp.
- base/android/*
- build/* except build_config.h which is exactly same with libchrome's.
- ipc/*
- mojo/* except mojo/public/tools/bindings/generators/__init__.py
which is unused and not in chrome repository.
- soong/* into libchrome_tools/
- third_party/{catapult,jinja2,markupsafe,ply}/*
- ui/gfx/{geometry,range}/mojo/*
Then, update several paths/build rules to be adapted.
Bug: 73606903
Test: Built locally. Ran on DUT.
Change-Id: I2a532a42aa68dcb215dbd71d8673192311509726
|
|
am: e389a13ad8
Change-Id: Icd20eb0b17fc7ce4882db270c8b413b625235906
|
|
am: 4a54b98aa4
Change-Id: I3a24f1f071d3278ca39c6f4492fe0d08e8a7d532
|
|
Similar to libmojo/OWNERS, add myself to libchrome because
libmojo is being merged into libchrome.
Bug: None
Test: None
Change-Id: I5c6f411e812530571e1bcbd91bf14b6db0ba60b8
|