xpcom/tests/component_no_aslr/moz.build
author Mike Hommey <mh+mozilla@glandium.org>
Thu, 07 Aug 2014 14:21:03 +0900
changeset 221170 6b285759568cb0b743cb9497e021f6552cc7e349
parent 220968 98614c9969ce8ba59350f978514f60706e18e03b
child 224209 62b9f6d4328bb3609e731c694aabf9ad2ba9406d
permissions -rw-r--r--
Bug 1047267 - Move remaining OS_LIBS and EXTRA_LIBS to moz.build. r=gps * * * Bug 1047267 - To fold with "Move remaining OS_LIBS and EXTRA_LIBS to moz.build"

# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
# 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/.

NO_DIST_INSTALL = True

SOURCES += [
    'TestComponent.cpp',
]

LIBRARY_NAME = 'testcompnoaslr'

IS_COMPONENT = True

DEFINES['LIBRARY_FILENAME'] = '%s%s%s' % (
    CONFIG['DLL_PREFIX'],
    LIBRARY_NAME,
    CONFIG['DLL_SUFFIX']
)

USE_LIBS += [
    'mozalloc',
    'nspr',
    'xpcomglue_s',
    'xul',
]

# Need to link with CoreFoundation on Mac
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
    OS_LIBS += CONFIG['TK_LIBS']