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

Side by Side Diff: third_party/boringssl/BUILD.gn

Issue 1497543003: Format all BUILD.gn with "gn format --in-place". (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gn-format-sort-deps
Patch Set: Rebase Created 5 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 unified diff | Download patch
« no previous file with comments | « third_party/WebKit/Source/core/BUILD.gn ('k') | third_party/cacheinvalidation/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/android/config.gni") 5 import("//build/config/android/config.gni")
6 import("//build/config/sanitizers/sanitizers.gni") 6 import("//build/config/sanitizers/sanitizers.gni")
7 7
8 # Config for us and everybody else depending on BoringSSL. 8 # Config for us and everybody else depending on BoringSSL.
9 config("openssl_config") { 9 config("openssl_config") {
10 defines = [ "OPENSSL_SMALL" ] 10 defines = [ "OPENSSL_SMALL" ]
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 67
68 # Also gets the include dirs from :openssl_config 68 # Also gets the include dirs from :openssl_config
69 include_dirs = [ "src/include" ] 69 include_dirs = [ "src/include" ]
70 70
71 if (current_cpu == "arm" && is_clang) { 71 if (current_cpu == "arm" && is_clang) {
72 # TODO(hans) Enable integrated-as (crbug.com/124610). 72 # TODO(hans) Enable integrated-as (crbug.com/124610).
73 asmflags = [ "-fno-integrated-as" ] 73 asmflags = [ "-fno-integrated-as" ]
74 if (is_android) { 74 if (is_android) {
75 rebased_android_toolchain_root = 75 rebased_android_toolchain_root =
76 rebase_path(android_toolchain_root, root_build_dir) 76 rebase_path(android_toolchain_root, root_build_dir)
77
77 # Else /usr/bin/as gets picked up. 78 # Else /usr/bin/as gets picked up.
78 asmflags += [ "-B${rebased_android_toolchain_root}/bin" ] 79 asmflags += [ "-B${rebased_android_toolchain_root}/bin" ]
79 } 80 }
80 } 81 }
81 82
82 if (is_msan) { 83 if (is_msan) {
83 defines += [ "OPENSSL_NO_ASM" ] 84 defines += [ "OPENSSL_NO_ASM" ]
84 } else if (current_cpu == "x64") { 85 } else if (current_cpu == "x64") {
85 if (is_mac || is_ios) { 86 if (is_mac || is_ios) {
86 sources += gypi_values.boringssl_mac_x86_64_sources 87 sources += gypi_values.boringssl_mac_x86_64_sources
(...skipping 19 matching lines...) Expand all
106 } else if (current_cpu == "arm64" && (is_linux || is_android)) { 107 } else if (current_cpu == "arm64" && (is_linux || is_android)) {
107 sources += gypi_values.boringssl_linux_aarch64_sources 108 sources += gypi_values.boringssl_linux_aarch64_sources
108 } else { 109 } else {
109 defines += [ "OPENSSL_NO_ASM" ] 110 defines += [ "OPENSSL_NO_ASM" ]
110 } 111 }
111 112
112 if (is_nacl) { 113 if (is_nacl) {
113 deps += [ "//native_client_sdk/src/libraries/nacl_io" ] 114 deps += [ "//native_client_sdk/src/libraries/nacl_io" ]
114 } 115 }
115 } 116 }
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/BUILD.gn ('k') | third_party/cacheinvalidation/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698