36 Commits
Author SHA1 Message Date
Francis Tsui 3f4e2a6ca0 Add flag to enable async grpc client.
PiperOrigin-RevId: 808220477
2025-09-17 10:57:43 -07:00
hai007 7480977c58 Automated Code Change
PiperOrigin-RevId: 786349659
2025-07-23 11:07:56 -07:00
Guogang Li 8f14bd10fc Update WinRT to new version 2.0.250303.1
PiperOrigin-RevId: 781075193
2025-07-09 08:58:00 -07:00
Francis Tsui ce71a47291 internal changes
PiperOrigin-RevId: 748852719
2025-04-17 16:42:12 -07:00
Janusz Sobczak 949c035446 Clean up build rules
PiperOrigin-RevId: 712669082
2025-01-06 15:02:15 -08:00
Janusz Sobczak f9292be707 Remove unused fastpair C++ implementation to streamline the codebase
PiperOrigin-RevId: 712639309
2025-01-06 13:26:55 -08:00
Anay Wadhera b02ba01346 internal change
PiperOrigin-RevId: 687133353
2024-10-17 19:58:24 -07:00
Francis Tsui 30c8e0e722 Simplify winrt build target.
PiperOrigin-RevId: 672754586
2024-09-09 19:13:58 -07:00
hai007 19adc300a0 Automated Code Change
PiperOrigin-RevId: 627267684
2024-04-22 22:39:50 -07:00
Francis Tsui 1072030be8 Copy sharing/internal, sharing/common and sharing/scheduling to github.
- Move Abseil pin to same as that used in Chromium.
- Disabled layering_check due to build failure in absl.

PiperOrigin-RevId: 596631921
2024-01-08 10:20:37 -08:00
hai007 7484132a95 Fix the following potential warnings:
* `-Wdeprecated-declarations`
 * `-Wfinal-dtor-non-final-class`
 * `-Werror=inconsistent-missing-override`
 * `-Wignored-pragmas`
 * `-Wint-to-void-pointer-cast`
 * `-Winvalid-offsetof`
 * `-Wmacro-redefined`
 * `-Wmicrosoft-template`
 * `-Wmicrosoft-cast`
 * `-Wmicrosoft-exception-spec`
 * `-Wmicrosoft-template-shadow`
 * `-Wmicrosoft-unqualified-friend`
 * `-Wmisleading-indentation`
 * `-Werror=string-conversion`
 * `-Wunused-result`
 * `-Wunused-value`
 * `-Wunused-variable`
 * `-Wvla-extension`
 * `-Wnon-virtual-dtor`
 * `-Wimplicit-fallthrough`

PiperOrigin-RevId: 585621864
2023-11-27 05:24:59 -08:00
hai007 c51830a97f Port Intel PIE DLL, so we can query and control Intel WIFI directly
PiperOrigin-RevId: 563303511
2023-09-08 18:41:47 -07:00
Guogang Li 4a71c4d2d0 Move NS implementation to third party folder
PiperOrigin-RevId: 546966492
2023-07-10 13:39:42 -07:00
hai007 8e9ecdabc1 Automated visibility attribute cleanup.
PiperOrigin-RevId: 536823891
2023-05-31 14:29:22 -07:00
hai007 6dac39292b Remove unneeded fastpair dependency.
PiperOrigin-RevId: 524369312
2023-04-14 13:18:02 -07:00
Nick Bourdakos cbf50a3d49 Add more visibilities
PiperOrigin-RevId: 518647351
2023-03-22 12:51:23 -07:00
hai007 d0b258971d Remove the coroutines workaround from Nearby and drop experimental/coroutines.
In Prod LLVM release branch 515643669.1 ( cl/517696539 ) the experimental coroutines implementation is dropped. The `experimental/coroutines` header is removed.

Nearby doesn't use coroutines, but it uses libraries that depend on the existence of coroutine function definitions. Specifically, WinRT needs certain coroutine function definitions in order to compile.

Ordinarily, WinRT relied on the coroutine function definitions provided in the MSVC STL' `experimental/coroutines` header. The introduction of libc++ complicated this dependency for Nearby, because libc++' `experimental/coroutines` header took the place of the MSVC version, and (correctly, for C++17) provided none of the coroutine function definitions.

To resolve these issues, we implemented a patch of WinRT. The patch provided placeholder definitions, which allowed WinRT to pass compilation. This patch was submitted in cl/495104919. The patch was necessary to enable the Nearby migration from MSVC STL to libc++.

--

The removal of `experimental/coroutines` from libc++ makes this patch unnecessary. However, the patch will not compile without libc++' `experimental/coroutines` header.

The presence of libc++' `experimental/coroutines` header had prevented the corresponding MSVC STL' header from defining the functions for which the patch makes placeholders. Without the libc++' `experimental/coroutines` header, the MSVC STL header is employed and makes these definitions. The patch then redefines these functions, which causes a compilation failure.

--

This CL makes two changes: 1) It eliminates the patch, and 2) It eliminates the libc++ `experimental/coroutines` file from the Lexan libc++ distribution. This allows Nearby to function identically before and after the release of Lexan 515643669.1.

This change prevents a break from occurring when Lexan 515643669.1 is released.

PiperOrigin-RevId: 518119913
2023-03-20 17:20:47 -07:00
Anay Wadhera dc8b1ef7ee Expose internal/platform windows implementation to presence and add bcrypt.lib for resolving bcrypt symbols in absl
PiperOrigin-RevId: 507834078
2023-02-07 11:13:38 -08:00
Eiden Kim db6300fcc7 Add winrt visibility to Nearby Share app.
PiperOrigin-RevId: 506232180
2023-02-01 00:23:32 -08:00
Qin Wang a0692e6306 Migrate device_info from location/nearby to third_party/nearby
PiperOrigin-RevId: 504935151
2023-01-26 14:01:11 -08:00
hai007 dab0ead924 Explicitly initialize atomic value; change its type to unsigned.
PiperOrigin-RevId: 501935970
2023-01-13 14:12:44 -08:00
hai007 22c6db1473 Adding the implementation of the windows controller and cross language interfaces. TODO: Unit test needs to be added after the prototyped finished (b/264707418)
PiperOrigin-RevId: 500274314
2023-01-06 22:19:46 -08:00
hai007 88e350e5d2 Integrate network related part which both nearby sharing and fastpair are adopted.
Details can be seen in the `Integrate reusable internal components into third_party` part of `server access design doc` (go/fast_pair_server_data_access)

PiperOrigin-RevId: 498208011
2022-12-28 10:28:32 -08:00
hai007 7855176718 Fix a typo in base-no-coroutines.patch and re-apply the patch.
PiperOrigin-RevId: 495888291
2022-12-16 09:10:21 -08:00
hai007 c5cb0e1d39 Insert placeholder declarations into winrt/base.h.
PiperOrigin-RevId: 495104919
2022-12-13 13:09:29 -08:00
Qin Wang cdd65616fc Implement Ble GATT Client for Windows
PiperOrigin-RevId: 494033195
2022-12-08 17:06:52 -08:00
Suet-Fei Li a8ca18f477 Internal refactor.
PiperOrigin-RevId: 493970269
2022-12-08 12:47:57 -08:00
Suet-Fei Li 9f9bd40ada Internal flow.
PiperOrigin-RevId: 493719005
2022-12-07 15:05:45 -08:00
Nick Bourdakos 4fb6ba318c Internal change
PiperOrigin-RevId: 486691317
2022-11-07 09:59:14 -08:00
hai007 2206f21c3f Enable TAP test for nearby.fastpair.windows
Enable some packages to visible to nearby fast pair

PiperOrigin-RevId: 483819412
2022-10-25 17:31:00 -07:00
jfcarroll 778c77eacd Persist the original radio name, and restore it on app start if the radio name is our radio name.
PiperOrigin-RevId: 464148898
2022-07-29 13:43:35 -07:00
jfcarroll 28da839987 Latest update for winrt
PiperOrigin-RevId: 452591835
2022-06-02 12:05:19 -07:00
hai007 500f67c85e Add Wifi Medium to query WIFI interface capability and information
PiperOrigin-RevId: 451233512
2022-05-26 13:40:14 -07:00
suetfei 37f8b4487e Internal flow change phase 2.
PiperOrigin-RevId: 427059704
2022-02-07 17:17:20 -08:00
hai007 2f4676c58a Modify BUILD visibility rule to expose generated WinRT stubs to Nearby Sharing //location/nearby/cpp/sharing
PiperOrigin-RevId: 426242397
2022-02-03 14:44:07 -08:00
hais f5fcd35ced nearby sdk refactor
PiperOrigin-RevId: 425434260
2022-02-02 11:56:39 -08:00