summaryrefslogtreecommitdiff
path: root/common_audio
diff options
context:
space:
mode:
authorkjellander@webrtc.org <kjellander@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d>2014-06-23 19:21:07 +0000
committerkjellander@webrtc.org <kjellander@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d>2014-06-23 19:21:07 +0000
commit3610f638d5aa330038475c309151dbd586d828f6 (patch)
tree338bdb8c7a95e7ae9dbc7e22dc095b9ccfedd54c /common_audio
parentba4cfb1140b5da3bbd1fa83660b3f0595b17ac40 (diff)
downloadwebrtc-3610f638d5aa330038475c309151dbd586d828f6.tar.gz
GN: Add BUILD.gn files + kjellander to OWNERS
This should work as a foundation for all the work that is left to do to make the parts of WebRTC that Chromium uses to build with GN. I implemented some the smaller modules myself in this CL. The remaining work (TODO's in the .gn files) will be distributed to various team members. I'm adding myself to OWNERS files for BUILD.gn files in all the directories where I'm adding a BUILD.gn file. BUG=3441 TEST= Successful compilation of WebRTC as standalone: gn gen out/Default --args="build_with_chromium=false" && ninja -C out/Default gn gen out/Default --args="build_with_chromium=false is_clang=true clang_use_chrome_plugins=false" && ninja -C out/Default I built successfully from a Chromium checkout (with https://codereview.chromium.org/321313006/ applied) using: gn gen out/Default && ninja -C out/Default webrtc R=brettw@chromium.org, niklas.enbom@webrtc.org Review URL: https://webrtc-codereview.appspot.com/13749004 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@6523 4adac7df-926f-26a2-2b94-8c16560cd09d
Diffstat (limited to 'common_audio')
-rw-r--r--common_audio/BUILD.gn26
-rw-r--r--common_audio/OWNERS2
2 files changed, 28 insertions, 0 deletions
diff --git a/common_audio/BUILD.gn b/common_audio/BUILD.gn
new file mode 100644
index 00000000..4dcc3226
--- /dev/null
+++ b/common_audio/BUILD.gn
@@ -0,0 +1,26 @@
+# Copyright (c) 2014 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.
+
+import("//build/config/arm.gni")
+import("../build/webrtc.gni")
+
+source_set("common_audio") {
+ # TODO(andrew): Implement.
+}
+
+if (cpu_arch == "x86" || cpu_arch == "x64") {
+ source_set("common_audio_sse2") {
+ # TODO(andrew): Implement.
+ }
+}
+
+if (cpu_arch == "arm" && arm_version == 7) {
+ source_set("common_audio_neon") {
+ # TODO(andrew): Implement.
+ }
+}
diff --git a/common_audio/OWNERS b/common_audio/OWNERS
index 83d774b2..98ec4728 100644
--- a/common_audio/OWNERS
+++ b/common_audio/OWNERS
@@ -9,3 +9,5 @@ per-file *.isolate=kjellander@webrtc.org
# structural changes, please get a review from a reviewer in this file.
per-file *.gyp=*
per-file *.gypi=*
+
+per-file BUILD.gn=kjellander@webrtc.org