browser/app.mozbuild
author Danilo Cesar Lemes de Paula <danilo.cesar@collabora.co.uk>
Mon, 04 May 2015 07:15:00 +0200
changeset 273955 5b146d08b2c59b69bd7349b1a1e79355886b29a2
parent 232823 6986ab0f163ef2597dc2f72d4f808eeb5a598f15
child 298731 c98255aa4d4b086c66d4e363f2661ac748dc16d8
permissions -rw-r--r--
Bug 1160897 - Fixing .ycm_extra_conf for Fennec. r=ehsan Looks like ycmd fails to parse the file if the -march=arm* option is given Removing it doesn't solve all YCM problems for Fennec, but it allows us to use JumpToDefinition, GetType and semantic auto-completion.

# 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/.

if not CONFIG['LIBXUL_SDK']:
    include('/toolkit/toolkit.mozbuild')

if CONFIG['MOZ_EXTENSIONS']:
    DIRS += ['/extensions']

DIRS += ['/%s' % CONFIG['MOZ_BRANDING_DIRECTORY']]

if CONFIG['MOZ_WEBAPP_RUNTIME']:
    DIRS += ['/webapprt']

# Never add dirs after browser because they apparently won't get
# packaged properly on Mac.
DIRS += ['/browser']