
When WebRTC is built as a part of Chromium, some of the stuff in webrtc.gyp will not be found. This CL fixes this. TEST=trybots passing. I also did some manual builds for Android with the android_builder_webrtc target in build/all_android.gyp of a Chromium checkout. BUG=chromium:304143 R=andrew@webrtc.org Review URL: https://webrtc-codereview.appspot.com/2353004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@4949 4adac7df-926f-26a2-2b94-8c16560cd09d
47 lines
1.4 KiB
Python
47 lines
1.4 KiB
Python
# Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
|
|
#
|
|
# Use of this source code is governed by a BSD-style license
|
|
# that can be found in the LICENSE file in the root of the source
|
|
# tree. An additional intellectual property rights grant can be found
|
|
# in the file PATENTS. All contributing project authors may
|
|
# be found in the AUTHORS file in the root of the source tree.
|
|
|
|
{
|
|
'includes': ['build/common.gypi',],
|
|
'variables': {
|
|
'webrtc_all_dependencies': [
|
|
'common_audio/common_audio.gyp:*',
|
|
'common_video/common_video.gyp:*',
|
|
'modules/modules.gyp:*',
|
|
'system_wrappers/source/system_wrappers.gyp:*',
|
|
'video_engine/video_engine.gyp:*',
|
|
'voice_engine/voice_engine.gyp:*',
|
|
'<(webrtc_vp8_dir)/vp8.gyp:*',
|
|
],
|
|
},
|
|
'targets': [
|
|
{
|
|
'target_name': 'webrtc',
|
|
'type': 'none',
|
|
'dependencies': [
|
|
'<@(webrtc_all_dependencies)',
|
|
],
|
|
'conditions': [
|
|
['include_tests==1', {
|
|
'dependencies': [
|
|
'system_wrappers/source/system_wrappers_tests.gyp:*',
|
|
'test/metrics.gyp:*',
|
|
'test/test.gyp:*',
|
|
'tools/tools.gyp:*',
|
|
],
|
|
}],
|
|
['build_with_chromium==0 and OS=="android"', {
|
|
'dependencies': [
|
|
'../tools/android/android_tools_precompiled.gyp:*',
|
|
],
|
|
}],
|
|
],
|
|
},
|
|
],
|
|
}
|