OLD | NEW |
1 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. | 1 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 #================================================================ | 5 #================================================================ |
6 # libcashew | 6 # libcashew |
7 # | 7 # |
8 # libcashew contains the bulk of the cashew source code | 8 # libcashew contains the bulk of the cashew source code |
9 # we link it with main.cc to produce cashewd, and we link it with | 9 # we link it with main.cc to produce cashewd, and we link it with |
10 # our *_unittest.cc sources to produce our unit test executable | 10 # our *_unittest.cc sources to produce our unit test executable |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 $(COMMON_LIBS) | 108 $(COMMON_LIBS) |
109 | 109 |
110 #=========== | 110 #=========== |
111 # unit tests | 111 # unit tests |
112 #=========== | 112 #=========== |
113 | 113 |
114 check_PROGRAMS = cashew_unittest | 114 check_PROGRAMS = cashew_unittest |
115 | 115 |
116 cashew_unittest_SOURCES = \ | 116 cashew_unittest_SOURCES = \ |
117 cashew_unittest.cc \ | 117 cashew_unittest.cc \ |
118 data_plan_unittest.cc | 118 data_plan_unittest.cc \ |
| 119 default_policy_unittest.cc |
119 | 120 |
120 GTEST_CFLAGS = | 121 GTEST_CFLAGS = |
121 GTEST_LIBS = -lgtest | 122 GTEST_LIBS = -lgtest |
122 | 123 |
123 cashew_unittest_CPPFLAGS = \ | 124 cashew_unittest_CPPFLAGS = \ |
124 $(COMMON_CFLAGS) \ | 125 $(COMMON_CFLAGS) \ |
125 $(GTEST_CFLAGS) | 126 $(GTEST_CFLAGS) |
126 | 127 |
127 cashew_unittest_LDADD = \ | 128 cashew_unittest_LDADD = \ |
128 $(LIBCASHEW) \ | 129 $(LIBCASHEW) \ |
129 $(COMMON_LIBS) \ | 130 $(COMMON_LIBS) \ |
130 $(GTEST_LIBS) | 131 $(GTEST_LIBS) |
OLD | NEW |