OLD | NEW |
1 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 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. | 3 // BSD-style license that can be found in the LICENSE.md file. |
4 | 4 |
5 This is a native extension used by the power management package (in | 5 This is a native extension used by the power management package (in |
6 pkg/power_management) to get access to power management support the | 6 pkg/power_management) to get access to power management support the |
7 platform specific C API. When making changes to this code the native | 7 platform specific C API. When making changes to this code the native |
8 extension need to be updated namually in the package. | 8 extension need to be updated namually in the package. |
9 | 9 |
10 When testing changes on Mac OS: | 10 When testing changes on Mac OS: |
11 | 11 |
12 $ ninja -C out/ReleaseX64 | 12 $ ninja -C out/ReleaseX64 |
13 $ src/pkg/mdns/copy_dylib.sh | 13 $ src/pkg/mdns/copy_dylib.sh |
14 | 14 |
15 When the new .dylib file is working upload it to GCS | 15 When the new .dylib file is working upload it to GCS |
16 | 16 |
17 $ src/pkg/mdns/upload_dylib.sh | 17 $ src/pkg/mdns/upload_dylib.sh |
18 | 18 |
19 The resulting .sha1 file (in pkg/power management/lib/native) is then | 19 The resulting .sha1 file (in pkg/power management/lib/native) is then |
20 updated and checked in. | 20 updated and checked in. |
21 | 21 |
22 On Linux replace _dylib with _so in the two script names. | 22 On Linux replace _dylib with _so in the two script names. |
OLD | NEW |