Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(302)

Unified Diff: ppapi/native_client/BUILD.gn

Issue 1333673002: Build PPAPI NaCl Glibc tests with GN (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review feedback addressed Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ppapi/native_client/BUILD.gn
diff --git a/ppapi/native_client/BUILD.gn b/ppapi/native_client/BUILD.gn
index 23a23714d3f565a73ab83951cd18bb0cfc69a654..d131180aabc7caa70f8b82401a244d3d75f662b8 100644
--- a/ppapi/native_client/BUILD.gn
+++ b/ppapi/native_client/BUILD.gn
@@ -3,13 +3,17 @@
# found in the LICENSE file.
import("//build/config/features.gni")
+import("//build/config/nacl/config.gni")
if (is_nacl) {
group("ppapi_lib") {
deps = [
- "//native_client/src/untrusted/pthread",
"//ppapi/native_client/src/untrusted/irt_stub:ppapi_stub_lib",
]
+ if (!is_nacl_glibc) {
+ # Glibc has its version of pthread library.
+ deps += [ "//native_client/src/untrusted/pthread" ]
+ }
}
executable("nacl_irt") {

Powered by Google App Engine
This is Rietveld 408576698