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

Unified Diff: src/platform/metrics/Makefile

Issue 1863002: Add basic daily active use logging. (Closed) Base URL: ssh://git@chromiumos-git/chromeos
Patch Set: Address review comments. Created 10 years, 8 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/platform/metrics/metrics_daemon.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/platform/metrics/Makefile
diff --git a/src/platform/metrics/Makefile b/src/platform/metrics/Makefile
index 54b9f53bb0d9b2f32824c7d7fa6863c46d2e3641..784ff91e80a990f3709d70c1a7c376a486cae823 100644
--- a/src/platform/metrics/Makefile
+++ b/src/platform/metrics/Makefile
@@ -8,8 +8,7 @@
CCONFIG = $(shell $(PKG_CONFIG) --cflags dbus-1 glib-2.0 dbus-glib-1)
LDCONFIG = $(shell $(PKG_CONFIG) --libs dbus-1 glib-2.0 gthread-2.0 dbus-glib-1)
-CFLAGS = -Wall -Werror -I/usr/include -fPIC -O2 $(CCONFIG)
-CXXFLAGS = $(CFLAGS) -fno-exceptions
+CXXFLAGS += -Wall -Werror -fPIC -fno-exceptions $(CCONFIG)
CLIENT = metrics_client
DAEMON = metrics_daemon
@@ -51,9 +50,6 @@ $(SHAREDLIB): $(LIB_OBJS)
%.o: %.cc
$(CXX) $(CXXFLAGS) -c $< -o $@
-%.o: %.c
- $(CC) $(CFLAGS) -c $< -o $@
-
# dependencies in addition to those defined by the rules
metrics_daemon.o: \
« no previous file with comments | « no previous file | src/platform/metrics/metrics_daemon.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698