"src/hash_map.c",
"src/hash_map_utils.c",
"src/list.c",
+ "src/metrics_linux.cpp",
"src/mutex.c",
+ "src/osi.c",
+ "src/properties.c",
"src/reactor.c",
"src/ringbuffer.c",
"src/semaphore.c",
# dependencies are abstracted.
"src/socket_utils/socket_local_client.c",
"src/socket_utils/socket_local_server.c",
-
"src/thread.c",
"src/time.c",
+ "src/wakelock.c",
]
include_dirs = [
"//",
"//utils/include",
+ "//stack/include",
]
}
"test/future_test.cpp",
"test/hash_map_test.cpp",
"test/hash_map_utils_test.cpp",
+ "test/leaky_bonded_queue_test.cpp",
"test/list_test.cpp",
+ "test/metrics_test.cpp",
+ "test/properties_test.cpp",
+ "test/rand_test.cpp",
"test/reactor_test.cpp",
"test/ringbuffer_test.cpp",
"test/thread_test.cpp",
include_dirs = [
"//",
+ "//osi/test",
]
deps = [
"//osi",
- "//third_party/gtest:gtest_main",
+ "//third_party/googletest:gtest_main",
+ "//third_party/googletest:gmock_main",
+ "//third_party/libchrome:base",
]
- libs = [ "-lpthread", "-lrt" ]
+ libs = [
+ "-lpthread",
+ "-lrt",
+ ]
}