OSDN Git Service

build: Build net_test_osi using GN + ninja
authorArman Uguray <armansito@google.com>
Thu, 21 May 2015 20:52:25 +0000 (13:52 -0700)
committerArman Uguray <armansito@google.com>
Tue, 26 May 2015 21:56:48 +0000 (14:56 -0700)
commitbb6836b8e3145522c119e9478d5c7e7df75c3890
tree197dfc2074858dbc132eb1e1234638c70aed637d
parentcdc6f3a3efb18bdbed6dad93d9537c18d15af717
build: Build net_test_osi using GN + ninja

This CL adds support to build the net_test_osi target using GN + ninja.
The BUILD.gn file now pulls in gtest as a dependency. Missing libc
includes have been added to sources that prevented compilation on
Goobuntu (14.04).

The osi/include/log.h header has been modified to conditionally call the
Android log utilities vs plain-old printf on non-Android builds.

BUG=21339022

Change-Id: If3c356360c56c63b3bf551b41dc8d3269d8e7e09
osi/BUILD.gn
osi/include/log.h
osi/src/alarm.c
osi/src/config.c
osi/src/eager_reader.c
osi/src/reactor.c
osi/src/semaphore.c