~chromium-team/chromium-browser/artful-beta

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Chad Miller
  • Date: 2014-03-03 20:51:32 UTC
  • Revision ID: chad.miller@canonical.com-20140303205132-u1f2qiqvcxw55dt3
Don't use sysroot in building gn.

Show diffs side-by-side

added added

removed removed

Lines of Context:
66
66
 
67
67
GYP_PARAMS = --depth=$(CURDIR)
68
68
 
 
69
BROWSER_GYP_DEFINES =
 
70
FFMPEG_MT_GYP_DEFINES =
 
71
 
69
72
# Disable SSE2
70
73
GYP_DEFINES = disable_sse2=1
71
74
 
140
143
COMPONENT_SHARED_LIB_BUILD := 1
141
144
 
142
145
ifeq (1,$(COMPONENT_SHARED_LIB_BUILD))
143
 
GYP_DEFINES += component=shared_library
144
 
 
 
146
BROWSER_GYP_DEFINES += component=shared_library
 
147
FFMPEG_MT_GYP_DEFINES += component=shared_library
 
148
 
145
149
# SEGV on component builds, 2013-05
146
150
GYP_DEFINES += linux_use_tcmalloc=0
147
151
endif
419
423
# the source files for gn (the binary) are present in the source tree. This section
420
424
# disables the default behavior, falls back to gyp, builds gn, and use that as the binary.
421
425
build-stamp-gn: GYP_ENV = GYP_GENERATORS=ninja
422
 
build-stamp-gn: GYP_ENV += GYP_DEFINES="werror= linux_use_gold_binary=0 linux_use_gold_flags=0"
 
426
build-stamp-gn: GYP_ENV += GYP_DEFINES="$(GYP_DEFINES)"
423
427
build-stamp-gn:
424
428
        ### configure
425
429
        if [ ! -d $(DEB_TAR_SRCDIR) ]; then \