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

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

Issue 766573003: gn format //build (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years 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/secondary/third_party/libjpeg_turbo/BUILD.gn ('k') | build/secondary/third_party/nss/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 b0e0a91e4d677fbf233ea4ee8582d46b4ea6f45c..506d19f3c0a1e3d4d0359d0c8cae62f7a15b03c4 100644
--- a/build/secondary/third_party/libsrtp/BUILD.gn
+++ b/build/secondary/third_party/libsrtp/BUILD.gn
@@ -38,6 +38,7 @@ config("libsrtp_config") {
defines += [
"INLINE=__inline",
"HAVE_BYTESWAP_METHODS_H",
+
# All Windows architectures are this way.
"SIZEOF_UNSIGNED_LONG=4",
"SIZEOF_UNSIGNED_LONG_LONG=8",
@@ -67,7 +68,10 @@ config("system_libsrtp_config") {
if (use_system_libsrtp) {
group("libsrtp") {
- public_configs = [ ":libsrtp_config", ":system_libsrtp_config" ]
+ public_configs = [
+ ":libsrtp_config",
+ ":system_libsrtp_config",
+ ]
libs = [ "-lsrtp" ]
}
} else {
@@ -118,7 +122,6 @@ if (use_system_libsrtp) {
# sources
"srtp/srtp/ekt.c",
"srtp/srtp/srtp.c",
-
"srtp/crypto/cipher/aes.c",
"srtp/crypto/cipher/aes_cbc.c",
"srtp/crypto/cipher/aes_icm.c",
@@ -154,7 +157,9 @@ if (use_system_libsrtp) {
executable("rdbx_driver") {
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [ "//build/config/compiler:no_chromium_code" ]
- deps = [ ":libsrtp" ]
+ deps = [
+ ":libsrtp",
+ ]
sources = [
"srtp/include/getopt_s.h",
"srtp/test/getopt_s.c",
@@ -165,7 +170,9 @@ if (use_system_libsrtp) {
executable("srtp_driver") {
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [ "//build/config/compiler:no_chromium_code" ]
- deps = [ ":libsrtp" ]
+ deps = [
+ ":libsrtp",
+ ]
sources = [
"srtp/include/getopt_s.h",
"srtp/include/srtp_priv.h",
@@ -177,7 +184,9 @@ if (use_system_libsrtp) {
executable("roc_driver") {
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [ "//build/config/compiler:no_chromium_code" ]
- deps = [ ":libsrtp" ]
+ deps = [
+ ":libsrtp",
+ ]
sources = [
"srtp/crypto/include/rdbx.h",
"srtp/include/ut_sim.h",
@@ -188,7 +197,9 @@ if (use_system_libsrtp) {
executable("replay_driver") {
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [ "//build/config/compiler:no_chromium_code" ]
- deps = [ ":libsrtp" ]
+ deps = [
+ ":libsrtp",
+ ]
sources = [
"srtp/crypto/include/rdbx.h",
"srtp/include/ut_sim.h",
@@ -199,7 +210,9 @@ if (use_system_libsrtp) {
executable("rtpw") {
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [ "//build/config/compiler:no_chromium_code" ]
- deps = [ ":libsrtp" ]
+ deps = [
+ ":libsrtp",
+ ]
sources = [
"srtp/include/getopt_s.h",
"srtp/include/rtp.h",
@@ -220,7 +233,9 @@ if (use_system_libsrtp) {
executable("srtp_test_cipher_driver") {
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [ "//build/config/compiler:no_chromium_code" ]
- deps = [ ":libsrtp" ]
+ deps = [
+ ":libsrtp",
+ ]
sources = [
"srtp/crypto/test/cipher_driver.c",
]
@@ -229,7 +244,9 @@ if (use_system_libsrtp) {
executable("srtp_test_datatypes_driver") {
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [ "//build/config/compiler:no_chromium_code" ]
- deps = [ ":libsrtp" ]
+ deps = [
+ ":libsrtp",
+ ]
sources = [
"srtp/crypto/test/datatypes_driver.c",
]
@@ -238,7 +255,9 @@ if (use_system_libsrtp) {
executable("srtp_test_stat_driver") {
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [ "//build/config/compiler:no_chromium_code" ]
- deps = [ ":libsrtp" ]
+ deps = [
+ ":libsrtp",
+ ]
sources = [
"srtp/crypto/test/stat_driver.c",
]
@@ -247,7 +266,9 @@ if (use_system_libsrtp) {
executable("srtp_test_sha1_driver") {
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [ "//build/config/compiler:no_chromium_code" ]
- deps = [ ":libsrtp" ]
+ deps = [
+ ":libsrtp",
+ ]
sources = [
"srtp/crypto/test/sha1_driver.c",
]
@@ -256,7 +277,9 @@ if (use_system_libsrtp) {
executable("srtp_test_kernel_driver") {
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [ "//build/config/compiler:no_chromium_code" ]
- deps = [ ":libsrtp" ]
+ deps = [
+ ":libsrtp",
+ ]
sources = [
"srtp/crypto/test/kernel_driver.c",
]
@@ -265,7 +288,9 @@ if (use_system_libsrtp) {
executable("srtp_test_aes_calc") {
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [ "//build/config/compiler:no_chromium_code" ]
- deps = [ ":libsrtp" ]
+ deps = [
+ ":libsrtp",
+ ]
sources = [
"srtp/crypto/test/aes_calc.c",
]
@@ -274,7 +299,9 @@ if (use_system_libsrtp) {
executable("srtp_test_rand_gen") {
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [ "//build/config/compiler:no_chromium_code" ]
- deps = [ ":libsrtp" ]
+ deps = [
+ ":libsrtp",
+ ]
sources = [
"srtp/crypto/test/rand_gen.c",
]
@@ -283,7 +310,9 @@ if (use_system_libsrtp) {
executable("srtp_test_env") {
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [ "//build/config/compiler:no_chromium_code" ]
- deps = [ ":libsrtp" ]
+ deps = [
+ ":libsrtp",
+ ]
sources = [
"srtp/crypto/test/env.c",
]
« no previous file with comments | « build/secondary/third_party/libjpeg_turbo/BUILD.gn ('k') | build/secondary/third_party/nss/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698