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

Unified Diff: src/pkg/mdns/README

Issue 1403303012: Re-land "Extend the mDNS package with a native extension used on Mac OS" (Closed) Base URL: git@github.com:dart-lang/fletch.git@master
Patch Set: Fixes to the original change Created 5 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
« no previous file with comments | « pkg/mdns/test/native_extension_test.dart ('k') | src/pkg/mdns/copy_dylib.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/pkg/mdns/README
diff --git a/src/pkg/mdns/README b/src/pkg/mdns/README
new file mode 100644
index 0000000000000000000000000000000000000000..4b8c8ac23ef10695aeeea522112f62ec64e299c4
--- /dev/null
+++ b/src/pkg/mdns/README
@@ -0,0 +1,26 @@
+// Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE.md file.
+
+This is a native extension used by the mDNS package (in pkg/mdns) to
+get mDNS support on Mac OS using the C API. When making changes to
+this code the native extension need to be updated namually in the
+package.
+
+When testing changes on Mac OS:
+
+$ ninja -C out/ReleaseX64
+$ src/pkg/mdns/copy_dylib.sh
+
+When the new .dylib file is working upload it to GCS
+
+$ src/pkg/mdns/upload_dylib.sh
+
+The resulting .sha1 file (in pkg/mdns/lib/native) is then updated and
+checked in.
+
+On Linux replace _dylib with _so in the two script names.
ricow1 2015/11/03 05:56:36 I don't see those two scripts
Søren Gjesse 2015/11/03 07:19:56 Good catch. Forgot to add.
+
+The extension is also implemented for Linux, but in a no-operation
+mode with just simple echo testing. The reason for this is that the
+mDNS package can then always load the dynamic library.
« no previous file with comments | « pkg/mdns/test/native_extension_test.dart ('k') | src/pkg/mdns/copy_dylib.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698