Bug 1366607: Use relative paths in ldap mozbuild includes; r=Fallen
authorTom Prince <mozilla@hocat.ca>
Wed, 18 Oct 2017 13:29:57 -0600
changeset 29215 41a5daa174d18edc06a166362eae81af1f6d53c9
parent 29214 1f4f67757e3f63933817cdc4b06a518c7fa867f8
child 29216 8c8f470eb28a8f49a44ed6546d95e16b19170824
push id2068
push userclokep@gmail.com
push dateMon, 13 Nov 2017 19:02:14 +0000
treeherdercomm-beta@9c7e7ce8672b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersFallen
bugs1366607
Bug 1366607: Use relative paths in ldap mozbuild includes; r=Fallen mozbuild has a test that it can load all mozbuild files when given an empty configuration. It fails if it has include paths that depend on configuration variables. MozReview-Commit-ID: 5g4J64B2cCN
ldap/c-sdk/libraries/liblber/moz.build
ldap/c-sdk/libraries/libldap/moz.build
ldap/c-sdk/libraries/libldif/moz.build
ldap/c-sdk/libraries/libprldap/moz.build
--- a/ldap/c-sdk/libraries/liblber/moz.build
+++ b/ldap/c-sdk/libraries/liblber/moz.build
@@ -1,14 +1,14 @@
 # vim: set filetype=python:
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
-include('/%s/ldap/ldap-sdk.mozbuild' % CONFIG['commreltopsrcdir'])
+include('../../../ldap-sdk.mozbuild')
 
 Library('lber60')
 
 SOURCES += [
     'bprint.c',
     'decode.c',
     'encode.c',
     'io.c',
--- a/ldap/c-sdk/libraries/libldap/moz.build
+++ b/ldap/c-sdk/libraries/libldap/moz.build
@@ -1,14 +1,14 @@
 # vim: set filetype=python:
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
-include('/%s/ldap/ldap-sdk.mozbuild' % CONFIG['commreltopsrcdir'])
+include('../../../ldap-sdk.mozbuild')
 
 SharedLibrary('ldap60')
 
 SOURCES += [
     'abandon.c',
     'add.c',
     'authzidctrl.c',
     'bind.c',
--- a/ldap/c-sdk/libraries/libldif/moz.build
+++ b/ldap/c-sdk/libraries/libldif/moz.build
@@ -1,14 +1,14 @@
 # vim: set filetype=python:
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
-include('/%s/ldap/ldap-sdk.mozbuild' % CONFIG['commreltopsrcdir'])
+include('../../../ldap-sdk.mozbuild')
 
 SharedLibrary('ldif60')
 
 SOURCES += [
     'line64.c'
 ]
 
 LOCAL_INCLUDES += [
--- a/ldap/c-sdk/libraries/libprldap/moz.build
+++ b/ldap/c-sdk/libraries/libprldap/moz.build
@@ -1,14 +1,14 @@
 # vim: set filetype=python:
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
-include('/%s/ldap/ldap-sdk.mozbuild' % CONFIG['commreltopsrcdir'])
+include('../../../ldap-sdk.mozbuild')
 
 SharedLibrary('prldap60')
 
 SOURCES += [
     'ldappr-dns.c',
     'ldappr-error.c',
     'ldappr-io.c',
     'ldappr-public.c',