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

Side by Side Diff: tools/Makefile

Issue 1408123011: Use find_depot_tools.py and vs_toolchain.py from chromium/src/build/ (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Created 5 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 | « build/vs_toolchain.py ('k') | no next file » | 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) 2012 The Native Client Authors. All rights reserved. 1 # Copyright (c) 2012 The Native Client 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 # Helper script for NaCl toolchain development workflow. 6 # Helper script for NaCl toolchain development workflow.
7 # 7 #
8 # Buildbots: 8 # Buildbots:
9 # - Sync needed sources at pinned revision and build newlib-based toolchain: 9 # - Sync needed sources at pinned revision and build newlib-based toolchain:
10 # make buildbot-build-with-newlib TOOLCHAINLOC=<where-to-install-the-toolcha in> 10 # make buildbot-build-with-newlib TOOLCHAINLOC=<where-to-install-the-toolcha in>
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 # use, obviously - and this is not always the case: for example they are not 104 # use, obviously - and this is not always the case: for example they are not
105 # available on MacOS, on 64bit linux you generally can find 64bit versions of 105 # available on MacOS, on 64bit linux you generally can find 64bit versions of
106 # them, but not 32bit versions, etc). 106 # them, but not 32bit versions, etc).
107 SRCDIR = ../../../third_party 107 SRCDIR = ../../../third_party
108 108
109 ifeq ($(PLATFORM), win) 109 ifeq ($(PLATFORM), win)
110 # Ugh, Cygwin and spaces in paths don't work well. 110 # Ugh, Cygwin and spaces in paths don't work well.
111 # I'm explicitly coding the path. 111 # I'm explicitly coding the path.
112 BUILDPATH = $(DESTDIR)$(PREFIX)/bin:/usr/local/bin:/usr/bin:/bin 112 BUILDPATH = $(DESTDIR)$(PREFIX)/bin:/usr/local/bin:/usr/bin:/bin
113 SCONS ?= scons.bat 113 SCONS ?= scons.bat
114 GIT ?= $(shell python ../build/find_depot_tools.py)/git.bat 114 GIT ?= $(shell python ../../build/find_depot_tools.py)/git.bat
115 REVISION ?= $(shell $(GIT) rev-parse HEAD | tr -d $$"\r") 115 REVISION ?= $(shell $(GIT) rev-parse HEAD | tr -d $$"\r")
116 PREFIX_NATIVE = $(shell cygpath -m $(PREFIX)) 116 PREFIX_NATIVE = $(shell cygpath -m $(PREFIX))
117 CREATE_REDIRECTORS = ./create_redirectors_cygwin.sh 117 CREATE_REDIRECTORS = ./create_redirectors_cygwin.sh
118 else 118 else
119 BUILDPATH = $(DESTDIR)$(PREFIX)/bin:$(PATH) 119 BUILDPATH = $(DESTDIR)$(PREFIX)/bin:$(PATH)
120 SCONS ?= scons 120 SCONS ?= scons
121 GIT ?= git 121 GIT ?= git
122 REVISION ?= $(shell git rev-parse HEAD) 122 REVISION ?= $(shell git rev-parse HEAD)
123 PREFIX_NATIVE = $(DESTDIR)$(PREFIX) 123 PREFIX_NATIVE = $(DESTDIR)$(PREFIX)
124 CREATE_REDIRECTORS = ./create_redirectors.sh 124 CREATE_REDIRECTORS = ./create_redirectors.sh
(...skipping 919 matching lines...) Expand 10 before | Expand all | Expand 10 after
1044 1044
1045 1045
1046 ################################################################## 1046 ##################################################################
1047 # Remove the BUILD directory. 1047 # Remove the BUILD directory.
1048 # Library builds are maintained by scons. 1048 # Library builds are maintained by scons.
1049 ################################################################## 1049 ##################################################################
1050 1050
1051 .PHONY: clean 1051 .PHONY: clean
1052 clean: 1052 clean:
1053 rm -rf BUILD/* 1053 rm -rf BUILD/*
OLDNEW
« no previous file with comments | « build/vs_toolchain.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698