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

Side by Side Diff: ui/file_manager/zip_archiver/unpacker/Makefile.pnacl

Issue 2804453002: Move files from zip_archiver/unpacker/ to zip_archiver/. (Closed)
Patch Set: Move files from zip_archiver/unpacker/ to zip_archiver/. Created 3 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 unified diff | Download patch
OLDNEW
(Empty)
1 # Copyright 2014 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 # GNU Makefile based on shared rules provided by the Native Client SDK.
6 # See README.Makefiles for more details.
7
8 # In order to build with newlib by default change "pnacl newlib" to
9 # "newlib pnacl" or use make VAILD_TOOLCHAINS=newlib.
10 VALID_TOOLCHAINS := pnacl newlib
11
12 TOP_SRCDIR = $(CURDIR)/..
13 include $(TOP_SRCDIR)/third-party/settings.mk
14
15 include $(NACL_SDK_ROOT)/tools/common.mk
16
17 TARGET = module
18 LIBS = ppapi_cpp ppapi pthread archive z iconv crypto
19
20 CFLAGS = -Wall
21 SOURCES = \
22 cpp/compressor.cc \
23 cpp/compressor_archive_libarchive.cc \
24 cpp/compressor_io_javascript_stream.cc \
25 cpp/module.cc \
26 cpp/request.cc \
27 cpp/volume.cc \
28 cpp/volume_archive_libarchive.cc \
29 cpp/volume_reader_javascript_stream.cc
30
31 # Build rules generated by macros from common.mk:
32
33 $(foreach src,$(SOURCES),$(eval $(call COMPILE_RULE,$(src),$(CFLAGS))))
34
35 # The PNaCl workflow uses both an unstripped and finalized/stripped binary.
36 # On NaCl, only produce a stripped binary for Release configs (not Debug).
37 ifneq (,$(or $(findstring pnacl,$(TOOLCHAIN)),$(findstring Release,$(CONFIG))))
38 $(eval $(call LINK_RULE,$(TARGET)_unstripped,$(SOURCES),$(LIBS),$(DEPS)))
39 $(eval $(call STRIP_RULE,$(TARGET),$(TARGET)_unstripped))
40 else
41 $(eval $(call LINK_RULE,$(TARGET),$(SOURCES),$(LIBS),$(DEPS)))
42 endif
43
44 $(eval $(call NMF_RULE,$(TARGET),))
45
46 # Debug rule for testing. make debug will try to run Chrome with index.html,
47 # but there is no index.html. Every rule that constains "debug" will build and
48 # use the debug executables (see #line 113 from $NACL_SDK_ROOT/tools/common.mk
49 # with findstring).
50 .PHONY: debug
51 debug: all
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698