Skip to content

Commit

Permalink
Avoid C4819 warning during bootstrap-vcpkg.bat (microsoft#15095)
Browse files Browse the repository at this point in the history
  • Loading branch information
tetsuh authored Dec 14, 2020
1 parent cdae967 commit 9dbace1
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 27 deletions.
52 changes: 26 additions & 26 deletions src/vcpkg/export.prefab.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -335,32 +335,32 @@ namespace vcpkg::Export::Prefab

/*
prefab
└── <name>
├── aar
│   ├── AndroidManifest.xml
│   ├── META-INF
│   │   └── LICENCE
│   └── prefab
│   ├── modules
│   │   └── <module>
│   │   ├── include
│   │   ├── libs
│   │   │   ├── android.arm64-v8a
│   │   │   │   ├── abi.json
│   │   │   │   └── lib<module>.so
│   │   │   ├── android.armeabi-v7a
│   │   │   │   ├── abi.json
│   │   │   │   └── lib<module>.so
│   │   │   ├── android.x86
│   │   │   │   ├── abi.json
│   │   │   │   └── lib<module>.so
│   │   │   └── android.x86_64
│   │   │   ├── abi.json
│   │   │   └── lib<module>.so
│   │   └── module.json
│   └── prefab.json
├── <name>-<version>.aar
└── pom.xml
+-- <name>
+-- aar
| +-- AndroidManifest.xml
| +-- META-INF
| | +-- LICENCE
| +-- prefab
| +-- modules
| | +-- <module>
| | +-- include
| | +-- libs
| | | +-- android.arm64-v8a
| | | | +-- abi.json
| | | | +-- lib<module>.so
| | | +-- android.armeabi-v7a
| | | | +-- abi.json
| | | | +-- lib<module>.so
| | | +-- android.x86
| | | | +-- abi.json
| | | | +-- lib<module>.so
| | | +-- android.x86_64
| | | +-- abi.json
| | | +-- lib<module>.so
| | +-- module.json
| +-- prefab.json
+-- <name>-<version>.aar
+-- pom.xml
*/

std::unordered_map<std::string, std::string> version_map;
Expand Down
3 changes: 2 additions & 1 deletion src/vcpkg/registries.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,8 @@ namespace
fs::path path_to_registry_database(const VcpkgPaths& paths) const
{
fs::path path_to_db = paths.config_root_dir / path;
path_to_db /= fs::u8path({'\xF0', '\x9F', '\x98', '\x87'}); // utf-8 for 😇
path_to_db /= fs::u8path(
{'\xF0', '\x9F', '\x98', '\x87'}); // utf-8 for https://emojipedia.org/smiling-face-with-halo/
return path_to_db;
}

Expand Down

0 comments on commit 9dbace1

Please sign in to comment.