Skip to content

Commit fcef6dc

Browse files
flibitijibiboCommit Bot
authored andcommitted
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/+/2021010 Reviewed-by: Jamie Madill <jmadill@chromium.org> Commit-Queue: Jamie Madill <jmadill@chromium.org>
1 parent 52ef28d commit fcef6dc

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

BUILD.gn

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,10 @@ config("internal_config") {
111111
if (is_chromeos) {
112112
defines += [ "ANGLE_PLATFORM_CHROMEOS" ]
113113
}
114+
115+
if (is_ggp) {
116+
defines += [ "__ggp__" ]
117+
}
114118
}
115119

116120
config("constructor_and_destructor_warnings") {

0 commit comments

Comments
 (0)