OSDN Git Service

Fix GN build.
authorNicolas Capens <capn@google.com>
Mon, 15 Oct 2018 15:25:03 +0000 (11:25 -0400)
committerNicolas Capens <nicolascapens@google.com>
Mon, 15 Oct 2018 15:27:05 +0000 (15:27 +0000)
Bug b/115344057
Bug chromium:881334

Change-Id: Ib54e43a106c17b4878780382c4a80415e8f3583b
Reviewed-on: https://swiftshader-review.googlesource.com/c/21508
Reviewed-by: Nicolas Capens <nicolascapens@google.com>
Tested-by: Nicolas Capens <nicolascapens@google.com>
.gitignore
src/OpenGL/libEGL/BUILD.gn

index 646457b..61a991c 100644 (file)
@@ -2,6 +2,7 @@
 /lib/
 /obj/
 /bin/
+/out/
 /build/
 .vs
 
index 3184f9b..2c610d1 100644 (file)
@@ -52,6 +52,7 @@ swiftshader_shared_library("swiftshader_libEGL") {
   }
 
   sources = [
+    "../common/debug.cpp",
     "../common/Object.cpp",
     "Config.cpp",
     "Display.cpp",
@@ -63,10 +64,6 @@ swiftshader_shared_library("swiftshader_libEGL") {
     "resource.h",
   ]
 
-  if (is_debug) {
-    sources += [ "../common/debug.cpp" ]
-  }
-
   if (is_mac) {
     sources += [ "OSXUtils.mm" ]
     libs = [