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

Side by Side Diff: Makefile

Issue 3530001: first cut: establishes base helper classes and main (Closed) Base URL: http://git.chromium.org/git/cros_boot_mode.git
Patch Set: truncation is bad, m'kay. . . Created 10 years, 2 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « LICENSE ('k') | README » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 # found in the LICENSE file.
4 #
5 # Top-level Makefile for cros_boot_mode.
6
7 # Pull in chromium os defaults
8 include common.mk
9
10 # Filter out the two legacy style binaries.
11 BOOT_MODE_OBJECTS=$(filter-out %_testrunner.o %_unittest.o,$(CXX_OBJECTS))
12 $(OUT)cros_boot_mode: $(BOOT_MODE_OBJECTS)
13 $(call cxx_binary)
14 all: $(OUT)cros_boot_mode
15 RM_ON_CLEAN += $(OUT)cros_boot_mode
16
17 $(OUT)libcros_boot_mode.so: $(filter-out %_main.o,$(BOOT_MODE_OBJECTS))
18 $(call cc_library)
19 all: $(OUT)libcros_boot_mode.so
20 RM_ON_CLEAN += $(OUT)libcros_boot_mode.so
21
22 #
23 # Tests are not built by default.
24 #
25
26 # -lglib-2.0 is needed by libbase.a now.
27 $(OUT)cros_boot_mode_testrunner: $(filter-out %_main.o,$(CXX_OBJECTS))
28 $(call cxx_binary,-lgtest -lgmock -lbase -lglib-2.0 -lrt -lpthread)
29 RM_ON_CLEAN += $(OUT)cros_boot_mode_testrunner
30 # Will run each prerequisite for tests.
31 # If cross-compiled, this is done against the correct architecture.
32 small_tests: $(OUT)cros_boot_mode_testrunner
33 # No large tests here so we use the NONE target.
34 large_tests: NONE
OLDNEW
« no previous file with comments | « LICENSE ('k') | README » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698