| OLD | NEW |
| 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/arm.gni") |
| 6 import("//build/config/sanitizers/sanitizers.gni") | 7 import("//build/config/sanitizers/sanitizers.gni") |
| 7 import("//build_overrides/build.gni") | 8 import("//build_overrides/build.gni") |
| 8 import("//testing/libfuzzer/fuzzer_test.gni") | 9 import("//testing/libfuzzer/fuzzer_test.gni") |
| 9 import("BUILD.generated.gni") | 10 import("BUILD.generated.gni") |
| 10 import("BUILD.generated_tests.gni") | 11 import("BUILD.generated_tests.gni") |
| 11 | 12 |
| 12 # Config for us and everybody else depending on BoringSSL. | 13 # Config for us and everybody else depending on BoringSSL. |
| 13 config("external_config") { | 14 config("external_config") { |
| 14 include_dirs = [ "src/include" ] | 15 include_dirs = [ "src/include" ] |
| 15 if (is_component_build) { | 16 if (is_component_build) { |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 # This has no sources on some platforms so must be a source_set. | 59 # This has no sources on some platforms so must be a source_set. |
| 59 source_set("boringssl_asm") { | 60 source_set("boringssl_asm") { |
| 60 visibility = [ ":*" ] # Only targets in this file can depend on this. | 61 visibility = [ ":*" ] # Only targets in this file can depend on this. |
| 61 | 62 |
| 62 defines = [ "BORINGSSL_CLANG_SUPPORTS_DOT_ARCH" ] | 63 defines = [ "BORINGSSL_CLANG_SUPPORTS_DOT_ARCH" ] |
| 63 sources = [] | 64 sources = [] |
| 64 asmflags = [] | 65 asmflags = [] |
| 65 include_dirs = [ "src/include" ] | 66 include_dirs = [ "src/include" ] |
| 66 | 67 |
| 67 if ((current_cpu == "arm" || current_cpu == "arm64") && is_clang) { | 68 if ((current_cpu == "arm" || current_cpu == "arm64") && is_clang) { |
| 68 if (current_cpu == "arm") { | 69 if (current_cpu == "arm" && arm_version != 6) { |
| 69 # TODO(hans) Enable integrated-as (crbug.com/124610). | 70 # TODO(hans) Enable integrated-as (crbug.com/124610). |
| 70 asmflags += [ "-fno-integrated-as" ] | 71 asmflags += [ "-fno-integrated-as" ] |
| 71 } | 72 } |
| 72 if (is_android) { | 73 if (is_android) { |
| 73 rebased_android_toolchain_root = | 74 rebased_android_toolchain_root = |
| 74 rebase_path(android_toolchain_root, root_build_dir) | 75 rebase_path(android_toolchain_root, root_build_dir) |
| 75 | 76 |
| 76 # Else /usr/bin/as gets picked up. | 77 # Else /usr/bin/as gets picked up. |
| 77 asmflags += [ "-B${rebased_android_toolchain_root}/bin" ] | 78 asmflags += [ "-B${rebased_android_toolchain_root}/bin" ] |
| 78 } | 79 } |
| (...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 311 fuzzer_test("boringssl_server_no_fuzzer_mode_fuzzer") { | 312 fuzzer_test("boringssl_server_no_fuzzer_mode_fuzzer") { |
| 312 sources = [ | 313 sources = [ |
| 313 "src/fuzz/server.cc", | 314 "src/fuzz/server.cc", |
| 314 ] | 315 ] |
| 315 deps = [ | 316 deps = [ |
| 316 ":boringssl_fuzzer_no_fuzzer_mode", | 317 ":boringssl_fuzzer_no_fuzzer_mode", |
| 317 ] | 318 ] |
| 318 seed_corpus = "src/fuzz/server_corpus_no_fuzzer_mode" | 319 seed_corpus = "src/fuzz/server_corpus_no_fuzzer_mode" |
| 319 } | 320 } |
| 320 } | 321 } |
| OLD | NEW |