OLD | NEW |
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2013 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 # HOW TO WRITE CONDITIONALS IN THIS FILE | 5 # HOW TO WRITE CONDITIONALS IN THIS FILE |
6 # ====================================== | 6 # ====================================== |
7 # | 7 # |
8 # In many other places, one would write a conditional that expresses all the | 8 # In many other places, one would write a conditional that expresses all the |
9 # cases when a source file is used or unused, and then either add or subtract | 9 # cases when a source file is used or unused, and then either add or subtract |
10 # it from the sources list in that case | 10 # it from the sources list in that case |
11 # | 11 # |
12 # Since base includes so many low-level things that vary widely and | 12 # Since base includes so many low-level things that vary widely and |
13 # unpredictably for the various build types, we prefer a slightly different | 13 # unpredictably for the various build types, we prefer a slightly different |
14 # style. Instead, there are big per-platform blocks of inclusions and | 14 # style. Instead, there are big per-platform blocks of inclusions and |
15 # exclusions. If a given file has an inclusion or exclusion rule that applies | 15 # exclusions. If a given file has an inclusion or exclusion rule that applies |
16 # for multiple conditions, prefer to duplicate it in both lists. This makes it | 16 # for multiple conditions, prefer to duplicate it in both lists. This makes it |
17 # a bit easier to see which files apply in which cases rather than having a | 17 # a bit easier to see which files apply in which cases rather than having a |
18 # huge sequence of random-looking conditionals. | 18 # huge sequence of random-looking conditionals. |
19 | 19 |
20 import("//build/buildflag_header.gni") | 20 import("//build/buildflag_header.gni") |
21 import("//build/config/allocator.gni") | 21 import("//build/config/allocator.gni") |
22 import("//build/config/chromecast_build.gni") | 22 import("//build/config/chromecast_build.gni") |
23 import("//build/config/clang/clang.gni") | 23 import("//build/config/clang/clang.gni") |
24 import("//build/config/compiler/compiler.gni") | 24 import("//build/config/compiler/compiler.gni") |
25 import("//build/config/dcheck_always_on.gni") | 25 import("//build/config/dcheck_always_on.gni") |
26 import("//build/config/nacl/config.gni") | 26 import("//build/config/nacl/config.gni") |
27 import("//build/config/sysroot.gni") | 27 import("//build/config/sysroot.gni") |
28 import("//build/config/ui.gni") | 28 import("//build/config/ui.gni") |
29 import("//build/nocompile.gni") | 29 import("//build/nocompile.gni") |
| 30 import("//testing/libfuzzer/fuzzer_test.gni") |
30 import("//testing/test.gni") | 31 import("//testing/test.gni") |
31 | 32 |
32 declare_args() { | 33 declare_args() { |
33 # Override this value to give a specific build date. | 34 # Override this value to give a specific build date. |
34 # See //base/build_time.cc and //build/write_build_date_header.py for more | 35 # See //base/build_time.cc and //build/write_build_date_header.py for more |
35 # details and the expected format. | 36 # details and the expected format. |
36 override_build_date = "N/A" | 37 override_build_date = "N/A" |
37 } | 38 } |
38 | 39 |
39 if (is_android) { | 40 if (is_android) { |
(...skipping 2408 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2448 testonly = true | 2449 testonly = true |
2449 deps = [ | 2450 deps = [ |
2450 ":base_java", | 2451 ":base_java", |
2451 ] | 2452 ] |
2452 java_files = [ | 2453 java_files = [ |
2453 "test/android/java/src/org/chromium/base/ContentUriTestUtils.java", | 2454 "test/android/java/src/org/chromium/base/ContentUriTestUtils.java", |
2454 "test/android/java/src/org/chromium/base/TestSystemMessageHandler.java", | 2455 "test/android/java/src/org/chromium/base/TestSystemMessageHandler.java", |
2455 ] | 2456 ] |
2456 } | 2457 } |
2457 } | 2458 } |
| 2459 |
| 2460 fuzzer_test("base_json_correctness_fuzzer") { |
| 2461 sources = [ |
| 2462 "json/correctness_fuzzer.cc", |
| 2463 ] |
| 2464 deps = [ |
| 2465 ":base", |
| 2466 ] |
| 2467 } |
OLD | NEW |