Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file | |
| 2 // for details. All rights reserved. Use of this source code is governed by a | |
| 3 // BSD-style license that can be found in the LICENSE.md file. | |
| 4 | |
| 5 This is a native extension used by the mDNS package (in pkg/mdns) to | |
| 6 get mDNS support on Mac OS using the C API. When making changes to | |
| 7 this code the native extension need to be updated namually in the | |
| 8 package. | |
| 9 | |
| 10 When testing changes on Mac OS: | |
| 11 | |
| 12 $ ninja -C out/ReleaseX64 | |
| 13 $ src/pkg/mdns/copy_dylib.sh | |
| 14 | |
| 15 When the new .dylib file is working upload it to GCS | |
| 16 | |
| 17 $ src/pkg/mdns/upload_dylib.sh | |
| 18 | |
| 19 The resulting .sha1 file (in pkg/mdns/lib/native) is then updated and | |
| 20 checked in. | |
| 21 | |
| 22 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.
| |
| 23 | |
| 24 The extension is also implemented for Linux, but in a no-operation | |
| 25 mode with just simple echo testing. The reason for this is that the | |
| 26 mDNS package can then always load the dynamic library. | |
| OLD | NEW |