Enable libdng_sdk for macOs

Following the fix for libjpeg (commit d2a27d5), this enables the host
build of libdng_sdk for macOs. This requires a change in dng_utils.cpp
to remove usage of a deprecated API on macOs.

Test: macOs sdk build
Change-Id: Ife2123949d57291435badb0410ef0c3269bd2db8
diff --git a/Android.bp b/Android.bp
index ac01a1c..9299471 100644
--- a/Android.bp
+++ b/Android.bp
@@ -113,12 +113,13 @@
     ],
 
     target: {
-        host: {
+        linux_glibc: {
             static_libs: ["libcompiler_rt-extras"],
         },
         darwin: {
-            // TODO(b/67474260) Turn this back on
-            enabled: false,
+            host_ldlibs: [
+                "-framework AppKit",
+            ],
         },
     },
 
diff --git a/source/dng_utils.cpp b/source/dng_utils.cpp
index bf129c1..a22afbf 100644
--- a/source/dng_utils.cpp
+++ b/source/dng_utils.cpp
@@ -302,26 +302,8 @@
 real64 TickCountInSeconds ()
 	{
 	
-	#if qWinOS
-	
-	return GetTickCount () * (1.0 / 1000.0);
-	
-	#elif qMacOS
-	
-	#if TARGET_OS_IPHONE || TARGET_IPHONE_SIMULATOR
-	// TODO: Needs implementation.
-	ThrowProgramError ("TickCountInSeconds() not implemented on iOS");
-	return 0;
-	#else	
-	return TickCount () * (1.0 / 60.0);
-	#endif  // TARGET_OS_IPHONE || TARGET_IPHONE_SIMULATOR
-	
-	#else
-	
 	return TickTimeInSeconds ();
 	
-	#endif
-	
 	}
 
 /*****************************************************************************/