Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(116)

Side by Side Diff: src/Makefile.am

Issue 5180003: cashew: add local byte counters (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/cashew.git@master
Patch Set: Address jglasgow and zelidrag (offline) code review comments Created 10 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | src/byte_counter.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
11 #================================================================ 11 #================================================================
12 12
13 noinst_LTLIBRARIES = libcashew.la 13 noinst_LTLIBRARIES = libcashew.la
14 14
15 libcashew_la_SOURCES = \ 15 libcashew_la_SOURCES = \
16 byte_counter.h \
17 byte_counter.cc \
16 cashew_server.h \ 18 cashew_server.h \
17 cashew_server.cc \ 19 cashew_server.cc \
18 data_plan.h \ 20 data_plan.h \
19 data_plan.cc \ 21 data_plan.cc \
20 data_plan_provider.h \ 22 data_plan_provider.h \
21 data_plan_provider.cc \ 23 data_plan_provider.cc \
22 default_policy.h \ 24 default_policy.h \
23 default_policy.cc \ 25 default_policy.cc \
24 device.h \ 26 device.h \
25 device.cc \ 27 device.cc \
26 http_fetcher.h \ 28 http_fetcher.h \
27 json_reader.h \ 29 json_reader.h \
28 json_reader.cc \ 30 json_reader.cc \
29 libcurl_http_fetcher.h \ 31 libcurl_http_fetcher.h \
30 libcurl_http_fetcher.cc \ 32 libcurl_http_fetcher.cc \
31 policy.h \ 33 policy.h \
32 policy.cc \ 34 policy.cc \
35 procfs_byte_counter.h \
36 procfs_byte_counter.cc \
33 service.h \ 37 service.h \
34 service.cc \ 38 service.cc \
35 service_manager.h \ 39 service_manager.h \
36 service_manager.cc \ 40 service_manager.cc \
37 values.h \ 41 values.h \
38 values.cc 42 values.cc
39 43
40 # D-Bus server stub generation 44 # D-Bus server stub generation
41 DBUSXX_XML2CPP = dbusxx-xml2cpp 45 DBUSXX_XML2CPP = dbusxx-xml2cpp
42 cashew_server_glue.h: $(top_srcdir)/introspection/cashew.xml 46 cashew_server_glue.h: $(top_srcdir)/introspection/cashew.xml
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 @GLOG_CFLAGS@ 84 @GLOG_CFLAGS@
81 85
82 COMMON_LIBS = \ 86 COMMON_LIBS = \
83 $(LIBBASE_LIBS) \ 87 $(LIBBASE_LIBS) \
84 @CURL_LIBS@ \ 88 @CURL_LIBS@ \
85 @DBUS_CPP_LIBS@ \ 89 @DBUS_CPP_LIBS@ \
86 $(GFLAGS_LIBS) \ 90 $(GFLAGS_LIBS) \
87 @GLIB_LIBS@ \ 91 @GLIB_LIBS@ \
88 @GLOG_LIBS@ 92 @GLOG_LIBS@
89 93
90 libcashew_la_CPPFLAGS = \ 94 libcashew_la_CXXFLAGS = \
91 $(COMMON_CFLAGS) 95 $(COMMON_CFLAGS)
92 96
93 libcashew_la_LIBADD = \ 97 libcashew_la_LIBADD = \
94 $(COMMON_LIBS) 98 $(COMMON_LIBS)
95 99
96 LIBCASHEW = ./libcashew.la 100 LIBCASHEW = ./libcashew.la
97 101
98 #============== 102 #==============
99 # cashew daemon 103 # cashew daemon
100 #============== 104 #==============
101 105
102 sbin_PROGRAMS = cashewd 106 sbin_PROGRAMS = cashewd
103 107
104 cashewd_SOURCES = \ 108 cashewd_SOURCES = \
105 main.cc 109 main.cc
106 110
107 cashewd_CPPFLAGS = \ 111 cashewd_CXXFLAGS = \
108 $(COMMON_CFLAGS) 112 $(COMMON_CFLAGS)
109 113
110 cashewd_LDADD = \ 114 cashewd_LDADD = \
111 $(LIBCASHEW) \ 115 $(LIBCASHEW) \
112 $(COMMON_LIBS) 116 $(COMMON_LIBS)
113 117
114 #=========== 118 #===========
115 # unit tests 119 # unit tests
116 #=========== 120 #===========
117 121
118 check_PROGRAMS = cashew_unittest 122 check_PROGRAMS = cashew_unittest
119 123
120 cashew_unittest_SOURCES = \ 124 cashew_unittest_SOURCES = \
121 cashew_unittest.cc \ 125 cashew_unittest.cc \
122 data_plan_unittest.cc \ 126 data_plan_unittest.cc \
123 default_policy_unittest.cc \ 127 default_policy_unittest.cc \
124 json_reader_unittest.cc \ 128 json_reader_unittest.cc \
129 procfs_byte_counter_unittest.cc \
125 values_unittest.cc 130 values_unittest.cc
126 131
127 GTEST_CFLAGS = 132 GTEST_CFLAGS =
128 GTEST_LIBS = -lgtest 133 GTEST_LIBS = -lgtest
129 134
130 cashew_unittest_CPPFLAGS = \ 135 cashew_unittest_CXXFLAGS = \
131 $(COMMON_CFLAGS) \ 136 $(COMMON_CFLAGS) \
132 $(GTEST_CFLAGS) 137 $(GTEST_CFLAGS)
133 138
134 cashew_unittest_LDADD = \ 139 cashew_unittest_LDADD = \
135 $(LIBCASHEW) \ 140 $(LIBCASHEW) \
136 $(COMMON_LIBS) \ 141 $(COMMON_LIBS) \
137 $(GTEST_LIBS) 142 $(GTEST_LIBS)
OLDNEW
« no previous file with comments | « no previous file | src/byte_counter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698