Bug 1824819 - pt4 - remove abandoned files no longer appearing in upstream r=dbaker,webrtc-reviewers

Depends on D174688

Differential Revision: https://phabricator.services.mozilla.com/D174689
This commit is contained in:
Michael Froman 2023-04-12 16:03:39 +00:00
parent 1829e65d1c
commit 8ce7ebbabd
8 changed files with 0 additions and 1728 deletions

View File

@ -1,785 +0,0 @@
# We borrow heavily from the kernel build setup, though we are simpler since
# we don't have Kconfig tweaking settings on us.
# The implicit make rules have it looking for RCS files, among other things.
# We instead explicitly write all the rules we care about.
# It's even quicker (saves ~200ms) to pass -r on the command line.
MAKEFLAGS=-r
# The source directory tree.
srcdir := .
abs_srcdir := $(abspath $(srcdir))
# The name of the builddir.
builddir_name ?= out
# The V=1 flag on command line makes us verbosely print command lines.
ifdef V
quiet=
else
quiet=quiet_
endif
# Specify BUILDTYPE=Release on the command line for a release build.
BUILDTYPE ?= Debug
# Directory all our build output goes into.
# Note that this must be two directories beneath src/ for unit tests to pass,
# as they reach into the src/ directory for data with relative paths.
builddir ?= $(builddir_name)/$(BUILDTYPE)
abs_builddir := $(abspath $(builddir))
depsdir := $(builddir)/.deps
# Object output directory.
obj := $(builddir)/obj
abs_obj := $(abspath $(obj))
# We build up a list of every single one of the targets so we can slurp in the
# generated dependency rule Makefiles in one pass.
all_deps :=
# C++ apps need to be linked with g++.
#
# Note: flock is used to seralize linking. Linking is a memory-intensive
# process so running parallel links can often lead to thrashing. To disable
# the serialization, override LINK via an envrionment variable as follows:
#
# export LINK=g++
#
# This will allow make to invoke N linker processes as specified in -jN.
LINK ?= flock $(builddir)/linker.lock $(CXX)
CC.target ?= $(CC)
CFLAGS.target ?= $(CFLAGS)
CXX.target ?= $(CXX)
CXXFLAGS.target ?= $(CXXFLAGS)
LINK.target ?= $(LINK)
LDFLAGS.target ?= $(LDFLAGS)
AR.target ?= $(AR)
# TODO(evan): move all cross-compilation logic to gyp-time so we don't need
# to replicate this environment fallback in make as well.
CC.host ?= gcc
CFLAGS.host ?=
CXX.host ?= g++
CXXFLAGS.host ?=
LINK.host ?= g++
LDFLAGS.host ?=
AR.host ?= ar
# Define a dir function that can handle spaces.
# http://www.gnu.org/software/make/manual/make.html#Syntax-of-Functions
# "leading spaces cannot appear in the text of the first argument as written.
# These characters can be put into the argument value by variable substitution."
empty :=
space := $(empty) $(empty)
# http://stackoverflow.com/questions/1189781/using-make-dir-or-notdir-on-a-path-with-spaces
replace_spaces = $(subst $(space),?,$1)
unreplace_spaces = $(subst ?,$(space),$1)
dirx = $(call unreplace_spaces,$(dir $(call replace_spaces,$1)))
# Flags to make gcc output dependency info. Note that you need to be
# careful here to use the flags that ccache and distcc can understand.
# We write to a dep file on the side first and then rename at the end
# so we can't end up with a broken dep file.
depfile = $(depsdir)/$(call replace_spaces,$@).d
DEPFLAGS = -MMD -MF $(depfile).raw
# We have to fixup the deps output in a few ways.
# (1) the file output should mention the proper .o file.
# ccache or distcc lose the path to the target, so we convert a rule of
# the form:
# foobar.o: DEP1 DEP2
# into
# path/to/foobar.o: DEP1 DEP2
# (2) we want missing files not to cause us to fail to build.
# We want to rewrite
# foobar.o: DEP1 DEP2 \
# DEP3
# to
# DEP1:
# DEP2:
# DEP3:
# so if the files are missing, they're just considered phony rules.
# We have to do some pretty insane escaping to get those backslashes
# and dollar signs past make, the shell, and sed at the same time.
# Doesn't work with spaces, but that's fine: .d files have spaces in
# their names replaced with other characters.
define fixup_dep
# The depfile may not exist if the input file didn't have any #includes.
touch $(depfile).raw
# Fixup path as in (1).
sed -e "s|^$(notdir $@)|$@|" $(depfile).raw >> $(depfile)
# Add extra rules as in (2).
# We remove slashes and replace spaces with new lines;
# remove blank lines;
# delete the first line and append a colon to the remaining lines.
sed -e 's|\\||' -e 'y| |\n|' $(depfile).raw |\
grep -v '^$$' |\
sed -e 1d -e 's|$$|:|' \
>> $(depfile)
rm $(depfile).raw
endef
# Command definitions:
# - cmd_foo is the actual command to run;
# - quiet_cmd_foo is the brief-output summary of the command.
quiet_cmd_cc = CC($(TOOLSET)) $@
cmd_cc = $(CC.$(TOOLSET)) $(GYP_CFLAGS) $(DEPFLAGS) $(CFLAGS.$(TOOLSET)) -c -o $@ $<
quiet_cmd_cxx = CXX($(TOOLSET)) $@
cmd_cxx = $(CXX.$(TOOLSET)) $(GYP_CXXFLAGS) $(DEPFLAGS) $(CXXFLAGS.$(TOOLSET)) -c -o $@ $<
quiet_cmd_touch = TOUCH $@
cmd_touch = touch $@
quiet_cmd_copy = COPY $@
# send stderr to /dev/null to ignore messages when linking directories.
cmd_copy = ln -f "$<" "$@" 2>/dev/null || (rm -rf "$@" && cp -af "$<" "$@")
quiet_cmd_alink = AR($(TOOLSET)) $@
cmd_alink = rm -f $@ && $(AR.$(TOOLSET)) crs $@ $(filter %.o,$^)
quiet_cmd_alink_thin = AR($(TOOLSET)) $@
cmd_alink_thin = rm -f $@ && $(AR.$(TOOLSET)) crsT $@ $(filter %.o,$^)
# Due to circular dependencies between libraries :(, we wrap the
# special "figure out circular dependencies" flags around the entire
# input list during linking.
quiet_cmd_link = LINK($(TOOLSET)) $@
cmd_link = $(LINK.$(TOOLSET)) $(GYP_LDFLAGS) $(LDFLAGS.$(TOOLSET)) -o $@ -Wl,--start-group $(LD_INPUTS) -Wl,--end-group $(LIBS)
# We support two kinds of shared objects (.so):
# 1) shared_library, which is just bundling together many dependent libraries
# into a link line.
# 2) loadable_module, which is generating a module intended for dlopen().
#
# They differ only slightly:
# In the former case, we want to package all dependent code into the .so.
# In the latter case, we want to package just the API exposed by the
# outermost module.
# This means shared_library uses --whole-archive, while loadable_module doesn't.
# (Note that --whole-archive is incompatible with the --start-group used in
# normal linking.)
# Other shared-object link notes:
# - Set SONAME to the library filename so our binaries don't reference
# the local, absolute paths used on the link command-line.
quiet_cmd_solink = SOLINK($(TOOLSET)) $@
cmd_solink = $(LINK.$(TOOLSET)) -shared $(GYP_LDFLAGS) $(LDFLAGS.$(TOOLSET)) -Wl,-soname=$(@F) -o $@ -Wl,--whole-archive $(LD_INPUTS) -Wl,--no-whole-archive $(LIBS)
quiet_cmd_solink_module = SOLINK_MODULE($(TOOLSET)) $@
cmd_solink_module = $(LINK.$(TOOLSET)) -shared $(GYP_LDFLAGS) $(LDFLAGS.$(TOOLSET)) -Wl,-soname=$(@F) -o $@ -Wl,--start-group $(filter-out FORCE_DO_CMD, $^) -Wl,--end-group $(LIBS)
# Define an escape_quotes function to escape single quotes.
# This allows us to handle quotes properly as long as we always use
# use single quotes and escape_quotes.
escape_quotes = $(subst ','\'',$(1))
# This comment is here just to include a ' to unconfuse syntax highlighting.
# Define an escape_vars function to escape '$' variable syntax.
# This allows us to read/write command lines with shell variables (e.g.
# $LD_LIBRARY_PATH), without triggering make substitution.
escape_vars = $(subst $$,$$$$,$(1))
# Helper that expands to a shell command to echo a string exactly as it is in
# make. This uses printf instead of echo because printf's behaviour with respect
# to escape sequences is more portable than echo's across different shells
# (e.g., dash, bash).
exact_echo = printf '%s\n' '$(call escape_quotes,$(1))'
# Helper to compare the command we're about to run against the command
# we logged the last time we ran the command. Produces an empty
# string (false) when the commands match.
# Tricky point: Make has no string-equality test function.
# The kernel uses the following, but it seems like it would have false
# positives, where one string reordered its arguments.
# arg_check = $(strip $(filter-out $(cmd_$(1)), $(cmd_$@)) \
# $(filter-out $(cmd_$@), $(cmd_$(1))))
# We instead substitute each for the empty string into the other, and
# say they're equal if both substitutions produce the empty string.
# .d files contain ? instead of spaces, take that into account.
command_changed = $(or $(subst $(cmd_$(1)),,$(cmd_$(call replace_spaces,$@))),\
$(subst $(cmd_$(call replace_spaces,$@)),,$(cmd_$(1))))
# Helper that is non-empty when a prerequisite changes.
# Normally make does this implicitly, but we force rules to always run
# so we can check their command lines.
# $? -- new prerequisites
# $| -- order-only dependencies
prereq_changed = $(filter-out FORCE_DO_CMD,$(filter-out $|,$?))
# Helper that executes all postbuilds, and deletes the output file when done
# if any of the postbuilds failed.
define do_postbuilds
@E=0;\
for p in $(POSTBUILDS); do\
eval $$p;\
F=$$?;\
if [ $$F -ne 0 ]; then\
E=$$F;\
fi;\
done;\
if [ $$E -ne 0 ]; then\
rm -rf "$@";\
exit $$E;\
fi
endef
# do_cmd: run a command via the above cmd_foo names, if necessary.
# Should always run for a given target to handle command-line changes.
# Second argument, if non-zero, makes it do asm/C/C++ dependency munging.
# Third argument, if non-zero, makes it do POSTBUILDS processing.
# Note: We intentionally do NOT call dirx for depfile, since it contains ? for
# spaces already and dirx strips the ? characters.
define do_cmd
$(if $(or $(command_changed),$(prereq_changed)),
@$(call exact_echo, $($(quiet)cmd_$(1)))
@mkdir -p "$(call dirx,$@)" "$(dir $(depfile))"
$(if $(findstring flock,$(word 1,$(cmd_$1))),
@$(cmd_$(1))
@echo " $(quiet_cmd_$(1)): Finished",
@$(cmd_$(1))
)
@$(call exact_echo,$(call escape_vars,cmd_$(call replace_spaces,$@) := $(cmd_$(1)))) > $(depfile)
@$(if $(2),$(fixup_dep))
$(if $(and $(3), $(POSTBUILDS)),
$(call do_postbuilds)
)
)
endef
# Declare the "all" target first so it is the default,
# even though we don't have the deps yet.
.PHONY: all
all:
# make looks for ways to re-generate included makefiles, but in our case, we
# don't have a direct way. Explicitly telling make that it has nothing to do
# for them makes it go faster.
%.d: ;
# Use FORCE_DO_CMD to force a target to run. Should be coupled with
# do_cmd.
.PHONY: FORCE_DO_CMD
FORCE_DO_CMD:
TOOLSET := host
# Suffix rules, putting all outputs into $(obj).
$(obj).$(TOOLSET)/%.o: $(srcdir)/%.c FORCE_DO_CMD
@$(call do_cmd,cc,1)
$(obj).$(TOOLSET)/%.o: $(srcdir)/%.cc FORCE_DO_CMD
@$(call do_cmd,cxx,1)
$(obj).$(TOOLSET)/%.o: $(srcdir)/%.cpp FORCE_DO_CMD
@$(call do_cmd,cxx,1)
$(obj).$(TOOLSET)/%.o: $(srcdir)/%.cxx FORCE_DO_CMD
@$(call do_cmd,cxx,1)
$(obj).$(TOOLSET)/%.o: $(srcdir)/%.S FORCE_DO_CMD
@$(call do_cmd,cc,1)
$(obj).$(TOOLSET)/%.o: $(srcdir)/%.s FORCE_DO_CMD
@$(call do_cmd,cc,1)
# Try building from generated source, too.
$(obj).$(TOOLSET)/%.o: $(obj).$(TOOLSET)/%.c FORCE_DO_CMD
@$(call do_cmd,cc,1)
$(obj).$(TOOLSET)/%.o: $(obj).$(TOOLSET)/%.cc FORCE_DO_CMD
@$(call do_cmd,cxx,1)
$(obj).$(TOOLSET)/%.o: $(obj).$(TOOLSET)/%.cpp FORCE_DO_CMD
@$(call do_cmd,cxx,1)
$(obj).$(TOOLSET)/%.o: $(obj).$(TOOLSET)/%.cxx FORCE_DO_CMD
@$(call do_cmd,cxx,1)
$(obj).$(TOOLSET)/%.o: $(obj).$(TOOLSET)/%.S FORCE_DO_CMD
@$(call do_cmd,cc,1)
$(obj).$(TOOLSET)/%.o: $(obj).$(TOOLSET)/%.s FORCE_DO_CMD
@$(call do_cmd,cc,1)
$(obj).$(TOOLSET)/%.o: $(obj)/%.c FORCE_DO_CMD
@$(call do_cmd,cc,1)
$(obj).$(TOOLSET)/%.o: $(obj)/%.cc FORCE_DO_CMD
@$(call do_cmd,cxx,1)
$(obj).$(TOOLSET)/%.o: $(obj)/%.cpp FORCE_DO_CMD
@$(call do_cmd,cxx,1)
$(obj).$(TOOLSET)/%.o: $(obj)/%.cxx FORCE_DO_CMD
@$(call do_cmd,cxx,1)
$(obj).$(TOOLSET)/%.o: $(obj)/%.S FORCE_DO_CMD
@$(call do_cmd,cc,1)
$(obj).$(TOOLSET)/%.o: $(obj)/%.s FORCE_DO_CMD
@$(call do_cmd,cc,1)
TOOLSET := target
# Suffix rules, putting all outputs into $(obj).
$(obj).$(TOOLSET)/%.o: $(srcdir)/%.c FORCE_DO_CMD
@$(call do_cmd,cc,1)
$(obj).$(TOOLSET)/%.o: $(srcdir)/%.cc FORCE_DO_CMD
@$(call do_cmd,cxx,1)
$(obj).$(TOOLSET)/%.o: $(srcdir)/%.cpp FORCE_DO_CMD
@$(call do_cmd,cxx,1)
$(obj).$(TOOLSET)/%.o: $(srcdir)/%.cxx FORCE_DO_CMD
@$(call do_cmd,cxx,1)
$(obj).$(TOOLSET)/%.o: $(srcdir)/%.S FORCE_DO_CMD
@$(call do_cmd,cc,1)
$(obj).$(TOOLSET)/%.o: $(srcdir)/%.s FORCE_DO_CMD
@$(call do_cmd,cc,1)
# Try building from generated source, too.
$(obj).$(TOOLSET)/%.o: $(obj).$(TOOLSET)/%.c FORCE_DO_CMD
@$(call do_cmd,cc,1)
$(obj).$(TOOLSET)/%.o: $(obj).$(TOOLSET)/%.cc FORCE_DO_CMD
@$(call do_cmd,cxx,1)
$(obj).$(TOOLSET)/%.o: $(obj).$(TOOLSET)/%.cpp FORCE_DO_CMD
@$(call do_cmd,cxx,1)
$(obj).$(TOOLSET)/%.o: $(obj).$(TOOLSET)/%.cxx FORCE_DO_CMD
@$(call do_cmd,cxx,1)
$(obj).$(TOOLSET)/%.o: $(obj).$(TOOLSET)/%.S FORCE_DO_CMD
@$(call do_cmd,cc,1)
$(obj).$(TOOLSET)/%.o: $(obj).$(TOOLSET)/%.s FORCE_DO_CMD
@$(call do_cmd,cc,1)
$(obj).$(TOOLSET)/%.o: $(obj)/%.c FORCE_DO_CMD
@$(call do_cmd,cc,1)
$(obj).$(TOOLSET)/%.o: $(obj)/%.cc FORCE_DO_CMD
@$(call do_cmd,cxx,1)
$(obj).$(TOOLSET)/%.o: $(obj)/%.cpp FORCE_DO_CMD
@$(call do_cmd,cxx,1)
$(obj).$(TOOLSET)/%.o: $(obj)/%.cxx FORCE_DO_CMD
@$(call do_cmd,cxx,1)
$(obj).$(TOOLSET)/%.o: $(obj)/%.S FORCE_DO_CMD
@$(call do_cmd,cc,1)
$(obj).$(TOOLSET)/%.o: $(obj)/%.s FORCE_DO_CMD
@$(call do_cmd,cc,1)
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
$(findstring $(join ^,$(prefix)),\
$(join ^,All.target.mk)))),)
include All.target.mk
endif
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
$(findstring $(join ^,$(prefix)),\
$(join ^,base/base.target.mk)))),)
include base/base.target.mk
endif
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
$(findstring $(join ^,$(prefix)),\
$(join ^,net/net.target.mk)))),)
include net/net.target.mk
endif
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
$(findstring $(join ^,$(prefix)),\
$(join ^,peerconnection_client.target.mk)))),)
include peerconnection_client.target.mk
endif
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
$(findstring $(join ^,$(prefix)),\
$(join ^,third_party/expat/expat.target.mk)))),)
include third_party/expat/expat.target.mk
endif
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
$(findstring $(join ^,$(prefix)),\
$(join ^,third_party/jsoncpp/jsoncpp.target.mk)))),)
include third_party/jsoncpp/jsoncpp.target.mk
endif
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
$(findstring $(join ^,$(prefix)),\
$(join ^,third_party/libjingle/libjingle.target.mk)))),)
include third_party/libjingle/libjingle.target.mk
endif
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
$(findstring $(join ^,$(prefix)),\
$(join ^,third_party/libjingle/libjingle_p2p.target.mk)))),)
include third_party/libjingle/libjingle_p2p.target.mk
endif
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
$(findstring $(join ^,$(prefix)),\
$(join ^,third_party/libjingle/libjingle_peerconnection.target.mk)))),)
include third_party/libjingle/libjingle_peerconnection.target.mk
endif
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
$(findstring $(join ^,$(prefix)),\
$(join ^,third_party/libjingle/peerconnection_server.target.mk)))),)
include third_party/libjingle/peerconnection_server.target.mk
endif
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
$(findstring $(join ^,$(prefix)),\
$(join ^,third_party/libjpeg_turbo/libjpeg.target.mk)))),)
include third_party/libjpeg_turbo/libjpeg.target.mk
endif
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
$(findstring $(join ^,$(prefix)),\
$(join ^,third_party/libsrtp/libsrtp.target.mk)))),)
include third_party/libsrtp/libsrtp.target.mk
endif
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
$(findstring $(join ^,$(prefix)),\
$(join ^,third_party/libsrtp/rdbx_driver.target.mk)))),)
include third_party/libsrtp/rdbx_driver.target.mk
endif
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
$(findstring $(join ^,$(prefix)),\
$(join ^,third_party/libsrtp/replay_driver.target.mk)))),)
include third_party/libsrtp/replay_driver.target.mk
endif
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
$(findstring $(join ^,$(prefix)),\
$(join ^,third_party/libsrtp/roc_driver.target.mk)))),)
include third_party/libsrtp/roc_driver.target.mk
endif
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
$(findstring $(join ^,$(prefix)),\
$(join ^,third_party/libsrtp/rtpw.target.mk)))),)
include third_party/libsrtp/rtpw.target.mk
endif
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
$(findstring $(join ^,$(prefix)),\
$(join ^,third_party/libsrtp/srtp_driver.target.mk)))),)
include third_party/libsrtp/srtp_driver.target.mk
endif
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
$(findstring $(join ^,$(prefix)),\
$(join ^,third_party/libsrtp/srtp_runtest.target.mk)))),)
include third_party/libsrtp/srtp_runtest.target.mk
endif
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
$(findstring $(join ^,$(prefix)),\
$(join ^,third_party/libsrtp/srtp_test_aes_calc.target.mk)))),)
include third_party/libsrtp/srtp_test_aes_calc.target.mk
endif
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
$(findstring $(join ^,$(prefix)),\
$(join ^,third_party/libsrtp/srtp_test_cipher_driver.target.mk)))),)
include third_party/libsrtp/srtp_test_cipher_driver.target.mk
endif
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
$(findstring $(join ^,$(prefix)),\
$(join ^,third_party/libsrtp/srtp_test_datatypes_driver.target.mk)))),)
include third_party/libsrtp/srtp_test_datatypes_driver.target.mk
endif
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
$(findstring $(join ^,$(prefix)),\
$(join ^,third_party/libsrtp/srtp_test_env.target.mk)))),)
include third_party/libsrtp/srtp_test_env.target.mk
endif
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
$(findstring $(join ^,$(prefix)),\
$(join ^,third_party/libsrtp/srtp_test_kernel_driver.target.mk)))),)
include third_party/libsrtp/srtp_test_kernel_driver.target.mk
endif
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
$(findstring $(join ^,$(prefix)),\
$(join ^,third_party/libsrtp/srtp_test_rand_gen.target.mk)))),)
include third_party/libsrtp/srtp_test_rand_gen.target.mk
endif
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
$(findstring $(join ^,$(prefix)),\
$(join ^,third_party/libsrtp/srtp_test_sha1_driver.target.mk)))),)
include third_party/libsrtp/srtp_test_sha1_driver.target.mk
endif
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
$(findstring $(join ^,$(prefix)),\
$(join ^,third_party/libsrtp/srtp_test_stat_driver.target.mk)))),)
include third_party/libsrtp/srtp_test_stat_driver.target.mk
endif
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
$(findstring $(join ^,$(prefix)),\
$(join ^,third_party/libvpx/gen_asm_offsets.target.mk)))),)
include third_party/libvpx/gen_asm_offsets.target.mk
endif
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
$(findstring $(join ^,$(prefix)),\
$(join ^,third_party/libvpx/libvpx.target.mk)))),)
include third_party/libvpx/libvpx.target.mk
endif
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
$(findstring $(join ^,$(prefix)),\
$(join ^,third_party/libvpx/libvpx_asm_offsets.target.mk)))),)
include third_party/libvpx/libvpx_asm_offsets.target.mk
endif
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
$(findstring $(join ^,$(prefix)),\
$(join ^,third_party/libvpx/libvpx_obj_int_extract.host.mk)))),)
include third_party/libvpx/libvpx_obj_int_extract.host.mk
endif
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
$(findstring $(join ^,$(prefix)),\
$(join ^,third_party/libvpx/simple_decoder.target.mk)))),)
include third_party/libvpx/simple_decoder.target.mk
endif
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
$(findstring $(join ^,$(prefix)),\
$(join ^,third_party/libvpx/simple_encoder.target.mk)))),)
include third_party/libvpx/simple_encoder.target.mk
endif
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
$(findstring $(join ^,$(prefix)),\
$(join ^,third_party/libyuv/libyuv.target.mk)))),)
include third_party/libyuv/libyuv.target.mk
endif
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
$(findstring $(join ^,$(prefix)),\
$(join ^,third_party/protobuf/protobuf_full_do_not_use.host.mk)))),)
include third_party/protobuf/protobuf_full_do_not_use.host.mk
endif
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
$(findstring $(join ^,$(prefix)),\
$(join ^,third_party/protobuf/protobuf_full_do_not_use.target.mk)))),)
include third_party/protobuf/protobuf_full_do_not_use.target.mk
endif
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
$(findstring $(join ^,$(prefix)),\
$(join ^,third_party/protobuf/protobuf_lite.host.mk)))),)
include third_party/protobuf/protobuf_lite.host.mk
endif
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
$(findstring $(join ^,$(prefix)),\
$(join ^,third_party/protobuf/protobuf_lite.target.mk)))),)
include third_party/protobuf/protobuf_lite.target.mk
endif
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
$(findstring $(join ^,$(prefix)),\
$(join ^,third_party/protobuf/protoc.host.mk)))),)
include third_party/protobuf/protoc.host.mk
endif
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
$(findstring $(join ^,$(prefix)),\
$(join ^,third_party/protobuf/py_proto.target.mk)))),)
include third_party/protobuf/py_proto.target.mk
endif
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
$(findstring $(join ^,$(prefix)),\
$(join ^,third_party/webrtc/common_audio/resampler.target.mk)))),)
include third_party/webrtc/common_audio/resampler.target.mk
endif
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
$(findstring $(join ^,$(prefix)),\
$(join ^,third_party/webrtc/common_audio/signal_processing.target.mk)))),)
include third_party/webrtc/common_audio/signal_processing.target.mk
endif
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
$(findstring $(join ^,$(prefix)),\
$(join ^,third_party/webrtc/common_audio/vad.target.mk)))),)
include third_party/webrtc/common_audio/vad.target.mk
endif
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
$(findstring $(join ^,$(prefix)),\
$(join ^,third_party/webrtc/common_video/common_video.target.mk)))),)
include third_party/webrtc/common_video/common_video.target.mk
endif
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
$(findstring $(join ^,$(prefix)),\
$(join ^,third_party/webrtc/modules/CNG.target.mk)))),)
include third_party/webrtc/modules/CNG.target.mk
endif
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
$(findstring $(join ^,$(prefix)),\
$(join ^,third_party/webrtc/modules/G711.target.mk)))),)
include third_party/webrtc/modules/G711.target.mk
endif
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
$(findstring $(join ^,$(prefix)),\
$(join ^,third_party/webrtc/modules/G722.target.mk)))),)
include third_party/webrtc/modules/G722.target.mk
endif
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
$(findstring $(join ^,$(prefix)),\
$(join ^,third_party/webrtc/modules/NetEq.target.mk)))),)
include third_party/webrtc/modules/NetEq.target.mk
endif
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
$(findstring $(join ^,$(prefix)),\
$(join ^,third_party/webrtc/modules/PCM16B.target.mk)))),)
include third_party/webrtc/modules/PCM16B.target.mk
endif
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
$(findstring $(join ^,$(prefix)),\
$(join ^,third_party/webrtc/modules/audio_coding_module.target.mk)))),)
include third_party/webrtc/modules/audio_coding_module.target.mk
endif
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
$(findstring $(join ^,$(prefix)),\
$(join ^,third_party/webrtc/modules/audio_conference_mixer.target.mk)))),)
include third_party/webrtc/modules/audio_conference_mixer.target.mk
endif
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
$(findstring $(join ^,$(prefix)),\
$(join ^,third_party/webrtc/modules/audio_device.target.mk)))),)
include third_party/webrtc/modules/audio_device.target.mk
endif
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
$(findstring $(join ^,$(prefix)),\
$(join ^,third_party/webrtc/modules/audio_processing.target.mk)))),)
include third_party/webrtc/modules/audio_processing.target.mk
endif
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
$(findstring $(join ^,$(prefix)),\
$(join ^,third_party/webrtc/modules/audio_processing_sse2.target.mk)))),)
include third_party/webrtc/modules/audio_processing_sse2.target.mk
endif
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
$(findstring $(join ^,$(prefix)),\
$(join ^,third_party/webrtc/modules/audioproc_debug_proto.target.mk)))),)
include third_party/webrtc/modules/audioproc_debug_proto.target.mk
endif
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
$(findstring $(join ^,$(prefix)),\
$(join ^,third_party/webrtc/modules/bitrate_controller.target.mk)))),)
include third_party/webrtc/modules/bitrate_controller.target.mk
endif
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
$(findstring $(join ^,$(prefix)),\
$(join ^,third_party/webrtc/modules/iLBC.target.mk)))),)
include third_party/webrtc/modules/iLBC.target.mk
endif
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
$(findstring $(join ^,$(prefix)),\
$(join ^,third_party/webrtc/modules/iSAC.target.mk)))),)
include third_party/webrtc/modules/iSAC.target.mk
endif
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
$(findstring $(join ^,$(prefix)),\
$(join ^,third_party/webrtc/modules/iSACFix.target.mk)))),)
include third_party/webrtc/modules/iSACFix.target.mk
endif
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
$(findstring $(join ^,$(prefix)),\
$(join ^,third_party/webrtc/modules/media_file.target.mk)))),)
include third_party/webrtc/modules/media_file.target.mk
endif
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
$(findstring $(join ^,$(prefix)),\
$(join ^,third_party/webrtc/modules/remote_bitrate_estimator.target.mk)))),)
include third_party/webrtc/modules/remote_bitrate_estimator.target.mk
endif
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
$(findstring $(join ^,$(prefix)),\
$(join ^,third_party/webrtc/modules/rtp_rtcp.target.mk)))),)
include third_party/webrtc/modules/rtp_rtcp.target.mk
endif
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
$(findstring $(join ^,$(prefix)),\
$(join ^,third_party/webrtc/modules/udp_transport.target.mk)))),)
include third_party/webrtc/modules/udp_transport.target.mk
endif
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
$(findstring $(join ^,$(prefix)),\
$(join ^,third_party/webrtc/modules/video_capture_module.target.mk)))),)
include third_party/webrtc/modules/video_capture_module.target.mk
endif
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
$(findstring $(join ^,$(prefix)),\
$(join ^,third_party/webrtc/modules/video_coding/codecs/vp8/webrtc_vp8.target.mk)))),)
include third_party/webrtc/modules/video_coding/codecs/vp8/webrtc_vp8.target.mk
endif
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
$(findstring $(join ^,$(prefix)),\
$(join ^,third_party/webrtc/modules/video_processing.target.mk)))),)
include third_party/webrtc/modules/video_processing.target.mk
endif
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
$(findstring $(join ^,$(prefix)),\
$(join ^,third_party/webrtc/modules/video_processing_sse2.target.mk)))),)
include third_party/webrtc/modules/video_processing_sse2.target.mk
endif
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
$(findstring $(join ^,$(prefix)),\
$(join ^,third_party/webrtc/modules/video_render_module.target.mk)))),)
include third_party/webrtc/modules/video_render_module.target.mk
endif
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
$(findstring $(join ^,$(prefix)),\
$(join ^,third_party/webrtc/modules/webrtc_i420.target.mk)))),)
include third_party/webrtc/modules/webrtc_i420.target.mk
endif
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
$(findstring $(join ^,$(prefix)),\
$(join ^,third_party/webrtc/modules/webrtc_utility.target.mk)))),)
include third_party/webrtc/modules/webrtc_utility.target.mk
endif
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
$(findstring $(join ^,$(prefix)),\
$(join ^,third_party/webrtc/modules/webrtc_video_coding.target.mk)))),)
include third_party/webrtc/modules/webrtc_video_coding.target.mk
endif
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
$(findstring $(join ^,$(prefix)),\
$(join ^,third_party/webrtc/system_wrappers/source/system_wrappers.target.mk)))),)
include third_party/webrtc/system_wrappers/source/system_wrappers.target.mk
endif
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
$(findstring $(join ^,$(prefix)),\
$(join ^,third_party/webrtc/video_engine/video_engine_core.target.mk)))),)
include third_party/webrtc/video_engine/video_engine_core.target.mk
endif
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
$(findstring $(join ^,$(prefix)),\
$(join ^,third_party/webrtc/voice_engine/voice_engine_core.target.mk)))),)
include third_party/webrtc/voice_engine/voice_engine_core.target.mk
endif
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
$(findstring $(join ^,$(prefix)),\
$(join ^,third_party/yasm/config_sources.host.mk)))),)
include third_party/yasm/config_sources.host.mk
endif
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
$(findstring $(join ^,$(prefix)),\
$(join ^,third_party/yasm/generate_files.host.mk)))),)
include third_party/yasm/generate_files.host.mk
endif
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
$(findstring $(join ^,$(prefix)),\
$(join ^,third_party/yasm/genmacro.host.mk)))),)
include third_party/yasm/genmacro.host.mk
endif
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
$(findstring $(join ^,$(prefix)),\
$(join ^,third_party/yasm/genmodule.host.mk)))),)
include third_party/yasm/genmodule.host.mk
endif
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
$(findstring $(join ^,$(prefix)),\
$(join ^,third_party/yasm/genperf.host.mk)))),)
include third_party/yasm/genperf.host.mk
endif
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
$(findstring $(join ^,$(prefix)),\
$(join ^,third_party/yasm/genperf_libs.host.mk)))),)
include third_party/yasm/genperf_libs.host.mk
endif
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
$(findstring $(join ^,$(prefix)),\
$(join ^,third_party/yasm/genstring.host.mk)))),)
include third_party/yasm/genstring.host.mk
endif
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
$(findstring $(join ^,$(prefix)),\
$(join ^,third_party/yasm/genversion.host.mk)))),)
include third_party/yasm/genversion.host.mk
endif
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
$(findstring $(join ^,$(prefix)),\
$(join ^,third_party/yasm/re2c.host.mk)))),)
include third_party/yasm/re2c.host.mk
endif
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
$(findstring $(join ^,$(prefix)),\
$(join ^,third_party/yasm/yasm.host.mk)))),)
include third_party/yasm/yasm.host.mk
endif
quiet_cmd_regen_makefile = ACTION Regenerating $@
cmd_regen_makefile = ./build/gyp_chromium -fmake --ignore-environment "--toplevel-dir=." -I/home/jesup/src/mozilla/webrtc_import7/webrtc_update/trunk/build/common.gypi -I/home/jesup/src/mozilla/webrtc_import7/webrtc_update/trunk/supplement/supplement.gypi "--depth=." peerconnection_all.gyp
Makefile: third_party/webrtc/build/common.gypi third_party/webrtc/common_video/common_video.gyp third_party/webrtc/video_engine/video_engine.gyp third_party/webrtc/modules/audio_coding/neteq/neteq.gypi third_party/libvpx/libvpx_srcs_arm.gypi build/filename_rules.gypi third_party/webrtc/modules/media_file/source/media_file.gypi third_party/jsoncpp/jsoncpp.gyp base/base.gyp third_party/webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator.gypi third_party/webrtc/modules/rtp_rtcp/source/rtp_rtcp_tests.gypi third_party/webrtc/modules/audio_processing/audio_processing.gypi third_party/webrtc/modules/video_processing/main/source/video_processing.gypi third_party/webrtc/system_wrappers/source/system_wrappers.gyp supplement/supplement.gypi third_party/webrtc/modules/audio_coding/codecs/ilbc/ilbc.gypi third_party/webrtc/modules/utility/source/utility.gypi third_party/webrtc/voice_engine/test/voice_engine_tests.gypi build/internal/release_impl.gypi third_party/webrtc/modules/audio_coding/codecs/isac/isacfix_test.gypi third_party/yasm/yasm_compile.gypi net/net.gyp third_party/webrtc/modules/audio_coding/codecs/isac/isac_test.gypi third_party/webrtc/modules/audio_coding/codecs/cng/cng.gypi third_party/libvpx/libvpx_srcs_x86_64.gypi third_party/webrtc/modules/audio_coding/codecs/pcm16b/pcm16b.gypi third_party/webrtc/modules/audio_device/audio_device.gypi third_party/libjingle/libjingle.gyp build/internal/release_impl_official.gypi build/internal/release_defaults.gypi third_party/webrtc/modules/rtp_rtcp/source/rtp_rtcp.gypi third_party/webrtc/modules/video_render/main/source/video_render.gypi third_party/libjpeg_turbo/libjpeg.gyp third_party/webrtc/modules/rtp_rtcp/test/testAPI/test_api.gypi third_party/webrtc/modules/udp_transport/source/udp_transport.gypi third_party/libvpx/libvpx_srcs_arm_neon.gypi third_party/webrtc/voice_engine/voice_engine.gyp third_party/webrtc/common_audio/resampler/resampler.gypi third_party/webrtc/modules/audio_conference_mixer/source/audio_conference_mixer.gypi build/win_precompile.gypi third_party/expat/expat.gyp third_party/webrtc/modules/video_coding/main/source/video_coding_test.gypi third_party/yasm/yasm.gyp third_party/webrtc/modules/video_capture/main/source/video_capture.gypi third_party/webrtc/video_engine/test/libvietest/libvietest.gypi third_party/webrtc/modules/video_coding/codecs/vp8/vp8.gyp third_party/webrtc/modules/bitrate_controller/bitrate_controller.gypi third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/isacfix.gypi build/ios/mac_build.gypi third_party/webrtc/modules/video_coding/main/source/video_coding.gypi third_party/webrtc/modules/audio_coding/main/source/audio_coding_module.gypi build/release.gypi peerconnection.gyp build/common.gypi third_party/webrtc/video_engine/video_engine_core.gypi third_party/webrtc/build/arm_neon.gypi third_party/libvpx/libvpx.gyp third_party/webrtc/common_audio/common_audio.gyp third_party/libyuv/libyuv.gyp third_party/webrtc/modules/audio_coding/codecs/isac/main/source/isac.gypi third_party/webrtc/modules/video_processing/main/test/vpm_tests.gypi third_party/webrtc/voice_engine/voice_engine_core.gypi third_party/webrtc/modules/rtp_rtcp/test/testFec/test_fec.gypi third_party/webrtc/modules/video_coding/codecs/tools/video_codecs_tools.gypi third_party/libsrtp/libsrtp.gyp peerconnection_all.gyp third_party/webrtc/modules/audio_coding/codecs/g711/g711.gypi third_party/webrtc/modules/audio_processing/audio_processing_tests.gypi third_party/libvpx/libvpx_srcs_x86.gypi third_party/webrtc/modules/modules.gyp third_party/webrtc/common_audio/signal_processing/signal_processing.gypi third_party/webrtc/video_engine/test/auto_test/vie_auto_test.gypi third_party/libvpx/libvpx_srcs_mips.gypi third_party/webrtc/common_audio/vad/vad.gypi third_party/webrtc/modules/video_coding/codecs/test/video_codecs_test_framework.gypi third_party/webrtc/modules/video_coding/codecs/i420/main/source/i420.gypi third_party/webrtc/modules/audio_coding/codecs/g722/g722.gypi third_party/webrtc/modules/video_coding/codecs/test_framework/test_framework.gypi third_party/webrtc/build/protoc.gypi third_party/protobuf/protobuf.gyp
$(call do_cmd,regen_makefile)
# "all" is a concatenation of the "all" targets from all the included
# sub-makefiles. This is just here to clarify.
all:
# Add in dependency-tracking rules. $(all_deps) is the list of every single
# target in our tree. Only consider the ones with .d (dependency) info:
d_files := $(wildcard $(foreach f,$(all_deps),$(depsdir)/$(f).d))
ifneq ($(d_files),)
include $(d_files)
endif

View File

@ -1,606 +0,0 @@
# When adding a new dependency, please update the top-level .gitignore file
# to list the dependency's destination directory.
vars = {
# Use this googlecode_url variable only if there is an internal mirror for it.
# If you do not know, use the full path while defining your new deps entry.
"googlecode_url": "http://%s.googlecode.com/svn",
"sourceforge_url": "http://%(repo)s.svn.sourceforge.net/svnroot/%(repo)s",
"webkit_trunk": "http://svn.webkit.org/repository/webkit/trunk",
"nacl_trunk": "http://src.chromium.org/native_client/trunk",
"webkit_revision": "126742",
"chromium_git": "http://git.chromium.org/git",
"chromiumos_git": "http://git.chromium.org/chromiumos",
"swig_revision": "69281",
"nacl_revision": "9555",
# After changing nacl_revision, run 'glient sync' and check native_client/DEPS
# to update other nacl_*_revision's.
"nacl_tools_revision": "9330", # native_client/DEPS: tools_rev
"gtm_revision": "534",
"libjingle_revision": "175",
"libphonenumber_revision": "456",
"libvpx_revision": "152423",
"lss_revision": "11",
# These two FFmpeg variables must be updated together. One is used for SVN
# checkouts and the other for Git checkouts.
"ffmpeg_revision": "150165",
"ffmpeg_hash": "2079ffae30f8da6c6eed985cce00e04c31b40888",
"sfntly_revision": "134",
"skia_revision": "5275",
# Three lines of non-changing comments so that
# the commit queue can handle CLs rolling Skia
# and V8 without interference from each other.
"v8_revision": "12377",
"webrtc_revision": "2653",
"jsoncpp_revision": "248",
"nss_revision": "145873",
}
deps = {
"src/breakpad/src":
(Var("googlecode_url") % "google-breakpad") + "/trunk/src@1015",
"src/googleurl":
(Var("googlecode_url") % "google-url") + "/trunk@175",
"src/sandbox/linux/seccomp-legacy":
(Var("googlecode_url") % "seccompsandbox") + "/trunk@187",
"src/sdch/open-vcdiff":
(Var("googlecode_url") % "open-vcdiff") + "/trunk@42",
"src/testing/gtest":
(Var("googlecode_url") % "googletest") + "/trunk@621",
"src/testing/gmock":
(Var("googlecode_url") % "googlemock") + "/trunk@405",
"src/third_party/angle":
(Var("googlecode_url") % "angleproject") + "/trunk@1254",
"src/third_party/trace-viewer":
(Var("googlecode_url") % "trace-viewer") + "/trunk@118",
# Note that this is *not* where we check out WebKit -- this just
# puts some extra files into place for the real WebKit checkout to
# happen. See lines mentioning "webkit_revision" for the real
# WebKit checkout.
"src/third_party/WebKit":
"/trunk/deps/third_party/WebKit@76115",
"src/third_party/icu":
"/trunk/deps/third_party/icu46@149334",
"src/third_party/libexif/sources":
"/trunk/deps/third_party/libexif/sources@146817",
"src/third_party/hunspell":
"/trunk/deps/third_party/hunspell@149334",
"src/third_party/hunspell_dictionaries":
"/trunk/deps/third_party/hunspell_dictionaries@149334",
"src/third_party/safe_browsing/testing":
(Var("googlecode_url") % "google-safe-browsing") + "/trunk/testing@111",
"src/third_party/cacheinvalidation/files/src/google":
(Var("googlecode_url") % "google-cache-invalidation-api") +
"/trunk/src/google@220",
"src/third_party/leveldatabase/src":
(Var("googlecode_url") % "leveldb") + "/trunk@67",
"src/third_party/snappy/src":
(Var("googlecode_url") % "snappy") + "/trunk@63",
"src/tools/grit":
(Var("googlecode_url") % "grit-i18n") + "/trunk@67",
"src/tools/gyp":
(Var("googlecode_url") % "gyp") + "/trunk@1479",
"src/v8":
(Var("googlecode_url") % "v8") + "/trunk@" + Var("v8_revision"),
"src/native_client":
Var("nacl_trunk") + "/src/native_client@" + Var("nacl_revision"),
"src/native_client_sdk/src/site_scons":
Var("nacl_trunk") + "/src/native_client/site_scons@" + Var("nacl_revision"),
"src/third_party/pymox/src":
(Var("googlecode_url") % "pymox") + "/trunk@70",
"src/chrome/test/data/extensions/api_test/permissions/nacl_enabled/bin":
Var("nacl_trunk") + "/src/native_client/tests/prebuilt@" +
Var("nacl_revision"),
"src/third_party/sfntly/cpp/src":
(Var("googlecode_url") % "sfntly") + "/trunk/cpp/src@" +
Var("sfntly_revision"),
"src/third_party/skia/src":
(Var("googlecode_url") % "skia") + "/trunk/src@" + Var("skia_revision"),
"src/third_party/skia/gyp":
(Var("googlecode_url") % "skia") + "/trunk/gyp@" + Var("skia_revision"),
"src/third_party/skia/include":
(Var("googlecode_url") % "skia") + "/trunk/include@" + Var("skia_revision"),
"src/third_party/WebKit/LayoutTests":
Var("webkit_trunk") + "/LayoutTests@" + Var("webkit_revision"),
"src/third_party/WebKit/Source":
Var("webkit_trunk") + "/Source@" + Var("webkit_revision"),
"src/third_party/WebKit/Tools/DumpRenderTree":
Var("webkit_trunk") + "/Tools/DumpRenderTree@" + Var("webkit_revision"),
"src/third_party/WebKit/Tools/Scripts":
Var("webkit_trunk") + "/Tools/Scripts@" + Var("webkit_revision"),
"src/third_party/WebKit/Tools/TestWebKitAPI":
Var("webkit_trunk") + "/Tools/TestWebKitAPI@" + Var("webkit_revision"),
"src/third_party/ots":
(Var("googlecode_url") % "ots") + "/trunk@94",
"src/tools/page_cycler/acid3":
"/trunk/deps/page_cycler/acid3@150075",
"src/chrome/test/data/perf/canvas_bench":
"/trunk/deps/canvas_bench@122605",
"src/chrome/test/data/perf/frame_rate/content":
"/trunk/deps/frame_rate/content@93671",
"src/third_party/bidichecker":
(Var("googlecode_url") % "bidichecker") + "/trunk/lib@4",
"src/third_party/v8-i18n":
(Var("googlecode_url") % "v8-i18n") + "/trunk@117",
# When roll to another webgl conformance tests revision, please goto
# chrome/test/gpu and run generate_webgl_conformance_test_list.py.
"src/third_party/webgl_conformance":
"/trunk/deps/third_party/webgl/sdk/tests@148561",
# We run these layout tests as UI tests. Since many of the buildbots that
# run layout tests do NOT have access to the LayoutTest directory, we need
# to map them here. In practice, these do not take up much space.
"src/content/test/data/layout_tests/LayoutTests/fast/events":
Var("webkit_trunk") + "/LayoutTests/fast/events@" +
Var("webkit_revision"),
"src/content/test/data/layout_tests/LayoutTests/fast/js/resources":
Var("webkit_trunk") + "/LayoutTests/fast/js/resources@" +
Var("webkit_revision"),
"src/content/test/data/layout_tests/LayoutTests/fast/workers":
Var("webkit_trunk") + "/LayoutTests/fast/workers@" +
Var("webkit_revision"),
"src/content/test/data/layout_tests/LayoutTests/http/tests/resources":
Var("webkit_trunk") + "/LayoutTests/http/tests/resources@" +
Var("webkit_revision"),
"src/content/test/data/layout_tests/LayoutTests/http/tests/workers":
Var("webkit_trunk") + "/LayoutTests/http/tests/workers@" +
Var("webkit_revision"),
"src/content/test/data/layout_tests/LayoutTests/http/tests/xmlhttprequest":
Var("webkit_trunk") + "/LayoutTests/http/tests/xmlhttprequest@" +
Var("webkit_revision"),
"src/content/test/data/layout_tests/LayoutTests/http/tests/websocket/tests":
Var("webkit_trunk") + "/LayoutTests/http/tests/websocket/tests@" +
Var("webkit_revision"),
"src/content/test/data/layout_tests/LayoutTests/platform/chromium/fast/workers":
Var("webkit_trunk") + "/LayoutTests/platform/chromium/fast/workers@" +
Var("webkit_revision"),
"src/content/test/data/layout_tests/LayoutTests/platform/chromium/fast/events":
Var("webkit_trunk") + "/LayoutTests/platform/chromium/fast/events@" +
Var("webkit_revision"),
"src/content/test/data/layout_tests/LayoutTests/platform/chromium-win/fast/events":
Var("webkit_trunk") + "/LayoutTests/platform/chromium-win/fast/events@" +
Var("webkit_revision"),
"src/content/test/data/layout_tests/LayoutTests/platform/chromium-win/fast/workers":
Var("webkit_trunk") + "/LayoutTests/platform/chromium-win/fast/workers@" +
Var("webkit_revision"),
"src/content/test/data/layout_tests/LayoutTests/http/tests/appcache":
Var("webkit_trunk") + "/LayoutTests/http/tests/appcache@" +
Var("webkit_revision"),
"src/content/test/data/layout_tests/LayoutTests/platform/chromium-win/http/tests/workers":
Var("webkit_trunk") + "/LayoutTests/platform/chromium-win/http/tests/workers@" +
Var("webkit_revision"),
"src/content/test/data/layout_tests/LayoutTests/platform/chromium-win/storage/domstorage":
Var("webkit_trunk") + "/LayoutTests/platform/chromium-win/storage/domstorage@" +
Var("webkit_revision"),
"src/content/test/data/layout_tests/LayoutTests/storage/domstorage":
Var("webkit_trunk") + "/LayoutTests/storage/domstorage@" +
Var("webkit_revision"),
"src/content/test/data/layout_tests/LayoutTests/storage/indexeddb":
Var("webkit_trunk") + "/LayoutTests/storage/indexeddb@" +
Var("webkit_revision"),
"src/content/test/data/layout_tests/LayoutTests/fast/filesystem/resources":
Var("webkit_trunk") + "/LayoutTests/fast/filesystem/resources@" +
Var("webkit_revision"),
"src/content/test/data/layout_tests/LayoutTests/media":
Var("webkit_trunk") + "/LayoutTests/media@" +
Var("webkit_revision"),
"src/third_party/swig/Lib":
"/trunk/deps/third_party/swig/Lib@" + Var("swig_revision"),
# Make sure you update the two functional.DEPS and webdriver.DEPS too.
"src/third_party/webdriver/pylib":
(Var("googlecode_url") % "selenium") + "/trunk/py@16922",
"src/third_party/libvpx":
"/trunk/deps/third_party/libvpx@" +
Var("libvpx_revision"),
"src/third_party/ffmpeg":
"/trunk/deps/third_party/ffmpeg@" +
Var("ffmpeg_revision"),
"src/third_party/libjingle/source":
(Var("googlecode_url") % "libjingle") + "/trunk@" +
Var("libjingle_revision"),
"src/third_party/libsrtp":
"/trunk/deps/third_party/libsrtp@123853",
"src/third_party/speex":
"/trunk/deps/third_party/speex@149334",
"src/third_party/yasm/source/patched-yasm":
"/trunk/deps/third_party/yasm/patched-yasm@134927",
"src/third_party/libjpeg_turbo":
"/trunk/deps/third_party/libjpeg_turbo@149334",
"src/third_party/flac":
"/trunk/deps/third_party/flac@149334",
"src/third_party/pyftpdlib/src":
(Var("googlecode_url") % "pyftpdlib") + "/trunk@977",
"src/third_party/scons-2.0.1":
Var("nacl_trunk") + "/src/third_party/scons-2.0.1@" +
Var("nacl_tools_revision"),
"src/third_party/webrtc":
(Var("googlecode_url") % "webrtc") + "/stable/src@" + Var("webrtc_revision"),
"src/third_party/jsoncpp/source/include":
(Var("sourceforge_url") % {"repo": "jsoncpp"}) +
"/trunk/jsoncpp/include@" + Var("jsoncpp_revision"),
"src/third_party/jsoncpp/source/src/lib_json":
(Var("sourceforge_url") % {"repo": "jsoncpp"}) +
"/trunk/jsoncpp/src/lib_json@" + Var("jsoncpp_revision"),
"src/third_party/libyuv":
(Var("googlecode_url") % "libyuv") + "/trunk@319",
"src/third_party/mozc/session":
(Var("googlecode_url") % "mozc") + "/trunk/src/session@83",
"src/third_party/mozc/chrome/chromeos/renderer":
(Var("googlecode_url") % "mozc") + "/trunk/src/chrome/chromeos/renderer@83",
"src/third_party/smhasher/src":
(Var("googlecode_url") % "smhasher") + "/trunk@146",
"src/third_party/libphonenumber/src/phonenumbers":
(Var("googlecode_url") % "libphonenumber") +
"/trunk/cpp/src/phonenumbers@" + Var("libphonenumber_revision"),
"src/third_party/libphonenumber/src/test":
(Var("googlecode_url") % "libphonenumber") + "/trunk/cpp/test@" +
Var("libphonenumber_revision"),
"src/third_party/libphonenumber/src/resources":
(Var("googlecode_url") % "libphonenumber") + "/trunk/resources@" +
Var("libphonenumber_revision"),
"src/third_party/undoview":
"/trunk/deps/third_party/undoview@119694",
"src/tools/deps2git":
"/trunk/tools/deps2git@148781",
"src/third_party/webpagereplay":
(Var("googlecode_url") % "web-page-replay") + "/trunk@489",
"src/third_party/pywebsocket/src":
(Var("googlecode_url") % "pywebsocket") + "/trunk/src@658",
}
deps_os = {
"win": {
"src/chrome/tools/test/reference_build/chrome_win":
"/trunk/deps/reference_builds/chrome_win@137747",
"src/third_party/cygwin":
"/trunk/deps/third_party/cygwin@133786",
"src/third_party/python_26":
"/trunk/tools/third_party/python_26@89111",
"src/third_party/psyco_win32":
"/trunk/deps/third_party/psyco_win32@79861",
"src/third_party/bison":
"/trunk/deps/third_party/bison@147303",
"src/third_party/gperf":
"/trunk/deps/third_party/gperf@147304",
"src/third_party/perl":
"/trunk/deps/third_party/perl@147900",
"src/third_party/lighttpd":
"/trunk/deps/third_party/lighttpd@33727",
# Chrome Frame related deps
"src/third_party/xulrunner-sdk":
"/trunk/deps/third_party/xulrunner-sdk@119756",
"src/chrome_frame/tools/test/reference_build/chrome_win":
"/trunk/deps/reference_builds/chrome_win@89574",
# Parses Windows PE/COFF executable format.
"src/third_party/pefile":
(Var("googlecode_url") % "pefile") + "/trunk@63",
# NSS, for SSLClientSocketNSS.
"src/third_party/nss":
"/trunk/deps/third_party/nss@" + Var("nss_revision"),
"src/third_party/swig/win":
"/trunk/deps/third_party/swig/win@" + Var("swig_revision"),
# GNU binutils assembler for x86-32.
"src/third_party/gnu_binutils":
(Var("nacl_trunk") + "/deps/third_party/gnu_binutils@" +
Var("nacl_tools_revision")),
# GNU binutils assembler for x86-64.
"src/third_party/mingw-w64/mingw/bin":
(Var("nacl_trunk") + "/deps/third_party/mingw-w64/mingw/bin@" +
Var("nacl_tools_revision")),
# Dependencies used by libjpeg-turbo
"src/third_party/yasm/binaries":
"/trunk/deps/third_party/yasm/binaries@74228",
# Binary level profile guided optimizations. This points to the
# latest release binaries for the toolchain.
"src/third_party/syzygy/binaries":
(Var("googlecode_url") % "sawbuck") + "/trunk/syzygy/binaries@991",
# Binaries for nacl sdk.
"src/third_party/nacl_sdk_binaries":
"/trunk/deps/third_party/nacl_sdk_binaries@111576",
},
"ios": {
"src/third_party/GTM":
(Var("googlecode_url") % "google-toolbox-for-mac") + "/trunk@" +
Var("gtm_revision"),
"src/third_party/nss":
"/trunk/deps/third_party/nss@" + Var("nss_revision"),
# class-dump utility to generate header files for undocumented SDKs
"src/testing/iossim/third_party/class-dump":
"/trunk/deps/third_party/class-dump@147231",
# Code that's not needed due to not building everything (especially WebKit).
"src/build/util/support": None,
"src/chrome/test/data/extensions/api_test/permissions/nacl_enabled/bin": None,
"src/content/test/data/layout_tests/LayoutTests/fast/events": None,
"src/content/test/data/layout_tests/LayoutTests/fast/filesystem/resources": None,
"src/content/test/data/layout_tests/LayoutTests/fast/js/resources": None,
"src/content/test/data/layout_tests/LayoutTests/fast/workers": None,
"src/content/test/data/layout_tests/LayoutTests/http/tests/appcache": None,
"src/content/test/data/layout_tests/LayoutTests/http/tests/resources": None,
"src/content/test/data/layout_tests/LayoutTests/http/tests/websocket/tests": None,
"src/content/test/data/layout_tests/LayoutTests/http/tests/workers": None,
"src/content/test/data/layout_tests/LayoutTests/http/tests/xmlhttprequest": None,
"src/content/test/data/layout_tests/LayoutTests/media": None,
"src/content/test/data/layout_tests/LayoutTests/platform/chromium-win/fast/events": None,
"src/content/test/data/layout_tests/LayoutTests/platform/chromium-win/fast/workers": None,
"src/content/test/data/layout_tests/LayoutTests/platform/chromium-win/http/tests/workers": None,
"src/content/test/data/layout_tests/LayoutTests/platform/chromium-win/storage/domstorage": None,
"src/content/test/data/layout_tests/LayoutTests/platform/chromium/fast/events": None,
"src/content/test/data/layout_tests/LayoutTests/platform/chromium/fast/workers": None,
"src/content/test/data/layout_tests/LayoutTests/storage/indexeddb": None,
"src/content/test/data/layout_tests/LayoutTests/storage/domstorage": None,
"src/chrome/test/data/perf/canvas_bench": None,
"src/chrome/test/data/perf/frame_rate/content": None,
"src/native_client": None,
"src/native_client/src/third_party/ppapi": None,
"src/native_client_sdk/src/site_scons": None,
"src/sandbox/linux/seccomp-legacy": None,
"src/third_party/angle": None,
"src/third_party/bidichecker": None,
"src/third_party/webgl_conformance": None,
"src/third_party/ffmpeg": None,
"src/third_party/hunspell_dictionaries": None,
"src/third_party/hunspell": None,
"src/third_party/leveldatabase/src": None,
"src/third_party/libexif/sources": None,
"src/third_party/libjingle/source": None,
"src/third_party/libjpeg_turbo": None,
"src/third_party/libphonenumber/src/phonenumbers": None,
"src/third_party/libphonenumber/src/test": None,
"src/third_party/libphonenumber/src/resources": None,
"src/third_party/jsoncpp/source/include": None,
"src/third_party/jsoncpp/source/src/lib_json": None,
"src/third_party/libsrtp": None,
"src/third_party/libvpx": None,
"src/third_party/libyuv": None,
"src/third_party/mozc/session": None,
"src/third_party/mozc/chrome/chromeos/renderer": None,
"src/third_party/ots": None,
"src/third_party/pylib": None,
"src/third_party/pymox/src": None,
"src/third_party/safe_browsing/testing": None,
"src/third_party/scons-2.0.1": None,
"src/third_party/sfntly/cpp/src": None,
"src/third_party/skia/src": None,
"src/third_party/smhasher/src": None,
"src/third_party/snappy/src": None,
"src/third_party/swig/Lib": None,
"src/third_party/undoview": None,
"src/third_party/v8-i18n": None,
"src/third_party/webdriver/pylib": None,
"src/third_party/webpagereplay": None,
"src/third_party/webrtc": None,
"src/third_party/WebKit": None,
"src/third_party/WebKit/LayoutTests": None,
"src/third_party/WebKit/Source": None,
"src/third_party/WebKit/Tools/DumpRenderTree": None,
"src/third_party/WebKit/Tools/Scripts": None,
"src/third_party/WebKit/Tools/TestWebKitAPI": None,
"src/third_party/yasm/source/patched-yasm": None,
"src/tools/page_cycler/acid3": None,
"src/v8": None,
},
"mac": {
"src/chrome/tools/test/reference_build/chrome_mac":
"/trunk/deps/reference_builds/chrome_mac@137727",
"src/third_party/GTM":
(Var("googlecode_url") % "google-toolbox-for-mac") + "/trunk@" +
Var("gtm_revision"),
"src/third_party/pdfsqueeze":
(Var("googlecode_url") % "pdfsqueeze") + "/trunk@5",
"src/third_party/lighttpd":
"/trunk/deps/third_party/lighttpd@33737",
"src/third_party/swig/mac":
"/trunk/deps/third_party/swig/mac@" + Var("swig_revision"),
# NSS, for SSLClientSocketNSS.
"src/third_party/nss":
"/trunk/deps/third_party/nss@" + Var("nss_revision"),
"src/chrome/installer/mac/third_party/xz/xz":
"/trunk/deps/third_party/xz@87706",
},
"unix": {
# Linux, really.
"src/chrome/tools/test/reference_build/chrome_linux":
"/trunk/deps/reference_builds/chrome_linux@137712",
"src/third_party/xdg-utils":
"/trunk/deps/third_party/xdg-utils@149334",
"src/third_party/swig/linux":
"/trunk/deps/third_party/swig/linux@" + Var("swig_revision"),
"src/third_party/lss":
((Var("googlecode_url") % "linux-syscall-support") + "/trunk/lss@" +
Var("lss_revision")),
"src/third_party/openssl":
"/trunk/deps/third_party/openssl@151890",
"src/third_party/WebKit/Tools/gdb":
Var("webkit_trunk") + "/Tools/gdb@" + Var("webkit_revision"),
"src/third_party/gold":
"/trunk/deps/third_party/gold@149858",
"src/third_party/libmtp":
"/trunk/deps/third_party/libmtp@149713",
# For Chromium OS.
"src/third_party/cros_system_api":
Var("chromiumos_git") + "/platform/system_api.git" +
"@aa39870b5d3e6d5305ba1ee200823460bf0a47e6",
},
"android": {
"src/third_party/freetype":
Var("chromium_git") + "/chromium/src/third_party/freetype.git" +
"@41c2c4116acca09389cc5fe2ea393eaada546422",
"src/third_party/aosp":
"/trunk/deps/third_party/aosp@148330",
"src/third_party/android_tools":
Var("chromium_git") + "/android_tools.git" +
"@470254c5379907d6a71f8885ee2d8c616fa0b191",
},
}
include_rules = [
# Everybody can use some things.
"+base",
"+build",
"+googleurl",
"+ipc",
# For now, we allow ICU to be included by specifying "unicode/...", although
# this should probably change.
"+unicode",
"+testing",
]
# checkdeps.py shouldn't check include paths for files in these dirs:
skip_child_includes = [
"breakpad",
"chrome_frame",
"delegate_execute",
"metro_driver",
"native_client_sdk",
"o3d",
"pdf",
"sdch",
"skia",
"testing",
"third_party",
"v8",
]
hooks = [
{
# This downloads binaries for Native Client's newlib toolchain.
# Done in lieu of building the toolchain from scratch as it can take
# anywhere from 30 minutes to 4 hours depending on platform to build.
"pattern": ".",
"action": [
"python", "src/build/download_nacl_toolchains.py",
"--no-arm-trusted",
"--optional-pnacl",
"--save-downloads-dir",
"src/native_client_sdk/src/build_tools/toolchain_archives",
"--keep",
],
},
{
# Pull clang on mac. If nothing changed, or on non-mac platforms, this takes
# zero seconds to run. If something changed, it downloads a prebuilt clang,
# which takes ~20s, but clang speeds up builds by more than 20s.
"pattern": ".",
"action": ["python", "src/tools/clang/scripts/update.py", "--mac-only"],
},
{
# Update the cygwin mount on Windows.
"pattern": ".",
"action": ["python", "src/build/win/setup_cygwin_mount.py", "--win-only"],
},
{
# Update LASTCHANGE. This is also run by export_tarball.py in
# src/tools/export_tarball - please keep them in sync.
"pattern": ".",
"action": ["python", "src/build/util/lastchange.py",
"-o", "src/build/util/LASTCHANGE"],
},
{
# A change to a .gyp, .gypi, or to GYP itself should run the generator.
"pattern": ".",
"action": ["python", "src/build/gyp_chromium"],
},
]

View File

View File

@ -1,20 +0,0 @@
#!/usr/bin/env python
# Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
"""google_api's auto-internal gyp integration.
Takes one argument, a path. Prints 1 if the path exists, 0 if not.
"""
import os
import sys
if __name__ == '__main__':
if os.path.exists(sys.argv[1]):
print 1
else:
print 0

View File

@ -1,6 +0,0 @@
# This file is generated by gyp; do not edit.
export builddir_name ?= trunk/out
.PHONY: all
all:
$(MAKE) peerconnection_client

View File

@ -1,281 +0,0 @@
# This file is generated by gyp; do not edit.
TOOLSET := target
TARGET := peerconnection_client
DEFS_Debug := \
'-DWEBRTC_SVNREVISION="Unavailable_issue687"' \
'-D_FILE_OFFSET_BITS=64' \
'-DCHROMIUM_BUILD' \
'-DUSE_LIBJPEG_TURBO=1' \
'-DENABLE_ONE_CLICK_SIGNIN' \
'-DGTK_DISABLE_SINGLE_INCLUDES=1' \
'-DENABLE_REMOTING=1' \
'-DENABLE_WEBRTC=1' \
'-DENABLE_CONFIGURATION_POLICY' \
'-DENABLE_INPUT_SPEECH' \
'-DENABLE_NOTIFICATIONS' \
'-DENABLE_GPU=1' \
'-DUSE_OPENSSL=1' \
'-DENABLE_EGLIMAGE=1' \
'-DUSE_SKIA=1' \
'-DENABLE_TASK_MANAGER=1' \
'-DENABLE_WEB_INTENTS=1' \
'-DENABLE_EXTENSIONS=1' \
'-DENABLE_PLUGIN_INSTALLATION=1' \
'-DENABLE_PROTECTOR_SERVICE=1' \
'-DENABLE_SESSION_SERVICE=1' \
'-DENABLE_THEMES=1' \
'-DENABLE_BACKGROUND=1' \
'-DENABLE_AUTOMATION=1' \
'-DENABLE_PRINTING=1' \
'-DENABLE_CAPTIVE_PORTAL_DETECTION=1' \
'-DWEBRTC_CHROMIUM_BUILD' \
'-DWEBRTC_LINUX' \
'-DWEBRTC_THREAD_RR' \
'-DFEATURE_ENABLE_SSL' \
'-DFEATURE_ENABLE_VOICEMAIL' \
'-DEXPAT_RELATIVE_PATH' \
'-DGTEST_RELATIVE_PATH' \
'-DJSONCPP_RELATIVE_PATH' \
'-DNO_MAIN_THREAD_WRAPPING' \
'-DNO_SOUND_SYSTEM' \
'-DLINUX' \
'-DPOSIX' \
'-D__STDC_FORMAT_MACROS' \
'-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
'-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
'-D_DEBUG'
# Flags passed to all source files.
CFLAGS_Debug := \
-Werror \
-pthread \
-fno-exceptions \
-fno-strict-aliasing \
-Wall \
-Wno-unused-parameter \
-Wno-missing-field-initializers \
-fvisibility=hidden \
-pipe \
-fPIC \
-pthread \
-I/usr/include/gtk-2.0 \
-I/usr/lib64/gtk-2.0/include \
-I/usr/include/atk-1.0 \
-I/usr/include/cairo \
-I/usr/include/gdk-pixbuf-2.0 \
-I/usr/include/pango-1.0 \
-I/usr/include/glib-2.0 \
-I/usr/lib64/glib-2.0/include \
-I/usr/include/pixman-1 \
-I/usr/include/freetype2 \
-I/usr/include/libpng15 \
-O0 \
-g
# Flags passed to only C files.
CFLAGS_C_Debug :=
# Flags passed to only C++ files.
CFLAGS_CC_Debug := \
-fno-rtti \
-fno-threadsafe-statics \
-fvisibility-inlines-hidden \
-Wsign-compare
INCS_Debug := \
-Ithird_party/webrtc \
-Ithird_party \
-Ithird_party/libjingle/source \
-Ithird_party/jsoncpp/overrides/include \
-Ithird_party/jsoncpp/source/include \
-Ithird_party/libjingle/overrides \
-Itesting/gtest/include
DEFS_Release := \
'-DWEBRTC_SVNREVISION="Unavailable_issue687"' \
'-D_FILE_OFFSET_BITS=64' \
'-DCHROMIUM_BUILD' \
'-DUSE_LIBJPEG_TURBO=1' \
'-DENABLE_ONE_CLICK_SIGNIN' \
'-DGTK_DISABLE_SINGLE_INCLUDES=1' \
'-DENABLE_REMOTING=1' \
'-DENABLE_WEBRTC=1' \
'-DENABLE_CONFIGURATION_POLICY' \
'-DENABLE_INPUT_SPEECH' \
'-DENABLE_NOTIFICATIONS' \
'-DENABLE_GPU=1' \
'-DUSE_OPENSSL=1' \
'-DENABLE_EGLIMAGE=1' \
'-DUSE_SKIA=1' \
'-DENABLE_TASK_MANAGER=1' \
'-DENABLE_WEB_INTENTS=1' \
'-DENABLE_EXTENSIONS=1' \
'-DENABLE_PLUGIN_INSTALLATION=1' \
'-DENABLE_PROTECTOR_SERVICE=1' \
'-DENABLE_SESSION_SERVICE=1' \
'-DENABLE_THEMES=1' \
'-DENABLE_BACKGROUND=1' \
'-DENABLE_AUTOMATION=1' \
'-DENABLE_PRINTING=1' \
'-DENABLE_CAPTIVE_PORTAL_DETECTION=1' \
'-DWEBRTC_CHROMIUM_BUILD' \
'-DWEBRTC_LINUX' \
'-DWEBRTC_THREAD_RR' \
'-DFEATURE_ENABLE_SSL' \
'-DFEATURE_ENABLE_VOICEMAIL' \
'-DEXPAT_RELATIVE_PATH' \
'-DGTEST_RELATIVE_PATH' \
'-DJSONCPP_RELATIVE_PATH' \
'-DNO_MAIN_THREAD_WRAPPING' \
'-DNO_SOUND_SYSTEM' \
'-DLINUX' \
'-DPOSIX' \
'-D__STDC_FORMAT_MACROS' \
'-DNDEBUG' \
'-DNVALGRIND' \
'-DDYNAMIC_ANNOTATIONS_ENABLED=0'
# Flags passed to all source files.
CFLAGS_Release := \
-Werror \
-pthread \
-fno-exceptions \
-fno-strict-aliasing \
-Wall \
-Wno-unused-parameter \
-Wno-missing-field-initializers \
-fvisibility=hidden \
-pipe \
-fPIC \
-pthread \
-I/usr/include/gtk-2.0 \
-I/usr/lib64/gtk-2.0/include \
-I/usr/include/atk-1.0 \
-I/usr/include/cairo \
-I/usr/include/gdk-pixbuf-2.0 \
-I/usr/include/pango-1.0 \
-I/usr/include/glib-2.0 \
-I/usr/lib64/glib-2.0/include \
-I/usr/include/pixman-1 \
-I/usr/include/freetype2 \
-I/usr/include/libpng15 \
-O2 \
-fno-ident \
-fdata-sections \
-ffunction-sections
# Flags passed to only C files.
CFLAGS_C_Release :=
# Flags passed to only C++ files.
CFLAGS_CC_Release := \
-fno-rtti \
-fno-threadsafe-statics \
-fvisibility-inlines-hidden \
-Wsign-compare
INCS_Release := \
-Ithird_party/webrtc \
-Ithird_party \
-Ithird_party/libjingle/source \
-Ithird_party/jsoncpp/overrides/include \
-Ithird_party/jsoncpp/source/include \
-Ithird_party/libjingle/overrides \
-Itesting/gtest/include
OBJS := \
$(obj).target/$(TARGET)/third_party/libjingle/source/talk/examples/peerconnection/client/conductor.o \
$(obj).target/$(TARGET)/third_party/libjingle/source/talk/examples/peerconnection/client/defaults.o \
$(obj).target/$(TARGET)/third_party/libjingle/source/talk/examples/peerconnection/client/linux/main.o \
$(obj).target/$(TARGET)/third_party/libjingle/source/talk/examples/peerconnection/client/linux/main_wnd.o \
$(obj).target/$(TARGET)/third_party/libjingle/source/talk/examples/peerconnection/client/peer_connection_client.o
# Add to the list of files we specially track dependencies for.
all_deps += $(OBJS)
# Make sure our dependencies are built before any of us.
$(OBJS): | $(obj).target/third_party/jsoncpp/libjsoncpp.a $(obj).target/third_party/libjingle/libjingle_peerconnection.a $(obj).target/base/base.stamp $(obj).target/net/net.stamp $(obj).target/third_party/expat/expat.stamp $(obj).target/third_party/libsrtp/libsrtp.a $(obj).target/third_party/webrtc/modules/libvideo_capture_module.a $(obj).target/third_party/webrtc/modules/libwebrtc_utility.a $(obj).target/third_party/webrtc/modules/libaudio_coding_module.a $(obj).target/third_party/webrtc/modules/libCNG.a $(obj).target/third_party/webrtc/common_audio/libsignal_processing.a $(obj).target/third_party/webrtc/system_wrappers/source/libsystem_wrappers.a $(obj).target/third_party/webrtc/modules/libG711.a $(obj).target/third_party/webrtc/modules/libG722.a $(obj).target/third_party/webrtc/modules/libiLBC.a $(obj).target/third_party/webrtc/modules/libiSAC.a $(obj).target/third_party/webrtc/modules/libiSACFix.a $(obj).target/third_party/webrtc/modules/libPCM16B.a $(obj).target/third_party/webrtc/modules/libNetEq.a $(obj).target/third_party/webrtc/common_audio/libresampler.a $(obj).target/third_party/webrtc/common_audio/libvad.a $(obj).target/third_party/webrtc/modules/libwebrtc_video_coding.a $(obj).target/third_party/webrtc/modules/libwebrtc_i420.a $(obj).target/third_party/webrtc/common_video/libcommon_video.a $(obj).target/third_party/libjpeg_turbo/libjpeg_turbo.a $(obj).target/third_party/libyuv/libyuv.a $(obj).target/third_party/webrtc/modules/video_coding/codecs/vp8/libwebrtc_vp8.a $(obj).target/third_party/libvpx/libvpx.a $(obj).target/third_party/libvpx/gen_asm_offsets.stamp $(obj).target/third_party/libvpx/libvpx_asm_offsets.a $(obj).target/third_party/webrtc/modules/libvideo_render_module.a $(obj).target/third_party/webrtc/video_engine/libvideo_engine_core.a $(obj).target/third_party/webrtc/modules/libmedia_file.a $(obj).target/third_party/webrtc/modules/librtp_rtcp.a $(obj).target/third_party/webrtc/modules/libremote_bitrate_estimator.a $(obj).target/third_party/webrtc/modules/libudp_transport.a $(obj).target/third_party/webrtc/modules/libbitrate_controller.a $(obj).target/third_party/webrtc/modules/libvideo_processing.a $(obj).target/third_party/webrtc/modules/libvideo_processing_sse2.a $(obj).target/third_party/webrtc/voice_engine/libvoice_engine_core.a $(obj).target/third_party/webrtc/modules/libaudio_conference_mixer.a $(obj).target/third_party/webrtc/modules/libaudio_processing.a $(obj).target/third_party/webrtc/modules/libaudioproc_debug_proto.a $(obj).target/third_party/protobuf/libprotobuf_lite.a $(obj).target/third_party/webrtc/modules/libaudio_processing_sse2.a $(obj).target/third_party/webrtc/modules/libaudio_device.a $(obj).target/third_party/libjingle/libjingle.a $(obj).target/third_party/libjingle/libjingle_p2p.a
# CFLAGS et al overrides must be target-local.
# See "Target-specific Variable Values" in the GNU Make manual.
$(OBJS): TOOLSET := $(TOOLSET)
$(OBJS): GYP_CFLAGS := $(DEFS_$(BUILDTYPE)) $(INCS_$(BUILDTYPE)) $(CFLAGS_$(BUILDTYPE)) $(CFLAGS_C_$(BUILDTYPE))
$(OBJS): GYP_CXXFLAGS := $(DEFS_$(BUILDTYPE)) $(INCS_$(BUILDTYPE)) $(CFLAGS_$(BUILDTYPE)) $(CFLAGS_CC_$(BUILDTYPE))
# Suffix rules, putting all outputs into $(obj).
$(obj).$(TOOLSET)/$(TARGET)/%.o: $(srcdir)/%.cc FORCE_DO_CMD
@$(call do_cmd,cxx,1)
# Try building from generated source, too.
$(obj).$(TOOLSET)/$(TARGET)/%.o: $(obj).$(TOOLSET)/%.cc FORCE_DO_CMD
@$(call do_cmd,cxx,1)
$(obj).$(TOOLSET)/$(TARGET)/%.o: $(obj)/%.cc FORCE_DO_CMD
@$(call do_cmd,cxx,1)
# End of this set of suffix rules
### Rules for final target.
LDFLAGS_Debug := \
-pthread \
-Wl,-z,noexecstack \
-fPIC \
-Wl,--threads \
-Wl,--thread-count=4 \
-B$(builddir)/../../third_party/gold \
-Wl,--icf=none
LDFLAGS_Release := \
-pthread \
-Wl,-z,noexecstack \
-fPIC \
-Wl,--threads \
-Wl,--thread-count=4 \
-B$(builddir)/../../third_party/gold \
-Wl,--icf=none \
-Wl,-O1 \
-Wl,--as-needed \
-Wl,--gc-sections
LIBS := \
\
-lgtk-x11-2.0 \
-lgdk-x11-2.0 \
-latk-1.0 \
-lgio-2.0 \
-lpangoft2-1.0 \
-lpangocairo-1.0 \
-lgdk_pixbuf-2.0 \
-lcairo \
-lpango-1.0 \
-lfreetype \
-lfontconfig \
-lgobject-2.0 \
-lgthread-2.0 \
-lrt \
-lglib-2.0 \
-lX11 \
-lXcomposite \
-lXext \
-lXrender \
-lexpat \
-ldl
$(builddir)/peerconnection_client: GYP_LDFLAGS := $(LDFLAGS_$(BUILDTYPE))
$(builddir)/peerconnection_client: LIBS := $(LIBS)
$(builddir)/peerconnection_client: LD_INPUTS := $(OBJS) $(obj).target/third_party/jsoncpp/libjsoncpp.a $(obj).target/third_party/libjingle/libjingle_peerconnection.a $(obj).target/third_party/libsrtp/libsrtp.a $(obj).target/third_party/webrtc/modules/libvideo_capture_module.a $(obj).target/third_party/webrtc/modules/libwebrtc_utility.a $(obj).target/third_party/webrtc/modules/libaudio_coding_module.a $(obj).target/third_party/webrtc/modules/libCNG.a $(obj).target/third_party/webrtc/common_audio/libsignal_processing.a $(obj).target/third_party/webrtc/system_wrappers/source/libsystem_wrappers.a $(obj).target/third_party/webrtc/modules/libG711.a $(obj).target/third_party/webrtc/modules/libG722.a $(obj).target/third_party/webrtc/modules/libiLBC.a $(obj).target/third_party/webrtc/modules/libiSAC.a $(obj).target/third_party/webrtc/modules/libiSACFix.a $(obj).target/third_party/webrtc/modules/libPCM16B.a $(obj).target/third_party/webrtc/modules/libNetEq.a $(obj).target/third_party/webrtc/common_audio/libresampler.a $(obj).target/third_party/webrtc/common_audio/libvad.a $(obj).target/third_party/webrtc/modules/libwebrtc_video_coding.a $(obj).target/third_party/webrtc/modules/libwebrtc_i420.a $(obj).target/third_party/webrtc/common_video/libcommon_video.a $(obj).target/third_party/libjpeg_turbo/libjpeg_turbo.a $(obj).target/third_party/libyuv/libyuv.a $(obj).target/third_party/webrtc/modules/video_coding/codecs/vp8/libwebrtc_vp8.a $(obj).target/third_party/libvpx/libvpx.a $(obj).target/third_party/libvpx/libvpx_asm_offsets.a $(obj).target/third_party/webrtc/modules/libvideo_render_module.a $(obj).target/third_party/webrtc/video_engine/libvideo_engine_core.a $(obj).target/third_party/webrtc/modules/libmedia_file.a $(obj).target/third_party/webrtc/modules/librtp_rtcp.a $(obj).target/third_party/webrtc/modules/libremote_bitrate_estimator.a $(obj).target/third_party/webrtc/modules/libudp_transport.a $(obj).target/third_party/webrtc/modules/libbitrate_controller.a $(obj).target/third_party/webrtc/modules/libvideo_processing.a $(obj).target/third_party/webrtc/modules/libvideo_processing_sse2.a $(obj).target/third_party/webrtc/voice_engine/libvoice_engine_core.a $(obj).target/third_party/webrtc/modules/libaudio_conference_mixer.a $(obj).target/third_party/webrtc/modules/libaudio_processing.a $(obj).target/third_party/webrtc/modules/libaudioproc_debug_proto.a $(obj).target/third_party/protobuf/libprotobuf_lite.a $(obj).target/third_party/webrtc/modules/libaudio_processing_sse2.a $(obj).target/third_party/webrtc/modules/libaudio_device.a $(obj).target/third_party/libjingle/libjingle.a $(obj).target/third_party/libjingle/libjingle_p2p.a
$(builddir)/peerconnection_client: TOOLSET := $(TOOLSET)
$(builddir)/peerconnection_client: $(OBJS) $(obj).target/third_party/jsoncpp/libjsoncpp.a $(obj).target/third_party/libjingle/libjingle_peerconnection.a $(obj).target/third_party/libsrtp/libsrtp.a $(obj).target/third_party/webrtc/modules/libvideo_capture_module.a $(obj).target/third_party/webrtc/modules/libwebrtc_utility.a $(obj).target/third_party/webrtc/modules/libaudio_coding_module.a $(obj).target/third_party/webrtc/modules/libCNG.a $(obj).target/third_party/webrtc/common_audio/libsignal_processing.a $(obj).target/third_party/webrtc/system_wrappers/source/libsystem_wrappers.a $(obj).target/third_party/webrtc/modules/libG711.a $(obj).target/third_party/webrtc/modules/libG722.a $(obj).target/third_party/webrtc/modules/libiLBC.a $(obj).target/third_party/webrtc/modules/libiSAC.a $(obj).target/third_party/webrtc/modules/libiSACFix.a $(obj).target/third_party/webrtc/modules/libPCM16B.a $(obj).target/third_party/webrtc/modules/libNetEq.a $(obj).target/third_party/webrtc/common_audio/libresampler.a $(obj).target/third_party/webrtc/common_audio/libvad.a $(obj).target/third_party/webrtc/modules/libwebrtc_video_coding.a $(obj).target/third_party/webrtc/modules/libwebrtc_i420.a $(obj).target/third_party/webrtc/common_video/libcommon_video.a $(obj).target/third_party/libjpeg_turbo/libjpeg_turbo.a $(obj).target/third_party/libyuv/libyuv.a $(obj).target/third_party/webrtc/modules/video_coding/codecs/vp8/libwebrtc_vp8.a $(obj).target/third_party/libvpx/libvpx.a $(obj).target/third_party/libvpx/libvpx_asm_offsets.a $(obj).target/third_party/webrtc/modules/libvideo_render_module.a $(obj).target/third_party/webrtc/video_engine/libvideo_engine_core.a $(obj).target/third_party/webrtc/modules/libmedia_file.a $(obj).target/third_party/webrtc/modules/librtp_rtcp.a $(obj).target/third_party/webrtc/modules/libremote_bitrate_estimator.a $(obj).target/third_party/webrtc/modules/libudp_transport.a $(obj).target/third_party/webrtc/modules/libbitrate_controller.a $(obj).target/third_party/webrtc/modules/libvideo_processing.a $(obj).target/third_party/webrtc/modules/libvideo_processing_sse2.a $(obj).target/third_party/webrtc/voice_engine/libvoice_engine_core.a $(obj).target/third_party/webrtc/modules/libaudio_conference_mixer.a $(obj).target/third_party/webrtc/modules/libaudio_processing.a $(obj).target/third_party/webrtc/modules/libaudioproc_debug_proto.a $(obj).target/third_party/protobuf/libprotobuf_lite.a $(obj).target/third_party/webrtc/modules/libaudio_processing_sse2.a $(obj).target/third_party/webrtc/modules/libaudio_device.a $(obj).target/third_party/libjingle/libjingle.a $(obj).target/third_party/libjingle/libjingle_p2p.a FORCE_DO_CMD
$(call do_cmd,link)
all_deps += $(builddir)/peerconnection_client
# Add target alias
.PHONY: peerconnection_client
peerconnection_client: $(builddir)/peerconnection_client
# Add executable to "all" target.
.PHONY: all
all: $(builddir)/peerconnection_client

View File

@ -1 +0,0 @@
danilchap@webrtc.org

View File

@ -1,29 +0,0 @@
# `.h` and `.cc` files come in pairs
This is an overflow page for [this](../style-guide.md#h-cc-pairs)
style rule.
## Example violations
Example violations, which should be avoided in new code:
* Declarations in `path/to/include/foo.h`, definitions in
`path/to/source/foo.cc`. **Fix:** The `.h` and `.cc` files should be
in the same directory.
* Declarations in `foo.h`, definitions in both `foo_bar.cc` and
`foo_baz.cc`. **Fix:** The `.h` and `.cc` files should come in
pairs, so either split `foo.h` into `foo_bar.h` and `foo_baz.h`, or
merge `foo_bar.cc` and `foo_baz.cc` into `foo.cc`.
## Exception for platform-specific code
If the functions in a header file need different implementations for
different platforms, we allow the following arrangement:
* Declarations in `foo.h`.
* A complete set of matching definitions in `foo_win.cc`, another
complete set of matching definitions in `foo_mac.cc`, and so on.
* As per the main rule, these files should all be in the same
directory and in the same build target. The build target should use
platform conditionals to ensure that exactly one of the `.cc` files
are included.