Commit fcef6dcb by Ethan Lee Committed by Commit Bot

For GGP builds, define __ggp__ manually.

Unlike other platforms' definitions, the GGP SDK expects the project files to define this instead of having the compiler define it for us. Bug: angleproject:4237 Change-Id: I8f10311fdff785a74c5e49fc53a512f1c050bff3 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2021010Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org> Commit-Queue: Jamie Madill <jmadill@chromium.org>
parent 52ef28dc
...@@ -111,6 +111,10 @@ config("internal_config") { ...@@ -111,6 +111,10 @@ config("internal_config") {
if (is_chromeos) { if (is_chromeos) {
defines += [ "ANGLE_PLATFORM_CHROMEOS" ] defines += [ "ANGLE_PLATFORM_CHROMEOS" ]
} }
if (is_ggp) {
defines += [ "__ggp__" ]
}
} }
config("constructor_and_destructor_warnings") { config("constructor_and_destructor_warnings") {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment