Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # -*- makefile -*- | 1 # -*- makefile -*- |
| 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
| 4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
| 5 | 5 |
| 6 # Elements used to construct PYTHONPATH. These may be overridden by the | 6 # Elements used to construct PYTHONPATH. These may be overridden by the |
| 7 # including Makefile. | 7 # including Makefile. |
| 8 # | 8 # |
| 9 # For example: while we transition from buildbot 0.7.12 to buildbot 0.8.x , | 9 # For example: while we transition from buildbot 0.7.12 to buildbot 0.8.x , |
| 10 # some masters will override BUILDBOT_PATH in their local Makefiles. | 10 # some masters will override BUILDBOT_PATH in their local Makefiles. |
| 11 TOPLEVEL_DIR ?= ../.. | 11 TOPLEVEL_DIR ?= ../../.. |
|
ghost stip (do not use)
2016/04/14 21:23:41
build_internal has this as ../../../, which is wha
| |
| 12 SCRIPTS_DIR ?= $(TOPLEVEL_DIR)/scripts | 12 SCRIPTS_DIR ?= $(TOPLEVEL_DIR)/build/scripts |
| 13 | 13 |
| 14 GCLIENT = $(shell which gclient || echo "$(TOPLEVEL_DIR)/../depot_tools/gclient" ) | 14 GCLIENT = $(shell which gclient || echo "$(TOPLEVEL_DIR)/depot_tools/gclient") |
|
ghost stip (do not use)
2016/04/14 21:23:41
we don't need to specify build/ here, but can just
| |
| 15 | 15 |
| 16 BUILDBOT8_PATH = $(shell $(SCRIPTS_DIR)/common/env.py -M "$(PWD)" echo) | 16 BUILDBOT8_PATH = $(shell $(SCRIPTS_DIR)/common/env.py -M "$(PWD)" echo) |
| 17 BUILDBOT_PATH ?= $(BUILDBOT8_PATH) | 17 BUILDBOT_PATH ?= $(BUILDBOT8_PATH) |
| 18 | 18 |
| 19 # Define PYTHONPATH. | 19 # Define PYTHONPATH. |
| 20 PYTHONPATH := $(BUILDBOT8_PATH) | 20 PYTHONPATH := $(BUILDBOT8_PATH) |
| 21 | 21 |
| 22 include $(TOPLEVEL_DIR)/masters/master-common-rules.mk | 22 include $(TOPLEVEL_DIR)/build/masters/master-common-rules.mk |
| OLD | NEW |