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

Unified Diff: runtime/bin/net/os_linux.S

Issue 10909189: Add gyp files to build NSS in Dart (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments. Created 8 years, 1 month 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: runtime/bin/net/os_linux.S
diff --git a/runtime/bin/common_patch.dart b/runtime/bin/net/os_linux.S
similarity index 50%
copy from runtime/bin/common_patch.dart
copy to runtime/bin/net/os_linux.S
index 1c878aa13a4168a5094d4875c059052319eb8e80..bee9564aa9e26daaff20d90bb17fd83b12a491cb 100644
--- a/runtime/bin/common_patch.dart
+++ b/runtime/bin/net/os_linux.S
@@ -2,9 +2,10 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-patch class _BufferUtils {
- /* patch */ static bool _isBuiltinList(List buffer)
- native "Common_IsBuiltinList";
-}
+#ifdef __i386__
+#include "../../../third_party/nss/mozilla/nsprpub/pr/src/md/unix/os_Linux_x86.s"
+#elif defined(__x86_64__)
+#include "../../../third_party/nss/mozilla/nsprpub/pr/src/md/unix/os_Linux_x86_64.s"
+#endif

Powered by Google App Engine
This is Rietveld 408576698