Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3090)

Unified Diff: build/secondary/third_party/libsrtp/BUILD.gn

Issue 534713003: Add some more libjingle targets to the GN build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: git cl try Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/config/win/BUILD.gn ('k') | content/renderer/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/secondary/third_party/libsrtp/BUILD.gn
diff --git a/build/secondary/third_party/libsrtp/BUILD.gn b/build/secondary/third_party/libsrtp/BUILD.gn
index ba6dba09f7b8a41168efbb29e7308025a807761b..8787beb53c143a6699ae52a142871f6591b879a3 100644
--- a/build/secondary/third_party/libsrtp/BUILD.gn
+++ b/build/secondary/third_party/libsrtp/BUILD.gn
@@ -74,7 +74,7 @@ if (use_system_libsrtp) {
static_library("libsrtp") {
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [ "//build/config/compiler:no_chromium_code" ]
- configs += [ ":libsrtp_config" ]
+ direct_dependent_configs = [ ":libsrtp_config" ]
sources = [
# includes
@@ -142,6 +142,10 @@ if (use_system_libsrtp) {
"srtp/crypto/rng/prng.c",
"srtp/crypto/rng/rand_source.c",
]
+
+ if (is_clang) {
+ cflags = [ "-Wno-implicit-function-declaration" ]
+ }
}
# TODO(GYP): A bunch of these tests don't compile (in gyp either). They're
@@ -150,7 +154,6 @@ if (use_system_libsrtp) {
executable("rdbx_driver") {
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [ "//build/config/compiler:no_chromium_code" ]
- configs += [ ":libsrtp_config" ]
deps = [ ":libsrtp" ]
sources = [
"srtp/include/getopt_s.h",
@@ -162,7 +165,6 @@ if (use_system_libsrtp) {
executable("srtp_driver") {
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [ "//build/config/compiler:no_chromium_code" ]
- configs += [ ":libsrtp_config" ]
deps = [ ":libsrtp" ]
sources = [
"srtp/include/getopt_s.h",
@@ -175,7 +177,6 @@ if (use_system_libsrtp) {
executable("roc_driver") {
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [ "//build/config/compiler:no_chromium_code" ]
- configs += [ ":libsrtp_config" ]
deps = [ ":libsrtp" ]
sources = [
"srtp/crypto/include/rdbx.h",
@@ -187,7 +188,6 @@ if (use_system_libsrtp) {
executable("replay_driver") {
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [ "//build/config/compiler:no_chromium_code" ]
- configs += [ ":libsrtp_config" ]
deps = [ ":libsrtp" ]
sources = [
"srtp/crypto/include/rdbx.h",
@@ -199,7 +199,6 @@ if (use_system_libsrtp) {
executable("rtpw") {
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [ "//build/config/compiler:no_chromium_code" ]
- configs += [ ":libsrtp_config" ]
deps = [ ":libsrtp" ]
sources = [
"srtp/include/getopt_s.h",
@@ -218,7 +217,6 @@ if (use_system_libsrtp) {
executable("srtp_test_cipher_driver") {
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [ "//build/config/compiler:no_chromium_code" ]
- configs += [ ":libsrtp_config" ]
deps = [ ":libsrtp" ]
sources = [
"srtp/crypto/test/cipher_driver.c",
@@ -228,7 +226,6 @@ if (use_system_libsrtp) {
executable("srtp_test_datatypes_driver") {
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [ "//build/config/compiler:no_chromium_code" ]
- configs += [ ":libsrtp_config" ]
deps = [ ":libsrtp" ]
sources = [
"srtp/crypto/test/datatypes_driver.c",
@@ -238,7 +235,6 @@ if (use_system_libsrtp) {
executable("srtp_test_stat_driver") {
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [ "//build/config/compiler:no_chromium_code" ]
- configs += [ ":libsrtp_config" ]
deps = [ ":libsrtp" ]
sources = [
"srtp/crypto/test/stat_driver.c",
@@ -248,7 +244,6 @@ if (use_system_libsrtp) {
executable("srtp_test_sha1_driver") {
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [ "//build/config/compiler:no_chromium_code" ]
- configs += [ ":libsrtp_config" ]
deps = [ ":libsrtp" ]
sources = [
"srtp/crypto/test/sha1_driver.c",
@@ -258,7 +253,6 @@ if (use_system_libsrtp) {
executable("srtp_test_kernel_driver") {
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [ "//build/config/compiler:no_chromium_code" ]
- configs += [ ":libsrtp_config" ]
deps = [ ":libsrtp" ]
sources = [
"srtp/crypto/test/kernel_driver.c",
@@ -268,7 +262,6 @@ if (use_system_libsrtp) {
executable("srtp_test_aes_calc") {
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [ "//build/config/compiler:no_chromium_code" ]
- configs += [ ":libsrtp_config" ]
deps = [ ":libsrtp" ]
sources = [
"srtp/crypto/test/aes_calc.c",
@@ -278,7 +271,6 @@ if (use_system_libsrtp) {
executable("srtp_test_rand_gen") {
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [ "//build/config/compiler:no_chromium_code" ]
- configs += [ ":libsrtp_config" ]
deps = [ ":libsrtp" ]
sources = [
"srtp/crypto/test/rand_gen.c",
@@ -288,7 +280,6 @@ if (use_system_libsrtp) {
executable("srtp_test_env") {
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [ "//build/config/compiler:no_chromium_code" ]
- configs += [ ":libsrtp_config" ]
deps = [ ":libsrtp" ]
sources = [
"srtp/crypto/test/env.c",
« no previous file with comments | « build/config/win/BUILD.gn ('k') | content/renderer/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698