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

Unified Diff: third_party/boringssl/BUILD.gn

Issue 779473002: gn format //third_party (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « third_party/android_protobuf/BUILD.gn ('k') | third_party/brotli/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/boringssl/BUILD.gn
diff --git a/third_party/boringssl/BUILD.gn b/third_party/boringssl/BUILD.gn
index ccd842451dd4fc55002067eea93f5ad3527b460c..88676ad061ba6670d5fd791f4cad4e831617f3c9 100644
--- a/third_party/boringssl/BUILD.gn
+++ b/third_party/boringssl/BUILD.gn
@@ -7,9 +7,7 @@ config("openssl_config") {
include_dirs = []
include_dirs += [ "src/include" ]
if (is_component_build) {
- defines = [
- "BORINGSSL_SHARED_LIBRARY",
- ]
+ defines = [ "BORINGSSL_SHARED_LIBRARY" ]
}
}
@@ -19,11 +17,11 @@ config("openssl_internal_config") {
}
# The list of BoringSSL files is kept in boringssl.gypi.
-gypi_values = exec_script(
- "//build/gypi_to_gn.py",
- [ rebase_path("//third_party/boringssl/boringssl.gypi") ],
- "scope",
- [ "//third_party/boringssl/boringssl.gypi" ])
+gypi_values =
+ exec_script("//build/gypi_to_gn.py",
+ [ rebase_path("//third_party/boringssl/boringssl.gypi") ],
+ "scope",
+ [ "//third_party/boringssl/boringssl.gypi" ])
# Windows' assembly is built with Yasm. The other platforms use the platform
# assembler.
@@ -49,9 +47,7 @@ component("boringssl") {
"BORINGSSL_NO_STATIC_INITIALIZER",
]
if (is_component_build) {
- defines += [
- "BORINGSSL_SHARED_LIBRARY",
- ]
+ defines += [ "BORINGSSL_SHARED_LIBRARY" ]
}
configs -= [ "//build/config/compiler:chromium_code" ]
@@ -60,6 +56,7 @@ component("boringssl") {
# Also gets the include dirs from :openssl_config
include_dirs = [
"src/include",
+
# This is for arm_arch.h, which is needed by some asm files. Since the
# asm files are generated and kept in a different directory, they
# cannot use relative paths to find this file.
@@ -69,7 +66,7 @@ component("boringssl") {
if (is_win) {
# TODO(davidben): Fix size_t truncations in BoringSSL.
# https://crbug.com/429039
- cflags += [ "/wd4267"]
+ cflags += [ "/wd4267" ]
}
if (cpu_arch == "x64") {
« no previous file with comments | « third_party/android_protobuf/BUILD.gn ('k') | third_party/brotli/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698