Skip to content

Commit

Permalink
Moving webrtc.gni up one level from build/
Browse files Browse the repository at this point in the history
BUG=webrtc:7030

Review-Url: https://codereview.webrtc.org/2651543003
Cr-Commit-Position: refs/heads/master@{#16241}
  • Loading branch information
MirkoBonadei authored and Commit bot committed Jan 24, 2017
1 parent 62d02c3 commit 35a3270
Show file tree
Hide file tree
Showing 42 changed files with 42 additions and 42 deletions.
2 changes: 1 addition & 1 deletion BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# in the file PATENTS. All contributing project authors may
# be found in the AUTHORS file in the root of the source tree.

import("webrtc/build/webrtc.gni")
import("webrtc/webrtc.gni")

group("default") {
testonly = true
Expand Down
2 changes: 1 addition & 1 deletion webrtc/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

import("//build/config/linux/pkg_config.gni")
import("//build/config/sanitizers/sanitizers.gni")
import("build/webrtc.gni")
import("webrtc.gni")
import("//third_party/protobuf/proto_library.gni")
if (is_android) {
import("//build/config/android/config.gni")
Expand Down
2 changes: 1 addition & 1 deletion webrtc/api/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# in the file PATENTS. All contributing project authors may
# be found in the AUTHORS file in the root of the source tree.

import("../build/webrtc.gni")
import("../webrtc.gni")
if (is_android) {
import("//build/config/android/config.gni")
import("//build/config/android/rules.gni")
Expand Down
2 changes: 1 addition & 1 deletion webrtc/audio/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# in the file PATENTS. All contributing project authors may
# be found in the AUTHORS file in the root of the source tree.

import("../build/webrtc.gni")
import("../webrtc.gni")

rtc_static_library("audio") {
sources = [
Expand Down
2 changes: 1 addition & 1 deletion webrtc/audio/utility/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# 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.
import("../../build/webrtc.gni")
import("../../webrtc.gni")

group("utility") {
public_deps = [
Expand Down
2 changes: 1 addition & 1 deletion webrtc/base/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

import("//build/config/crypto.gni")
import("//build/config/ui.gni")
import("../build/webrtc.gni")
import("../webrtc.gni")

if (is_android) {
import("//build/config/android/config.gni")
Expand Down
2 changes: 1 addition & 1 deletion webrtc/call/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# in the file PATENTS. All contributing project authors may
# be found in the AUTHORS file in the root of the source tree.

import("../build/webrtc.gni")
import("../webrtc.gni")

rtc_source_set("call_interfaces") {
sources = [
Expand Down
2 changes: 1 addition & 1 deletion webrtc/common_audio/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# be found in the AUTHORS file in the root of the source tree.

import("//build/config/arm.gni")
import("../build/webrtc.gni")
import("../webrtc.gni")

config("common_audio_config") {
include_dirs = [
Expand Down
2 changes: 1 addition & 1 deletion webrtc/common_video/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# in the file PATENTS. All contributing project authors may
# be found in the AUTHORS file in the root of the source tree.

import("../build/webrtc.gni")
import("../webrtc.gni")

config("common_video_config") {
include_dirs = [
Expand Down
2 changes: 1 addition & 1 deletion webrtc/examples/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# in the file PATENTS. All contributing project authors may
# be found in the AUTHORS file in the root of the source tree.

import("../build/webrtc.gni")
import("../webrtc.gni")
if (is_android) {
import("//build/config/android/config.gni")
import("//build/config/android/rules.gni")
Expand Down
2 changes: 1 addition & 1 deletion webrtc/logging/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# in the file PATENTS. All contributing project authors may
# be found in the AUTHORS file in the root of the source tree.

import("../build/webrtc.gni")
import("../webrtc.gni")
import("//third_party/protobuf/proto_library.gni")
if (is_android) {
import("//build/config/android/config.gni")
Expand Down
2 changes: 1 addition & 1 deletion webrtc/media/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# be found in the AUTHORS file in the root of the source tree.

import("//build/config/linux/pkg_config.gni")
import("../build/webrtc.gni")
import("../webrtc.gni")

group("media") {
public_deps = [
Expand Down
2 changes: 1 addition & 1 deletion webrtc/modules/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# in the file PATENTS. All contributing project authors may
# be found in the AUTHORS file in the root of the source tree.

import("../build/webrtc.gni")
import("../webrtc.gni")
import("audio_coding/audio_coding.gni")

group("modules") {
Expand Down
2 changes: 1 addition & 1 deletion webrtc/modules/audio_coding/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# in the file PATENTS. All contributing project authors may
# be found in the AUTHORS file in the root of the source tree.

import("../../build/webrtc.gni")
import("../../webrtc.gni")
import("audio_coding.gni")
import("//build/config/arm.gni")
import("//third_party/protobuf/proto_library.gni")
Expand Down
2 changes: 1 addition & 1 deletion webrtc/modules/audio_coding/audio_coding.gni
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# in the file PATENTS. All contributing project authors may
# be found in the AUTHORS file in the root of the source tree.

import("../../build/webrtc.gni")
import("../../webrtc.gni")

audio_codec_defines = []
if (rtc_include_ilbc) {
Expand Down
2 changes: 1 addition & 1 deletion webrtc/modules/audio_conference_mixer/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# in the file PATENTS. All contributing project authors may
# be found in the AUTHORS file in the root of the source tree.

import("../../build/webrtc.gni")
import("../../webrtc.gni")

config("audio_conference_mixer_config") {
visibility = [ ":*" ] # Only targets in this file can depend on this.
Expand Down
2 changes: 1 addition & 1 deletion webrtc/modules/audio_device/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# in the file PATENTS. All contributing project authors may
# be found in the AUTHORS file in the root of the source tree.

import("../../build/webrtc.gni")
import("../../webrtc.gni")

if (is_android) {
import("//build/config/android/config.gni")
Expand Down
2 changes: 1 addition & 1 deletion webrtc/modules/audio_mixer/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# in the file PATENTS. All contributing project authors may
# be found in the AUTHORS file in the root of the source tree.

import("../../build/webrtc.gni")
import("../../webrtc.gni")

group("audio_mixer") {
public_deps = [
Expand Down
2 changes: 1 addition & 1 deletion webrtc/modules/audio_processing/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

import("//build/config/arm.gni")
import("//third_party/protobuf/proto_library.gni")
import("../../build/webrtc.gni")
import("../../webrtc.gni")

declare_args() {
# Disables the usual mode where we trust the reported system delay
Expand Down
2 changes: 1 addition & 1 deletion webrtc/modules/bitrate_controller/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# in the file PATENTS. All contributing project authors may
# be found in the AUTHORS file in the root of the source tree.

import("../../build/webrtc.gni")
import("../../webrtc.gni")

rtc_static_library("bitrate_controller") {
# TODO(mbonadei): Remove (bugs.webrtc.org/6828)
Expand Down
2 changes: 1 addition & 1 deletion webrtc/modules/congestion_controller/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# in the file PATENTS. All contributing project authors may
# be found in the AUTHORS file in the root of the source tree.

import("../../build/webrtc.gni")
import("../../webrtc.gni")

rtc_static_library("congestion_controller") {
sources = [
Expand Down
2 changes: 1 addition & 1 deletion webrtc/modules/desktop_capture/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# be found in the AUTHORS file in the root of the source tree.

import("//build/config/ui.gni")
import("../../build/webrtc.gni")
import("../../webrtc.gni")

use_desktop_capture_differ_sse2 = current_cpu == "x86" || current_cpu == "x64"

Expand Down
2 changes: 1 addition & 1 deletion webrtc/modules/media_file/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# in the file PATENTS. All contributing project authors may
# be found in the AUTHORS file in the root of the source tree.

import("../../build/webrtc.gni")
import("../../webrtc.gni")

config("media_file_config") {
visibility = [ ":*" ] # Only targets in this file can depend on this.
Expand Down
2 changes: 1 addition & 1 deletion webrtc/modules/pacing/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# in the file PATENTS. All contributing project authors may
# be found in the AUTHORS file in the root of the source tree.

import("../../build/webrtc.gni")
import("../../webrtc.gni")

rtc_static_library("pacing") {
sources = [
Expand Down
2 changes: 1 addition & 1 deletion webrtc/modules/remote_bitrate_estimator/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# in the file PATENTS. All contributing project authors may
# be found in the AUTHORS file in the root of the source tree.

import("../../build/webrtc.gni")
import("../../webrtc.gni")

rtc_static_library("remote_bitrate_estimator") {
# TODO(mbonadei): Remove (bugs.webrtc.org/6828)
Expand Down
2 changes: 1 addition & 1 deletion webrtc/modules/rtp_rtcp/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# in the file PATENTS. All contributing project authors may
# be found in the AUTHORS file in the root of the source tree.

import("../../build/webrtc.gni")
import("../../webrtc.gni")

rtc_static_library("rtp_rtcp") {
sources = [
Expand Down
2 changes: 1 addition & 1 deletion webrtc/modules/utility/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# in the file PATENTS. All contributing project authors may
# be found in the AUTHORS file in the root of the source tree.

import("../../build/webrtc.gni")
import("../../webrtc.gni")

rtc_static_library("utility") {
sources = [
Expand Down
2 changes: 1 addition & 1 deletion webrtc/modules/video_capture/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# in the file PATENTS. All contributing project authors may
# be found in the AUTHORS file in the root of the source tree.

import("../../build/webrtc.gni")
import("../../webrtc.gni")

# Note this target is missing an implementation for the video capture.
# Targets must link with either 'video_capture' or
Expand Down
2 changes: 1 addition & 1 deletion webrtc/modules/video_coding/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# in the file PATENTS. All contributing project authors may
# be found in the AUTHORS file in the root of the source tree.

import("../../build/webrtc.gni")
import("../../webrtc.gni")

rtc_static_library("video_coding") {
sources = [
Expand Down
2 changes: 1 addition & 1 deletion webrtc/modules/video_processing/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# be found in the AUTHORS file in the root of the source tree.

import("//build/config/arm.gni")
import("../../build/webrtc.gni")
import("../../webrtc.gni")

build_video_processing_sse2 = current_cpu == "x86" || current_cpu == "x64"

Expand Down
2 changes: 1 addition & 1 deletion webrtc/p2p/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# in the file PATENTS. All contributing project authors may
# be found in the AUTHORS file in the root of the source tree.

import("../build/webrtc.gni")
import("../webrtc.gni")

group("p2p") {
public_deps = [
Expand Down
2 changes: 1 addition & 1 deletion webrtc/pc/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# in the file PATENTS. All contributing project authors may
# be found in the AUTHORS file in the root of the source tree.

import("../build/webrtc.gni")
import("../webrtc.gni")
if (is_android) {
import("//build/config/android/config.gni")
import("//build/config/android/rules.gni")
Expand Down
2 changes: 1 addition & 1 deletion webrtc/sdk/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# in the file PATENTS. All contributing project authors may
# be found in the AUTHORS file in the root of the source tree.

import("../build/webrtc.gni")
import("../webrtc.gni")
if (is_ios) {
import("//build/config/ios/rules.gni")
}
Expand Down
2 changes: 1 addition & 1 deletion webrtc/sdk/android/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# in the file PATENTS. All contributing project authors may
# be found in the AUTHORS file in the root of the source tree.

import("//webrtc/build/webrtc.gni")
import("//webrtc/webrtc.gni")
import("//build/config/android/config.gni")
import("//build/config/android/rules.gni")

Expand Down
2 changes: 1 addition & 1 deletion webrtc/stats/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# in the file PATENTS. All contributing project authors may
# be found in the AUTHORS file in the root of the source tree.

import("../build/webrtc.gni")
import("../webrtc.gni")

group("stats") {
public_deps = [
Expand Down
2 changes: 1 addition & 1 deletion webrtc/system_wrappers/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ if (is_android) {
import("//build/config/android/config.gni")
import("//build/config/android/rules.gni")
}
import("../build/webrtc.gni")
import("../webrtc.gni")

rtc_static_library("system_wrappers") {
sources = [
Expand Down
2 changes: 1 addition & 1 deletion webrtc/test/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# in the file PATENTS. All contributing project authors may
# be found in the AUTHORS file in the root of the source tree.

import("../build/webrtc.gni")
import("../webrtc.gni")
import("//build/config/ui.gni")
if (is_android) {
import("//build/config/android/rules.gni")
Expand Down
2 changes: 1 addition & 1 deletion webrtc/test/fuzzers/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# in the file PATENTS. All contributing project authors may
# be found in the AUTHORS file in the root of the source tree.

import("../../build/webrtc.gni")
import("../../webrtc.gni")
import("//build/config/features.gni")
import("//testing/libfuzzer/fuzzer_test.gni")

Expand Down
2 changes: 1 addition & 1 deletion webrtc/tools/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# be found in the AUTHORS file in the root of the source tree.

import("//third_party/protobuf/proto_library.gni")
import("../build/webrtc.gni")
import("../webrtc.gni")

group("tools") {
# This target shall build all targets in tools/.
Expand Down
2 changes: 1 addition & 1 deletion webrtc/video/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# in the file PATENTS. All contributing project authors may
# be found in the AUTHORS file in the root of the source tree.

import("../build/webrtc.gni")
import("../webrtc.gni")

rtc_static_library("video") {
sources = [
Expand Down
2 changes: 1 addition & 1 deletion webrtc/voice_engine/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# in the file PATENTS. All contributing project authors may
# be found in the AUTHORS file in the root of the source tree.

import("../build/webrtc.gni")
import("../webrtc.gni")

rtc_static_library("audio_coder") {
sources = [
Expand Down
2 changes: 1 addition & 1 deletion webrtc/build/webrtc.gni → webrtc/webrtc.gni
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ rtc_desktop_capture_supported = is_win || is_mac || is_linux
# chromium.
# We need absolute paths for all configs in templates as they are shared in
# different subdirectories.
webrtc_root = get_path_info("../", "abspath")
webrtc_root = get_path_info(".", "abspath")

# Global configuration that should be applied to all WebRTC targets.
# You normally shouldn't need to include this in your target as it's
Expand Down

0 comments on commit 35a3270

Please sign in to comment.