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

Side by Side Diff: Makefile.standalone

Issue 1960393002: Subzero: Add necessary PNaCl files for standalone build. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero@master
Patch Set: make format Created 4 years, 7 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
« no previous file with comments | « CMakeLists.txt ('k') | docs/README.rst » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # The following variables will likely need to be modified, depending on where 1 # The following variables will likely need to be modified, depending on where
2 # and how you built LLVM & Clang. They can be overridden in a command-line 2 # and how you built LLVM & Clang. They can be overridden in a command-line
3 # invocation of make, like: 3 # invocation of make, like:
4 # 4 #
5 # make LLVM_SRC_PATH=<path> LIBCXX_INSTALL_PATH=<path> CLANG_PATH=<path> \ 5 # make LLVM_SRC_PATH=<path> LIBCXX_INSTALL_PATH=<path> CLANG_PATH=<path> \
6 # PNACL_BIN_PATH=<path> ... 6 # PNACL_BIN_PATH=<path> ...
7 # 7 #
8 8
9 # LLVM_SRC_PATH is the path to the root of the checked out source code. This 9 # LLVM_SRC_PATH is the path to the root of the checked out source code. This
10 # directory should contain the configure script, the include/ and lib/ 10 # directory should contain the configure script, the include/ and lib/
(...skipping 725 matching lines...) Expand 10 before | Expand all | Expand 10 after
736 # Provide validation of user awesomeness! 736 # Provide validation of user awesomeness!
737 echo Success 737 echo Success
738 738
739 FORMAT_BLACKLIST = 739 FORMAT_BLACKLIST =
740 # Add one of the following lines for each source file to ignore. 740 # Add one of the following lines for each source file to ignore.
741 FORMAT_BLACKLIST += ! -name IceParseInstsTest.cpp 741 FORMAT_BLACKLIST += ! -name IceParseInstsTest.cpp
742 FORMAT_BLACKLIST += ! -name IceParseTypesTest.cpp 742 FORMAT_BLACKLIST += ! -name IceParseTypesTest.cpp
743 FORMAT_BLACKLIST += ! -name assembler_arm.h 743 FORMAT_BLACKLIST += ! -name assembler_arm.h
744 FORMAT_BLACKLIST += ! -name assembler_arm.cc 744 FORMAT_BLACKLIST += ! -name assembler_arm.cc
745 FORMAT_BLACKLIST += ! -path "./wasm-install/*" 745 FORMAT_BLACKLIST += ! -path "./wasm-install/*"
746 FORMAT_BLACKLIST += ! -path "./pnacl-llvm/*"
746 format: 747 format:
747 $(CLANG_FORMAT_PATH)/clang-format -style=LLVM -i \ 748 $(CLANG_FORMAT_PATH)/clang-format -style=LLVM -i \
748 `find . -regex '.*\.\(c\|h\|cpp\)' $(FORMAT_BLACKLIST)` 749 `find . -regex '.*\.\(c\|h\|cpp\)' $(FORMAT_BLACKLIST)`
749 750
750 format-diff: 751 format-diff:
751 git diff -U0 `git merge-base HEAD master` | \ 752 git diff -U0 `git merge-base HEAD master` | \
752 PATH=$(PNACL_BIN_PATH):$(PATH) \ 753 PATH=$(PNACL_BIN_PATH):$(PATH) \
753 $(LLVM_SRC_PATH)/../clang/tools/clang-format/clang-format-diff.py \ 754 $(LLVM_SRC_PATH)/../clang/tools/clang-format/clang-format-diff.py \
754 -p1 -style=LLVM -i 755 -p1 -style=LLVM -i
755 756
(...skipping 19 matching lines...) Expand all
775 776
776 help-check-xtest: 777 help-check-xtest:
777 @cat Makefile.standalone-help/check-xtest.txt 778 @cat Makefile.standalone-help/check-xtest.txt
778 779
779 clean: 780 clean:
780 rm -rf pnacl-sz *.o $(foreach nexe,$(NEXES),$(notdir $(nexe))) \ 781 rm -rf pnacl-sz *.o $(foreach nexe,$(NEXES),$(notdir $(nexe))) \
781 $(OBJDIR) $(SB_OBJDIR) $(SBB_OBJDIR) build/*.bloat.json 782 $(OBJDIR) $(SB_OBJDIR) $(SBB_OBJDIR) build/*.bloat.json
782 783
783 clean-all: clean 784 clean-all: clean
784 rm -rf build/ crosstest/Output/ 785 rm -rf build/ crosstest/Output/
OLDNEW
« no previous file with comments | « CMakeLists.txt ('k') | docs/README.rst » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698