Primiano Tucci | ae2879e | 2017-09-27 11:02:09 +0900 | [diff] [blame] | 1 | # Copyright (C) 2017 The Android Open Source Project |
| 2 | # |
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | # you may not use this file except in compliance with the License. |
| 5 | # You may obtain a copy of the License at |
| 6 | # |
| 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | # |
| 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | # See the License for the specific language governing permissions and |
| 13 | # limitations under the License. |
| 14 | |
Florian Mayer | a2fae26 | 2018-08-31 12:10:01 -0700 | [diff] [blame] | 15 | import("../gn/perfetto.gni") |
Primiano Tucci | 02c1176 | 2019-08-30 00:57:59 +0200 | [diff] [blame] | 16 | import("../gn/standalone/libc++/libc++.gni") |
Florian Mayer | 0bea797 | 2019-09-02 15:28:13 +0100 | [diff] [blame] | 17 | import("../gn/standalone/sanitizers/vars.gni") |
Primiano Tucci | 02c1176 | 2019-08-30 00:57:59 +0200 | [diff] [blame] | 18 | |
| 19 | # We should never get here in embedder builds. |
| 20 | assert(perfetto_build_standalone || is_perfetto_build_generator) |
Primiano Tucci | 0825bc8 | 2017-09-28 18:50:23 +0100 | [diff] [blame] | 21 | |
Primiano Tucci | 13ae72f | 2019-06-06 10:53:02 +0100 | [diff] [blame] | 22 | # This is to make sure that we don't add accidental dependencies from build |
| 23 | # files in src/ or include/ to buildtools. All deps (outside of /gn/*) should |
| 24 | # go via the groups defined in gn/BUILD.gn, not directly into buildtools. This |
| 25 | # is to allow embedders to re-route targets to their third_party directories. |
| 26 | _buildtools_visibility = [ |
| 27 | "./*", |
| 28 | "../gn:*", |
| 29 | "../gn/standalone:*", |
| 30 | ] |
| 31 | |
Primiano Tucci | 3cbb10a | 2018-04-10 17:52:40 +0100 | [diff] [blame] | 32 | # Used to suppress warnings coming from googletest macros expansions. |
Primiano Tucci | 919ca1e | 2019-08-21 20:26:58 +0200 | [diff] [blame] | 33 | # These suppressions apply both to gtest/gmock haders and to perfetto's |
| 34 | # test translation units. See test/gtest_and_gmock.h for the subset of |
| 35 | # suppressions that apply only to the gmock/gtest headers. |
Primiano Tucci | 3cbb10a | 2018-04-10 17:52:40 +0100 | [diff] [blame] | 36 | config("test_warning_suppressions") { |
Primiano Tucci | 13ae72f | 2019-06-06 10:53:02 +0100 | [diff] [blame] | 37 | visibility = _buildtools_visibility |
Primiano Tucci | 919ca1e | 2019-08-21 20:26:58 +0200 | [diff] [blame] | 38 | if (is_clang) { |
| 39 | cflags = [ |
| 40 | "-Wno-unknown-warning-option", |
| 41 | "-Wno-global-constructors", |
| 42 | "-Wno-covered-switch-default", |
| 43 | "-Wno-used-but-marked-unused", |
| 44 | "-Wno-inconsistent-missing-override", |
| 45 | "-Wno-unused-member-function", |
| 46 | "-Wno-zero-as-null-pointer-constant", |
| 47 | "-Wno-weak-vtables", |
Primiano Tucci | f68444a | 2020-08-05 11:53:39 +0200 | [diff] [blame] | 48 | "-Wno-suggest-override", |
| 49 | "-Wno-suggest-destructor-override", |
Primiano Tucci | 919ca1e | 2019-08-21 20:26:58 +0200 | [diff] [blame] | 50 | ] |
Matthew Clarkson | 83987d2 | 2019-10-03 17:30:53 +0100 | [diff] [blame] | 51 | } else { |
| 52 | cflags = [ |
| 53 | "-Wno-unknown-warning-option", |
| 54 | "-Wno-deprecated-copy", |
| 55 | ] |
Primiano Tucci | 919ca1e | 2019-08-21 20:26:58 +0200 | [diff] [blame] | 56 | } |
Primiano Tucci | 2a29ac7 | 2017-10-24 17:47:19 +0100 | [diff] [blame] | 57 | } |
| 58 | |
Florian Mayer | 475bd7e | 2018-08-07 20:04:03 +0100 | [diff] [blame] | 59 | config("libunwindstack_config") { |
Primiano Tucci | 13ae72f | 2019-06-06 10:53:02 +0100 | [diff] [blame] | 60 | visibility = _buildtools_visibility |
Florian Mayer | 475bd7e | 2018-08-07 20:04:03 +0100 | [diff] [blame] | 61 | cflags = [ |
| 62 | # Using -isystem instead of include_dirs (-I), so we don't need to suppress |
Florian Mayer | f833566 | 2018-08-08 11:30:32 +0100 | [diff] [blame] | 63 | # warnings coming from libunwindstack headers. Doing so would mask warnings |
| 64 | # in our own code. |
Florian Mayer | 475bd7e | 2018-08-07 20:04:03 +0100 | [diff] [blame] | 65 | "-isystem", |
Florian Mayer | f833566 | 2018-08-08 11:30:32 +0100 | [diff] [blame] | 66 | rebase_path("android-core/libunwindstack/include", root_build_dir), |
Florian Mayer | b64d6b1 | 2018-08-30 10:46:30 -0700 | [diff] [blame] | 67 | "-isystem", |
| 68 | rebase_path("android-core/libprocinfo/include", root_build_dir), |
| 69 | "-isystem", |
| 70 | rebase_path("android-core/base/include", root_build_dir), |
Florian Mayer | 6140f32 | 2019-01-21 15:10:17 +0000 | [diff] [blame] | 71 | "-isystem", |
| 72 | rebase_path("android-core/demangle/include", root_build_dir), |
Florian Mayer | 475bd7e | 2018-08-07 20:04:03 +0100 | [diff] [blame] | 73 | ] |
Florian Mayer | b64d6b1 | 2018-08-30 10:46:30 -0700 | [diff] [blame] | 74 | if (is_android) { |
| 75 | cflags += [ |
| 76 | "-isystem", |
| 77 | rebase_path("bionic/libc/include", root_build_dir), |
| 78 | ] |
| 79 | } |
Florian Mayer | 12adafd | 2019-03-14 21:58:00 -0700 | [diff] [blame] | 80 | defines = [ "NO_LIBDEXFILE_SUPPORT" ] |
Florian Mayer | 475bd7e | 2018-08-07 20:04:03 +0100 | [diff] [blame] | 81 | } |
| 82 | |
Primiano Tucci | 2a29ac7 | 2017-10-24 17:47:19 +0100 | [diff] [blame] | 83 | # Config to include gtest.h in test targets. |
Primiano Tucci | ae2879e | 2017-09-27 11:02:09 +0900 | [diff] [blame] | 84 | config("googletest_config") { |
Primiano Tucci | 13ae72f | 2019-06-06 10:53:02 +0100 | [diff] [blame] | 85 | visibility = _buildtools_visibility |
Primiano Tucci | ae2879e | 2017-09-27 11:02:09 +0900 | [diff] [blame] | 86 | defines = [ "GTEST_LANG_CXX11=1" ] |
Primiano Tucci | 919ca1e | 2019-08-21 20:26:58 +0200 | [diff] [blame] | 87 | include_dirs = [ |
| 88 | "googletest/googletest/include", |
| 89 | "googletest/googlemock/include", |
Primiano Tucci | ae2879e | 2017-09-27 11:02:09 +0900 | [diff] [blame] | 90 | ] |
Primiano Tucci | 3cbb10a | 2018-04-10 17:52:40 +0100 | [diff] [blame] | 91 | configs = [ ":test_warning_suppressions" ] |
Primiano Tucci | ae2879e | 2017-09-27 11:02:09 +0900 | [diff] [blame] | 92 | } |
| 93 | |
| 94 | source_set("gtest") { |
Primiano Tucci | 13ae72f | 2019-06-06 10:53:02 +0100 | [diff] [blame] | 95 | visibility = _buildtools_visibility |
Primiano Tucci | ae2879e | 2017-09-27 11:02:09 +0900 | [diff] [blame] | 96 | testonly = true |
| 97 | include_dirs = [ "googletest/googletest" ] |
Primiano Tucci | 7a40e4d | 2017-12-06 09:51:09 +0000 | [diff] [blame] | 98 | configs -= [ "//gn/standalone:extra_warnings" ] |
Primiano Tucci | ae2879e | 2017-09-27 11:02:09 +0900 | [diff] [blame] | 99 | public_configs = [ ":googletest_config" ] |
| 100 | all_dependent_configs = [ ":googletest_config" ] |
Primiano Tucci | 5e2dbac | 2020-01-27 10:35:27 +0000 | [diff] [blame] | 101 | sources = [ "googletest/googletest/src/gtest-all.cc" ] |
| 102 | deps = [ "//gn:default_deps" ] |
Primiano Tucci | ae2879e | 2017-09-27 11:02:09 +0900 | [diff] [blame] | 103 | } |
| 104 | |
| 105 | source_set("gtest_main") { |
Primiano Tucci | 13ae72f | 2019-06-06 10:53:02 +0100 | [diff] [blame] | 106 | visibility = _buildtools_visibility |
Primiano Tucci | ae2879e | 2017-09-27 11:02:09 +0900 | [diff] [blame] | 107 | testonly = true |
Primiano Tucci | 7a40e4d | 2017-12-06 09:51:09 +0000 | [diff] [blame] | 108 | configs -= [ "//gn/standalone:extra_warnings" ] |
Primiano Tucci | ae2879e | 2017-09-27 11:02:09 +0900 | [diff] [blame] | 109 | configs += [ ":googletest_config" ] |
Primiano Tucci | 5e2dbac | 2020-01-27 10:35:27 +0000 | [diff] [blame] | 110 | sources = [ "googletest/googletest/src/gtest_main.cc" ] |
| 111 | deps = [ "//gn:default_deps" ] |
Primiano Tucci | ae2879e | 2017-09-27 11:02:09 +0900 | [diff] [blame] | 112 | } |
| 113 | |
| 114 | source_set("gmock") { |
Primiano Tucci | 13ae72f | 2019-06-06 10:53:02 +0100 | [diff] [blame] | 115 | visibility = _buildtools_visibility |
Primiano Tucci | ae2879e | 2017-09-27 11:02:09 +0900 | [diff] [blame] | 116 | testonly = true |
| 117 | include_dirs = [ "googletest/googlemock" ] |
Primiano Tucci | 7a40e4d | 2017-12-06 09:51:09 +0000 | [diff] [blame] | 118 | configs -= [ "//gn/standalone:extra_warnings" ] |
Primiano Tucci | ae2879e | 2017-09-27 11:02:09 +0900 | [diff] [blame] | 119 | public_configs = [ ":googletest_config" ] |
| 120 | all_dependent_configs = [ ":googletest_config" ] |
Primiano Tucci | 5e2dbac | 2020-01-27 10:35:27 +0000 | [diff] [blame] | 121 | sources = [ "googletest/googlemock/src/gmock-all.cc" ] |
| 122 | deps = [ "//gn:default_deps" ] |
Primiano Tucci | ae2879e | 2017-09-27 11:02:09 +0900 | [diff] [blame] | 123 | } |
| 124 | |
Primiano Tucci | fd48423 | 2017-10-25 00:15:39 +0100 | [diff] [blame] | 125 | # Configuration used to build libprotobuf_* and the protoc compiler. |
| 126 | config("protobuf_config") { |
Primiano Tucci | 13ae72f | 2019-06-06 10:53:02 +0100 | [diff] [blame] | 127 | visibility = _buildtools_visibility |
| 128 | |
Primiano Tucci | fd48423 | 2017-10-25 00:15:39 +0100 | [diff] [blame] | 129 | # Apply the lighter supressions and macro definitions from above. |
Joel Fernandes | 80fc3cd | 2020-04-01 18:02:57 -0400 | [diff] [blame] | 130 | configs = [ "//gn:protobuf_gen_config" ] |
Primiano Tucci | fd48423 | 2017-10-25 00:15:39 +0100 | [diff] [blame] | 131 | |
Primiano Tucci | fd48423 | 2017-10-25 00:15:39 +0100 | [diff] [blame] | 132 | defines = [ "HAVE_PTHREAD=1" ] |
Hector Dearman | edb3beb | 2017-10-09 17:53:36 +0100 | [diff] [blame] | 133 | if (is_clang) { |
Primiano Tucci | 3cbb10a | 2018-04-10 17:52:40 +0100 | [diff] [blame] | 134 | cflags = [ |
| 135 | "-Wno-unknown-warning-option", |
Primiano Tucci | b60d4b0 | 2017-11-10 11:03:00 +0000 | [diff] [blame] | 136 | "-Wno-enum-compare-switch", |
Primiano Tucci | b60d4b0 | 2017-11-10 11:03:00 +0000 | [diff] [blame] | 137 | "-Wno-user-defined-warnings", |
Florian Mayer | aa5316b | 2018-08-20 17:45:12 -0700 | [diff] [blame] | 138 | "-Wno-tautological-constant-compare", |
Primiano Tucci | ae2879e | 2017-09-27 11:02:09 +0900 | [diff] [blame] | 139 | ] |
Ryan Savitski | e0d8eab | 2019-08-15 19:04:38 +0100 | [diff] [blame] | 140 | } else { # implies gcc |
| 141 | cflags = [ "-Wno-return-type" ] |
Primiano Tucci | ae2879e | 2017-09-27 11:02:09 +0900 | [diff] [blame] | 142 | } |
| 143 | } |
| 144 | |
| 145 | source_set("protobuf_lite") { |
Primiano Tucci | 13ae72f | 2019-06-06 10:53:02 +0100 | [diff] [blame] | 146 | visibility = _buildtools_visibility |
Primiano Tucci | ae2879e | 2017-09-27 11:02:09 +0900 | [diff] [blame] | 147 | sources = [ |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 148 | "protobuf/src/google/protobuf/any_lite.cc", |
Primiano Tucci | ae2879e | 2017-09-27 11:02:09 +0900 | [diff] [blame] | 149 | "protobuf/src/google/protobuf/arena.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 150 | "protobuf/src/google/protobuf/arena.h", |
| 151 | "protobuf/src/google/protobuf/arena_impl.h", |
| 152 | "protobuf/src/google/protobuf/arenastring.h", |
Primiano Tucci | ae2879e | 2017-09-27 11:02:09 +0900 | [diff] [blame] | 153 | "protobuf/src/google/protobuf/extension_set.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 154 | "protobuf/src/google/protobuf/extension_set.h", |
| 155 | "protobuf/src/google/protobuf/generated_enum_util.cc", |
| 156 | "protobuf/src/google/protobuf/generated_enum_util.h", |
| 157 | "protobuf/src/google/protobuf/generated_message_table_driven_lite.cc", |
| 158 | "protobuf/src/google/protobuf/generated_message_table_driven_lite.h", |
Primiano Tucci | ae2879e | 2017-09-27 11:02:09 +0900 | [diff] [blame] | 159 | "protobuf/src/google/protobuf/generated_message_util.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 160 | "protobuf/src/google/protobuf/generated_message_util.h", |
| 161 | "protobuf/src/google/protobuf/has_bits.h", |
| 162 | "protobuf/src/google/protobuf/implicit_weak_message.cc", |
| 163 | "protobuf/src/google/protobuf/implicit_weak_message.h", |
| 164 | "protobuf/src/google/protobuf/inlined_string_field.h", |
Primiano Tucci | ae2879e | 2017-09-27 11:02:09 +0900 | [diff] [blame] | 165 | "protobuf/src/google/protobuf/io/coded_stream.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 166 | "protobuf/src/google/protobuf/io/coded_stream.h", |
| 167 | "protobuf/src/google/protobuf/io/coded_stream_inl.h", |
| 168 | "protobuf/src/google/protobuf/io/io_win32.cc", |
| 169 | "protobuf/src/google/protobuf/io/io_win32.h", |
| 170 | "protobuf/src/google/protobuf/io/strtod.cc", |
| 171 | "protobuf/src/google/protobuf/io/strtod.h", |
Primiano Tucci | ae2879e | 2017-09-27 11:02:09 +0900 | [diff] [blame] | 172 | "protobuf/src/google/protobuf/io/zero_copy_stream.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 173 | "protobuf/src/google/protobuf/io/zero_copy_stream.h", |
| 174 | "protobuf/src/google/protobuf/io/zero_copy_stream_impl.cc", |
| 175 | "protobuf/src/google/protobuf/io/zero_copy_stream_impl.h", |
Primiano Tucci | ae2879e | 2017-09-27 11:02:09 +0900 | [diff] [blame] | 176 | "protobuf/src/google/protobuf/io/zero_copy_stream_impl_lite.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 177 | "protobuf/src/google/protobuf/io/zero_copy_stream_impl_lite.h", |
| 178 | "protobuf/src/google/protobuf/map.h", |
| 179 | "protobuf/src/google/protobuf/map_entry_lite.h", |
| 180 | "protobuf/src/google/protobuf/map_field_lite.h", |
| 181 | "protobuf/src/google/protobuf/map_type_handler.h", |
Primiano Tucci | ae2879e | 2017-09-27 11:02:09 +0900 | [diff] [blame] | 182 | "protobuf/src/google/protobuf/message_lite.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 183 | "protobuf/src/google/protobuf/message_lite.h", |
Primiano Tucci | ae2879e | 2017-09-27 11:02:09 +0900 | [diff] [blame] | 184 | "protobuf/src/google/protobuf/repeated_field.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 185 | "protobuf/src/google/protobuf/repeated_field.h", |
Primiano Tucci | ae2879e | 2017-09-27 11:02:09 +0900 | [diff] [blame] | 186 | "protobuf/src/google/protobuf/stubs/bytestream.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 187 | "protobuf/src/google/protobuf/stubs/bytestream.h", |
| 188 | "protobuf/src/google/protobuf/stubs/callback.h", |
| 189 | "protobuf/src/google/protobuf/stubs/casts.h", |
Primiano Tucci | ae2879e | 2017-09-27 11:02:09 +0900 | [diff] [blame] | 190 | "protobuf/src/google/protobuf/stubs/common.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 191 | "protobuf/src/google/protobuf/stubs/common.h", |
| 192 | "protobuf/src/google/protobuf/stubs/fastmem.h", |
| 193 | "protobuf/src/google/protobuf/stubs/hash.h", |
Primiano Tucci | ae2879e | 2017-09-27 11:02:09 +0900 | [diff] [blame] | 194 | "protobuf/src/google/protobuf/stubs/int128.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 195 | "protobuf/src/google/protobuf/stubs/int128.h", |
| 196 | "protobuf/src/google/protobuf/stubs/logging.h", |
| 197 | "protobuf/src/google/protobuf/stubs/macros.h", |
| 198 | "protobuf/src/google/protobuf/stubs/map_util.h", |
| 199 | "protobuf/src/google/protobuf/stubs/mutex.h", |
| 200 | "protobuf/src/google/protobuf/stubs/once.h", |
| 201 | "protobuf/src/google/protobuf/stubs/platform_macros.h", |
| 202 | "protobuf/src/google/protobuf/stubs/port.h", |
Primiano Tucci | ae2879e | 2017-09-27 11:02:09 +0900 | [diff] [blame] | 203 | "protobuf/src/google/protobuf/stubs/status.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 204 | "protobuf/src/google/protobuf/stubs/status.h", |
| 205 | "protobuf/src/google/protobuf/stubs/status_macros.h", |
Primiano Tucci | ae2879e | 2017-09-27 11:02:09 +0900 | [diff] [blame] | 206 | "protobuf/src/google/protobuf/stubs/statusor.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 207 | "protobuf/src/google/protobuf/stubs/statusor.h", |
| 208 | "protobuf/src/google/protobuf/stubs/stl_util.h", |
Primiano Tucci | ae2879e | 2017-09-27 11:02:09 +0900 | [diff] [blame] | 209 | "protobuf/src/google/protobuf/stubs/stringpiece.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 210 | "protobuf/src/google/protobuf/stubs/stringpiece.h", |
Primiano Tucci | ae2879e | 2017-09-27 11:02:09 +0900 | [diff] [blame] | 211 | "protobuf/src/google/protobuf/stubs/stringprintf.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 212 | "protobuf/src/google/protobuf/stubs/stringprintf.h", |
Primiano Tucci | ae2879e | 2017-09-27 11:02:09 +0900 | [diff] [blame] | 213 | "protobuf/src/google/protobuf/stubs/structurally_valid.cc", |
| 214 | "protobuf/src/google/protobuf/stubs/strutil.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 215 | "protobuf/src/google/protobuf/stubs/strutil.h", |
| 216 | "protobuf/src/google/protobuf/stubs/template_util.h", |
Primiano Tucci | ae2879e | 2017-09-27 11:02:09 +0900 | [diff] [blame] | 217 | "protobuf/src/google/protobuf/stubs/time.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 218 | "protobuf/src/google/protobuf/stubs/time.h", |
Primiano Tucci | ae2879e | 2017-09-27 11:02:09 +0900 | [diff] [blame] | 219 | "protobuf/src/google/protobuf/wire_format_lite.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 220 | "protobuf/src/google/protobuf/wire_format_lite.h", |
Primiano Tucci | ae2879e | 2017-09-27 11:02:09 +0900 | [diff] [blame] | 221 | ] |
Primiano Tucci | 7a40e4d | 2017-12-06 09:51:09 +0000 | [diff] [blame] | 222 | configs -= [ "//gn/standalone:extra_warnings" ] |
Primiano Tucci | 3cbb10a | 2018-04-10 17:52:40 +0100 | [diff] [blame] | 223 | configs += [ ":protobuf_config" ] |
Joel Fernandes | 80fc3cd | 2020-04-01 18:02:57 -0400 | [diff] [blame] | 224 | public_configs = [ "//gn:protobuf_gen_config" ] |
Primiano Tucci | 5e2dbac | 2020-01-27 10:35:27 +0000 | [diff] [blame] | 225 | deps = [ "//gn:default_deps" ] |
Primiano Tucci | ae2879e | 2017-09-27 11:02:09 +0900 | [diff] [blame] | 226 | } |
| 227 | |
| 228 | source_set("protobuf_full") { |
Primiano Tucci | 13ae72f | 2019-06-06 10:53:02 +0100 | [diff] [blame] | 229 | visibility = _buildtools_visibility |
Oystein Eftevaag | dd727e4 | 2017-12-05 08:49:55 -0800 | [diff] [blame] | 230 | deps = [ |
| 231 | ":protobuf_lite", |
Florian Mayer | a85b8fa | 2019-07-11 11:00:48 +0100 | [diff] [blame] | 232 | "//gn:default_deps", |
Oystein Eftevaag | dd727e4 | 2017-12-05 08:49:55 -0800 | [diff] [blame] | 233 | ] |
Primiano Tucci | ae2879e | 2017-09-27 11:02:09 +0900 | [diff] [blame] | 234 | sources = [ |
| 235 | "protobuf/src/google/protobuf/any.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 236 | "protobuf/src/google/protobuf/any.h", |
Primiano Tucci | ae2879e | 2017-09-27 11:02:09 +0900 | [diff] [blame] | 237 | "protobuf/src/google/protobuf/any.pb.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 238 | "protobuf/src/google/protobuf/any.pb.h", |
Primiano Tucci | ae2879e | 2017-09-27 11:02:09 +0900 | [diff] [blame] | 239 | "protobuf/src/google/protobuf/api.pb.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 240 | "protobuf/src/google/protobuf/api.pb.h", |
Primiano Tucci | ae2879e | 2017-09-27 11:02:09 +0900 | [diff] [blame] | 241 | "protobuf/src/google/protobuf/compiler/importer.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 242 | "protobuf/src/google/protobuf/compiler/importer.h", |
Primiano Tucci | ae2879e | 2017-09-27 11:02:09 +0900 | [diff] [blame] | 243 | "protobuf/src/google/protobuf/compiler/parser.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 244 | "protobuf/src/google/protobuf/compiler/parser.h", |
Primiano Tucci | ae2879e | 2017-09-27 11:02:09 +0900 | [diff] [blame] | 245 | "protobuf/src/google/protobuf/descriptor.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 246 | "protobuf/src/google/protobuf/descriptor.h", |
Primiano Tucci | ae2879e | 2017-09-27 11:02:09 +0900 | [diff] [blame] | 247 | "protobuf/src/google/protobuf/descriptor.pb.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 248 | "protobuf/src/google/protobuf/descriptor.pb.h", |
Primiano Tucci | ae2879e | 2017-09-27 11:02:09 +0900 | [diff] [blame] | 249 | "protobuf/src/google/protobuf/descriptor_database.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 250 | "protobuf/src/google/protobuf/descriptor_database.h", |
Primiano Tucci | ae2879e | 2017-09-27 11:02:09 +0900 | [diff] [blame] | 251 | "protobuf/src/google/protobuf/duration.pb.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 252 | "protobuf/src/google/protobuf/duration.pb.h", |
Primiano Tucci | ae2879e | 2017-09-27 11:02:09 +0900 | [diff] [blame] | 253 | "protobuf/src/google/protobuf/dynamic_message.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 254 | "protobuf/src/google/protobuf/dynamic_message.h", |
Primiano Tucci | ae2879e | 2017-09-27 11:02:09 +0900 | [diff] [blame] | 255 | "protobuf/src/google/protobuf/empty.pb.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 256 | "protobuf/src/google/protobuf/empty.pb.h", |
Primiano Tucci | ae2879e | 2017-09-27 11:02:09 +0900 | [diff] [blame] | 257 | "protobuf/src/google/protobuf/extension_set_heavy.cc", |
| 258 | "protobuf/src/google/protobuf/field_mask.pb.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 259 | "protobuf/src/google/protobuf/field_mask.pb.h", |
| 260 | "protobuf/src/google/protobuf/generated_enum_reflection.h", |
Primiano Tucci | ae2879e | 2017-09-27 11:02:09 +0900 | [diff] [blame] | 261 | "protobuf/src/google/protobuf/generated_message_reflection.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 262 | "protobuf/src/google/protobuf/generated_message_reflection.h", |
Primiano Tucci | ae2879e | 2017-09-27 11:02:09 +0900 | [diff] [blame] | 263 | "protobuf/src/google/protobuf/io/gzip_stream.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 264 | "protobuf/src/google/protobuf/io/gzip_stream.h", |
Primiano Tucci | ae2879e | 2017-09-27 11:02:09 +0900 | [diff] [blame] | 265 | "protobuf/src/google/protobuf/io/printer.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 266 | "protobuf/src/google/protobuf/io/printer.h", |
Primiano Tucci | ae2879e | 2017-09-27 11:02:09 +0900 | [diff] [blame] | 267 | "protobuf/src/google/protobuf/io/tokenizer.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 268 | "protobuf/src/google/protobuf/io/tokenizer.h", |
| 269 | "protobuf/src/google/protobuf/map_entry.h", |
Primiano Tucci | ae2879e | 2017-09-27 11:02:09 +0900 | [diff] [blame] | 270 | "protobuf/src/google/protobuf/map_field.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 271 | "protobuf/src/google/protobuf/map_field.h", |
| 272 | "protobuf/src/google/protobuf/map_field_inl.h", |
Primiano Tucci | ae2879e | 2017-09-27 11:02:09 +0900 | [diff] [blame] | 273 | "protobuf/src/google/protobuf/message.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 274 | "protobuf/src/google/protobuf/message.h", |
| 275 | "protobuf/src/google/protobuf/metadata.h", |
| 276 | "protobuf/src/google/protobuf/reflection.h", |
| 277 | "protobuf/src/google/protobuf/reflection_internal.h", |
Primiano Tucci | ae2879e | 2017-09-27 11:02:09 +0900 | [diff] [blame] | 278 | "protobuf/src/google/protobuf/reflection_ops.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 279 | "protobuf/src/google/protobuf/reflection_ops.h", |
Primiano Tucci | ae2879e | 2017-09-27 11:02:09 +0900 | [diff] [blame] | 280 | "protobuf/src/google/protobuf/service.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 281 | "protobuf/src/google/protobuf/service.h", |
Primiano Tucci | ae2879e | 2017-09-27 11:02:09 +0900 | [diff] [blame] | 282 | "protobuf/src/google/protobuf/source_context.pb.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 283 | "protobuf/src/google/protobuf/source_context.pb.h", |
Primiano Tucci | ae2879e | 2017-09-27 11:02:09 +0900 | [diff] [blame] | 284 | "protobuf/src/google/protobuf/struct.pb.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 285 | "protobuf/src/google/protobuf/struct.pb.h", |
Primiano Tucci | ae2879e | 2017-09-27 11:02:09 +0900 | [diff] [blame] | 286 | "protobuf/src/google/protobuf/stubs/mathlimits.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 287 | "protobuf/src/google/protobuf/stubs/mathlimits.h", |
| 288 | "protobuf/src/google/protobuf/stubs/mathutil.h", |
Primiano Tucci | ae2879e | 2017-09-27 11:02:09 +0900 | [diff] [blame] | 289 | "protobuf/src/google/protobuf/stubs/substitute.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 290 | "protobuf/src/google/protobuf/stubs/substitute.h", |
Primiano Tucci | ae2879e | 2017-09-27 11:02:09 +0900 | [diff] [blame] | 291 | "protobuf/src/google/protobuf/text_format.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 292 | "protobuf/src/google/protobuf/text_format.h", |
Primiano Tucci | ae2879e | 2017-09-27 11:02:09 +0900 | [diff] [blame] | 293 | "protobuf/src/google/protobuf/timestamp.pb.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 294 | "protobuf/src/google/protobuf/timestamp.pb.h", |
Primiano Tucci | ae2879e | 2017-09-27 11:02:09 +0900 | [diff] [blame] | 295 | "protobuf/src/google/protobuf/type.pb.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 296 | "protobuf/src/google/protobuf/type.pb.h", |
Primiano Tucci | ae2879e | 2017-09-27 11:02:09 +0900 | [diff] [blame] | 297 | "protobuf/src/google/protobuf/unknown_field_set.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 298 | "protobuf/src/google/protobuf/unknown_field_set.h", |
Primiano Tucci | ae2879e | 2017-09-27 11:02:09 +0900 | [diff] [blame] | 299 | "protobuf/src/google/protobuf/util/field_comparator.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 300 | "protobuf/src/google/protobuf/util/field_comparator.h", |
Primiano Tucci | ae2879e | 2017-09-27 11:02:09 +0900 | [diff] [blame] | 301 | "protobuf/src/google/protobuf/util/field_mask_util.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 302 | "protobuf/src/google/protobuf/util/field_mask_util.h", |
| 303 | "protobuf/src/google/protobuf/util/internal/constants.h", |
Primiano Tucci | ae2879e | 2017-09-27 11:02:09 +0900 | [diff] [blame] | 304 | "protobuf/src/google/protobuf/util/internal/datapiece.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 305 | "protobuf/src/google/protobuf/util/internal/datapiece.h", |
Primiano Tucci | ae2879e | 2017-09-27 11:02:09 +0900 | [diff] [blame] | 306 | "protobuf/src/google/protobuf/util/internal/default_value_objectwriter.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 307 | "protobuf/src/google/protobuf/util/internal/default_value_objectwriter.h", |
Primiano Tucci | ae2879e | 2017-09-27 11:02:09 +0900 | [diff] [blame] | 308 | "protobuf/src/google/protobuf/util/internal/error_listener.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 309 | "protobuf/src/google/protobuf/util/internal/error_listener.h", |
Primiano Tucci | ae2879e | 2017-09-27 11:02:09 +0900 | [diff] [blame] | 310 | "protobuf/src/google/protobuf/util/internal/field_mask_utility.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 311 | "protobuf/src/google/protobuf/util/internal/field_mask_utility.h", |
Primiano Tucci | ae2879e | 2017-09-27 11:02:09 +0900 | [diff] [blame] | 312 | "protobuf/src/google/protobuf/util/internal/json_escaping.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 313 | "protobuf/src/google/protobuf/util/internal/json_escaping.h", |
Primiano Tucci | ae2879e | 2017-09-27 11:02:09 +0900 | [diff] [blame] | 314 | "protobuf/src/google/protobuf/util/internal/json_objectwriter.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 315 | "protobuf/src/google/protobuf/util/internal/json_objectwriter.h", |
Primiano Tucci | ae2879e | 2017-09-27 11:02:09 +0900 | [diff] [blame] | 316 | "protobuf/src/google/protobuf/util/internal/json_stream_parser.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 317 | "protobuf/src/google/protobuf/util/internal/json_stream_parser.h", |
| 318 | "protobuf/src/google/protobuf/util/internal/location_tracker.h", |
| 319 | "protobuf/src/google/protobuf/util/internal/object_location_tracker.h", |
| 320 | "protobuf/src/google/protobuf/util/internal/object_source.h", |
Primiano Tucci | ae2879e | 2017-09-27 11:02:09 +0900 | [diff] [blame] | 321 | "protobuf/src/google/protobuf/util/internal/object_writer.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 322 | "protobuf/src/google/protobuf/util/internal/object_writer.h", |
Primiano Tucci | ae2879e | 2017-09-27 11:02:09 +0900 | [diff] [blame] | 323 | "protobuf/src/google/protobuf/util/internal/proto_writer.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 324 | "protobuf/src/google/protobuf/util/internal/proto_writer.h", |
Primiano Tucci | ae2879e | 2017-09-27 11:02:09 +0900 | [diff] [blame] | 325 | "protobuf/src/google/protobuf/util/internal/protostream_objectsource.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 326 | "protobuf/src/google/protobuf/util/internal/protostream_objectsource.h", |
Primiano Tucci | ae2879e | 2017-09-27 11:02:09 +0900 | [diff] [blame] | 327 | "protobuf/src/google/protobuf/util/internal/protostream_objectwriter.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 328 | "protobuf/src/google/protobuf/util/internal/protostream_objectwriter.h", |
| 329 | "protobuf/src/google/protobuf/util/internal/structured_objectwriter.h", |
Primiano Tucci | ae2879e | 2017-09-27 11:02:09 +0900 | [diff] [blame] | 330 | "protobuf/src/google/protobuf/util/internal/type_info.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 331 | "protobuf/src/google/protobuf/util/internal/type_info.h", |
Primiano Tucci | ae2879e | 2017-09-27 11:02:09 +0900 | [diff] [blame] | 332 | "protobuf/src/google/protobuf/util/internal/type_info_test_helper.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 333 | "protobuf/src/google/protobuf/util/internal/type_info_test_helper.h", |
Primiano Tucci | ae2879e | 2017-09-27 11:02:09 +0900 | [diff] [blame] | 334 | "protobuf/src/google/protobuf/util/internal/utility.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 335 | "protobuf/src/google/protobuf/util/internal/utility.h", |
Primiano Tucci | ae2879e | 2017-09-27 11:02:09 +0900 | [diff] [blame] | 336 | "protobuf/src/google/protobuf/util/json_util.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 337 | "protobuf/src/google/protobuf/util/json_util.h", |
Primiano Tucci | ae2879e | 2017-09-27 11:02:09 +0900 | [diff] [blame] | 338 | "protobuf/src/google/protobuf/util/message_differencer.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 339 | "protobuf/src/google/protobuf/util/message_differencer.h", |
Primiano Tucci | ae2879e | 2017-09-27 11:02:09 +0900 | [diff] [blame] | 340 | "protobuf/src/google/protobuf/util/time_util.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 341 | "protobuf/src/google/protobuf/util/time_util.h", |
| 342 | "protobuf/src/google/protobuf/util/type_resolver.h", |
Primiano Tucci | ae2879e | 2017-09-27 11:02:09 +0900 | [diff] [blame] | 343 | "protobuf/src/google/protobuf/util/type_resolver_util.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 344 | "protobuf/src/google/protobuf/util/type_resolver_util.h", |
Primiano Tucci | ae2879e | 2017-09-27 11:02:09 +0900 | [diff] [blame] | 345 | "protobuf/src/google/protobuf/wire_format.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 346 | "protobuf/src/google/protobuf/wire_format.h", |
Primiano Tucci | ae2879e | 2017-09-27 11:02:09 +0900 | [diff] [blame] | 347 | "protobuf/src/google/protobuf/wrappers.pb.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 348 | "protobuf/src/google/protobuf/wrappers.pb.h", |
Primiano Tucci | ae2879e | 2017-09-27 11:02:09 +0900 | [diff] [blame] | 349 | ] |
Primiano Tucci | 7a40e4d | 2017-12-06 09:51:09 +0000 | [diff] [blame] | 350 | configs -= [ "//gn/standalone:extra_warnings" ] |
Primiano Tucci | 3cbb10a | 2018-04-10 17:52:40 +0100 | [diff] [blame] | 351 | configs += [ ":protobuf_config" ] |
Joel Fernandes | 80fc3cd | 2020-04-01 18:02:57 -0400 | [diff] [blame] | 352 | public_configs = [ "//gn:protobuf_gen_config" ] |
Primiano Tucci | ae2879e | 2017-09-27 11:02:09 +0900 | [diff] [blame] | 353 | } |
| 354 | |
Primiano Tucci | d0001c3 | 2019-09-08 22:45:58 -0700 | [diff] [blame] | 355 | source_set("protoc_lib") { |
| 356 | visibility = _buildtools_visibility |
| 357 | deps = [ |
| 358 | ":protobuf_full", |
| 359 | "//gn:default_deps", |
| 360 | ] |
| 361 | sources = [ |
| 362 | "protobuf/src/google/protobuf/compiler/code_generator.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 363 | "protobuf/src/google/protobuf/compiler/code_generator.h", |
Primiano Tucci | d0001c3 | 2019-09-08 22:45:58 -0700 | [diff] [blame] | 364 | "protobuf/src/google/protobuf/compiler/command_line_interface.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 365 | "protobuf/src/google/protobuf/compiler/command_line_interface.h", |
Primiano Tucci | d0001c3 | 2019-09-08 22:45:58 -0700 | [diff] [blame] | 366 | "protobuf/src/google/protobuf/compiler/cpp/cpp_enum.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 367 | "protobuf/src/google/protobuf/compiler/cpp/cpp_enum.h", |
Primiano Tucci | d0001c3 | 2019-09-08 22:45:58 -0700 | [diff] [blame] | 368 | "protobuf/src/google/protobuf/compiler/cpp/cpp_enum_field.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 369 | "protobuf/src/google/protobuf/compiler/cpp/cpp_enum_field.h", |
Primiano Tucci | d0001c3 | 2019-09-08 22:45:58 -0700 | [diff] [blame] | 370 | "protobuf/src/google/protobuf/compiler/cpp/cpp_extension.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 371 | "protobuf/src/google/protobuf/compiler/cpp/cpp_extension.h", |
Primiano Tucci | d0001c3 | 2019-09-08 22:45:58 -0700 | [diff] [blame] | 372 | "protobuf/src/google/protobuf/compiler/cpp/cpp_field.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 373 | "protobuf/src/google/protobuf/compiler/cpp/cpp_field.h", |
Primiano Tucci | d0001c3 | 2019-09-08 22:45:58 -0700 | [diff] [blame] | 374 | "protobuf/src/google/protobuf/compiler/cpp/cpp_file.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 375 | "protobuf/src/google/protobuf/compiler/cpp/cpp_file.h", |
Primiano Tucci | d0001c3 | 2019-09-08 22:45:58 -0700 | [diff] [blame] | 376 | "protobuf/src/google/protobuf/compiler/cpp/cpp_generator.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 377 | "protobuf/src/google/protobuf/compiler/cpp/cpp_generator.h", |
Primiano Tucci | d0001c3 | 2019-09-08 22:45:58 -0700 | [diff] [blame] | 378 | "protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 379 | "protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.h", |
Primiano Tucci | d0001c3 | 2019-09-08 22:45:58 -0700 | [diff] [blame] | 380 | "protobuf/src/google/protobuf/compiler/cpp/cpp_map_field.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 381 | "protobuf/src/google/protobuf/compiler/cpp/cpp_map_field.h", |
Primiano Tucci | d0001c3 | 2019-09-08 22:45:58 -0700 | [diff] [blame] | 382 | "protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 383 | "protobuf/src/google/protobuf/compiler/cpp/cpp_message.h", |
Primiano Tucci | d0001c3 | 2019-09-08 22:45:58 -0700 | [diff] [blame] | 384 | "protobuf/src/google/protobuf/compiler/cpp/cpp_message_field.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 385 | "protobuf/src/google/protobuf/compiler/cpp/cpp_message_field.h", |
| 386 | "protobuf/src/google/protobuf/compiler/cpp/cpp_message_layout_helper.h", |
| 387 | "protobuf/src/google/protobuf/compiler/cpp/cpp_options.h", |
| 388 | "protobuf/src/google/protobuf/compiler/cpp/cpp_padding_optimizer.cc", |
| 389 | "protobuf/src/google/protobuf/compiler/cpp/cpp_padding_optimizer.h", |
Primiano Tucci | d0001c3 | 2019-09-08 22:45:58 -0700 | [diff] [blame] | 390 | "protobuf/src/google/protobuf/compiler/cpp/cpp_primitive_field.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 391 | "protobuf/src/google/protobuf/compiler/cpp/cpp_primitive_field.h", |
Primiano Tucci | d0001c3 | 2019-09-08 22:45:58 -0700 | [diff] [blame] | 392 | "protobuf/src/google/protobuf/compiler/cpp/cpp_service.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 393 | "protobuf/src/google/protobuf/compiler/cpp/cpp_service.h", |
Primiano Tucci | d0001c3 | 2019-09-08 22:45:58 -0700 | [diff] [blame] | 394 | "protobuf/src/google/protobuf/compiler/cpp/cpp_string_field.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 395 | "protobuf/src/google/protobuf/compiler/cpp/cpp_string_field.h", |
Primiano Tucci | d0001c3 | 2019-09-08 22:45:58 -0700 | [diff] [blame] | 396 | "protobuf/src/google/protobuf/compiler/csharp/csharp_doc_comment.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 397 | "protobuf/src/google/protobuf/compiler/csharp/csharp_doc_comment.h", |
Primiano Tucci | d0001c3 | 2019-09-08 22:45:58 -0700 | [diff] [blame] | 398 | "protobuf/src/google/protobuf/compiler/csharp/csharp_enum.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 399 | "protobuf/src/google/protobuf/compiler/csharp/csharp_enum.h", |
Primiano Tucci | d0001c3 | 2019-09-08 22:45:58 -0700 | [diff] [blame] | 400 | "protobuf/src/google/protobuf/compiler/csharp/csharp_enum_field.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 401 | "protobuf/src/google/protobuf/compiler/csharp/csharp_enum_field.h", |
Primiano Tucci | d0001c3 | 2019-09-08 22:45:58 -0700 | [diff] [blame] | 402 | "protobuf/src/google/protobuf/compiler/csharp/csharp_field_base.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 403 | "protobuf/src/google/protobuf/compiler/csharp/csharp_field_base.h", |
Primiano Tucci | d0001c3 | 2019-09-08 22:45:58 -0700 | [diff] [blame] | 404 | "protobuf/src/google/protobuf/compiler/csharp/csharp_generator.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 405 | "protobuf/src/google/protobuf/compiler/csharp/csharp_generator.h", |
Primiano Tucci | d0001c3 | 2019-09-08 22:45:58 -0700 | [diff] [blame] | 406 | "protobuf/src/google/protobuf/compiler/csharp/csharp_helpers.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 407 | "protobuf/src/google/protobuf/compiler/csharp/csharp_helpers.h", |
Primiano Tucci | d0001c3 | 2019-09-08 22:45:58 -0700 | [diff] [blame] | 408 | "protobuf/src/google/protobuf/compiler/csharp/csharp_map_field.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 409 | "protobuf/src/google/protobuf/compiler/csharp/csharp_map_field.h", |
Primiano Tucci | d0001c3 | 2019-09-08 22:45:58 -0700 | [diff] [blame] | 410 | "protobuf/src/google/protobuf/compiler/csharp/csharp_message.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 411 | "protobuf/src/google/protobuf/compiler/csharp/csharp_message.h", |
Primiano Tucci | d0001c3 | 2019-09-08 22:45:58 -0700 | [diff] [blame] | 412 | "protobuf/src/google/protobuf/compiler/csharp/csharp_message_field.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 413 | "protobuf/src/google/protobuf/compiler/csharp/csharp_message_field.h", |
| 414 | "protobuf/src/google/protobuf/compiler/csharp/csharp_options.h", |
Primiano Tucci | d0001c3 | 2019-09-08 22:45:58 -0700 | [diff] [blame] | 415 | "protobuf/src/google/protobuf/compiler/csharp/csharp_primitive_field.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 416 | "protobuf/src/google/protobuf/compiler/csharp/csharp_primitive_field.h", |
Primiano Tucci | d0001c3 | 2019-09-08 22:45:58 -0700 | [diff] [blame] | 417 | "protobuf/src/google/protobuf/compiler/csharp/csharp_reflection_class.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 418 | "protobuf/src/google/protobuf/compiler/csharp/csharp_reflection_class.h", |
Primiano Tucci | d0001c3 | 2019-09-08 22:45:58 -0700 | [diff] [blame] | 419 | "protobuf/src/google/protobuf/compiler/csharp/csharp_repeated_enum_field.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 420 | "protobuf/src/google/protobuf/compiler/csharp/csharp_repeated_enum_field.h", |
Primiano Tucci | d0001c3 | 2019-09-08 22:45:58 -0700 | [diff] [blame] | 421 | "protobuf/src/google/protobuf/compiler/csharp/csharp_repeated_message_field.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 422 | "protobuf/src/google/protobuf/compiler/csharp/csharp_repeated_message_field.h", |
Primiano Tucci | d0001c3 | 2019-09-08 22:45:58 -0700 | [diff] [blame] | 423 | "protobuf/src/google/protobuf/compiler/csharp/csharp_repeated_primitive_field.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 424 | "protobuf/src/google/protobuf/compiler/csharp/csharp_repeated_primitive_field.h", |
Primiano Tucci | d0001c3 | 2019-09-08 22:45:58 -0700 | [diff] [blame] | 425 | "protobuf/src/google/protobuf/compiler/csharp/csharp_source_generator_base.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 426 | "protobuf/src/google/protobuf/compiler/csharp/csharp_source_generator_base.h", |
Primiano Tucci | d0001c3 | 2019-09-08 22:45:58 -0700 | [diff] [blame] | 427 | "protobuf/src/google/protobuf/compiler/csharp/csharp_wrapper_field.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 428 | "protobuf/src/google/protobuf/compiler/csharp/csharp_wrapper_field.h", |
Primiano Tucci | d0001c3 | 2019-09-08 22:45:58 -0700 | [diff] [blame] | 429 | "protobuf/src/google/protobuf/compiler/java/java_context.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 430 | "protobuf/src/google/protobuf/compiler/java/java_context.h", |
Primiano Tucci | d0001c3 | 2019-09-08 22:45:58 -0700 | [diff] [blame] | 431 | "protobuf/src/google/protobuf/compiler/java/java_doc_comment.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 432 | "protobuf/src/google/protobuf/compiler/java/java_doc_comment.h", |
Primiano Tucci | d0001c3 | 2019-09-08 22:45:58 -0700 | [diff] [blame] | 433 | "protobuf/src/google/protobuf/compiler/java/java_enum.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 434 | "protobuf/src/google/protobuf/compiler/java/java_enum.h", |
Primiano Tucci | d0001c3 | 2019-09-08 22:45:58 -0700 | [diff] [blame] | 435 | "protobuf/src/google/protobuf/compiler/java/java_enum_field.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 436 | "protobuf/src/google/protobuf/compiler/java/java_enum_field.h", |
Primiano Tucci | d0001c3 | 2019-09-08 22:45:58 -0700 | [diff] [blame] | 437 | "protobuf/src/google/protobuf/compiler/java/java_enum_field_lite.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 438 | "protobuf/src/google/protobuf/compiler/java/java_enum_field_lite.h", |
Primiano Tucci | d0001c3 | 2019-09-08 22:45:58 -0700 | [diff] [blame] | 439 | "protobuf/src/google/protobuf/compiler/java/java_enum_lite.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 440 | "protobuf/src/google/protobuf/compiler/java/java_enum_lite.h", |
Primiano Tucci | d0001c3 | 2019-09-08 22:45:58 -0700 | [diff] [blame] | 441 | "protobuf/src/google/protobuf/compiler/java/java_extension.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 442 | "protobuf/src/google/protobuf/compiler/java/java_extension.h", |
Primiano Tucci | d0001c3 | 2019-09-08 22:45:58 -0700 | [diff] [blame] | 443 | "protobuf/src/google/protobuf/compiler/java/java_extension_lite.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 444 | "protobuf/src/google/protobuf/compiler/java/java_extension_lite.h", |
Primiano Tucci | d0001c3 | 2019-09-08 22:45:58 -0700 | [diff] [blame] | 445 | "protobuf/src/google/protobuf/compiler/java/java_field.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 446 | "protobuf/src/google/protobuf/compiler/java/java_field.h", |
Primiano Tucci | d0001c3 | 2019-09-08 22:45:58 -0700 | [diff] [blame] | 447 | "protobuf/src/google/protobuf/compiler/java/java_file.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 448 | "protobuf/src/google/protobuf/compiler/java/java_file.h", |
Primiano Tucci | d0001c3 | 2019-09-08 22:45:58 -0700 | [diff] [blame] | 449 | "protobuf/src/google/protobuf/compiler/java/java_generator.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 450 | "protobuf/src/google/protobuf/compiler/java/java_generator.h", |
Primiano Tucci | d0001c3 | 2019-09-08 22:45:58 -0700 | [diff] [blame] | 451 | "protobuf/src/google/protobuf/compiler/java/java_generator_factory.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 452 | "protobuf/src/google/protobuf/compiler/java/java_generator_factory.h", |
Primiano Tucci | d0001c3 | 2019-09-08 22:45:58 -0700 | [diff] [blame] | 453 | "protobuf/src/google/protobuf/compiler/java/java_helpers.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 454 | "protobuf/src/google/protobuf/compiler/java/java_helpers.h", |
Primiano Tucci | d0001c3 | 2019-09-08 22:45:58 -0700 | [diff] [blame] | 455 | "protobuf/src/google/protobuf/compiler/java/java_map_field.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 456 | "protobuf/src/google/protobuf/compiler/java/java_map_field.h", |
Primiano Tucci | d0001c3 | 2019-09-08 22:45:58 -0700 | [diff] [blame] | 457 | "protobuf/src/google/protobuf/compiler/java/java_map_field_lite.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 458 | "protobuf/src/google/protobuf/compiler/java/java_map_field_lite.h", |
Primiano Tucci | d0001c3 | 2019-09-08 22:45:58 -0700 | [diff] [blame] | 459 | "protobuf/src/google/protobuf/compiler/java/java_message.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 460 | "protobuf/src/google/protobuf/compiler/java/java_message.h", |
Primiano Tucci | d0001c3 | 2019-09-08 22:45:58 -0700 | [diff] [blame] | 461 | "protobuf/src/google/protobuf/compiler/java/java_message_builder.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 462 | "protobuf/src/google/protobuf/compiler/java/java_message_builder.h", |
Primiano Tucci | d0001c3 | 2019-09-08 22:45:58 -0700 | [diff] [blame] | 463 | "protobuf/src/google/protobuf/compiler/java/java_message_builder_lite.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 464 | "protobuf/src/google/protobuf/compiler/java/java_message_builder_lite.h", |
Primiano Tucci | d0001c3 | 2019-09-08 22:45:58 -0700 | [diff] [blame] | 465 | "protobuf/src/google/protobuf/compiler/java/java_message_field.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 466 | "protobuf/src/google/protobuf/compiler/java/java_message_field.h", |
Primiano Tucci | d0001c3 | 2019-09-08 22:45:58 -0700 | [diff] [blame] | 467 | "protobuf/src/google/protobuf/compiler/java/java_message_field_lite.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 468 | "protobuf/src/google/protobuf/compiler/java/java_message_field_lite.h", |
Primiano Tucci | d0001c3 | 2019-09-08 22:45:58 -0700 | [diff] [blame] | 469 | "protobuf/src/google/protobuf/compiler/java/java_message_lite.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 470 | "protobuf/src/google/protobuf/compiler/java/java_message_lite.h", |
Primiano Tucci | d0001c3 | 2019-09-08 22:45:58 -0700 | [diff] [blame] | 471 | "protobuf/src/google/protobuf/compiler/java/java_name_resolver.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 472 | "protobuf/src/google/protobuf/compiler/java/java_name_resolver.h", |
| 473 | "protobuf/src/google/protobuf/compiler/java/java_options.h", |
Primiano Tucci | d0001c3 | 2019-09-08 22:45:58 -0700 | [diff] [blame] | 474 | "protobuf/src/google/protobuf/compiler/java/java_primitive_field.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 475 | "protobuf/src/google/protobuf/compiler/java/java_primitive_field.h", |
Primiano Tucci | d0001c3 | 2019-09-08 22:45:58 -0700 | [diff] [blame] | 476 | "protobuf/src/google/protobuf/compiler/java/java_primitive_field_lite.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 477 | "protobuf/src/google/protobuf/compiler/java/java_primitive_field_lite.h", |
Primiano Tucci | d0001c3 | 2019-09-08 22:45:58 -0700 | [diff] [blame] | 478 | "protobuf/src/google/protobuf/compiler/java/java_service.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 479 | "protobuf/src/google/protobuf/compiler/java/java_service.h", |
Primiano Tucci | d0001c3 | 2019-09-08 22:45:58 -0700 | [diff] [blame] | 480 | "protobuf/src/google/protobuf/compiler/java/java_shared_code_generator.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 481 | "protobuf/src/google/protobuf/compiler/java/java_shared_code_generator.h", |
Primiano Tucci | d0001c3 | 2019-09-08 22:45:58 -0700 | [diff] [blame] | 482 | "protobuf/src/google/protobuf/compiler/java/java_string_field.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 483 | "protobuf/src/google/protobuf/compiler/java/java_string_field.h", |
Primiano Tucci | d0001c3 | 2019-09-08 22:45:58 -0700 | [diff] [blame] | 484 | "protobuf/src/google/protobuf/compiler/java/java_string_field_lite.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 485 | "protobuf/src/google/protobuf/compiler/java/java_string_field_lite.h", |
Primiano Tucci | d0001c3 | 2019-09-08 22:45:58 -0700 | [diff] [blame] | 486 | "protobuf/src/google/protobuf/compiler/js/js_generator.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 487 | "protobuf/src/google/protobuf/compiler/js/js_generator.h", |
| 488 | "protobuf/src/google/protobuf/compiler/js/well_known_types_embed.cc", |
| 489 | "protobuf/src/google/protobuf/compiler/js/well_known_types_embed.h", |
Primiano Tucci | d0001c3 | 2019-09-08 22:45:58 -0700 | [diff] [blame] | 490 | "protobuf/src/google/protobuf/compiler/objectivec/objectivec_enum.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 491 | "protobuf/src/google/protobuf/compiler/objectivec/objectivec_enum.h", |
Primiano Tucci | d0001c3 | 2019-09-08 22:45:58 -0700 | [diff] [blame] | 492 | "protobuf/src/google/protobuf/compiler/objectivec/objectivec_enum_field.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 493 | "protobuf/src/google/protobuf/compiler/objectivec/objectivec_enum_field.h", |
Primiano Tucci | d0001c3 | 2019-09-08 22:45:58 -0700 | [diff] [blame] | 494 | "protobuf/src/google/protobuf/compiler/objectivec/objectivec_extension.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 495 | "protobuf/src/google/protobuf/compiler/objectivec/objectivec_extension.h", |
Primiano Tucci | d0001c3 | 2019-09-08 22:45:58 -0700 | [diff] [blame] | 496 | "protobuf/src/google/protobuf/compiler/objectivec/objectivec_field.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 497 | "protobuf/src/google/protobuf/compiler/objectivec/objectivec_field.h", |
Primiano Tucci | d0001c3 | 2019-09-08 22:45:58 -0700 | [diff] [blame] | 498 | "protobuf/src/google/protobuf/compiler/objectivec/objectivec_file.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 499 | "protobuf/src/google/protobuf/compiler/objectivec/objectivec_file.h", |
Primiano Tucci | d0001c3 | 2019-09-08 22:45:58 -0700 | [diff] [blame] | 500 | "protobuf/src/google/protobuf/compiler/objectivec/objectivec_generator.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 501 | "protobuf/src/google/protobuf/compiler/objectivec/objectivec_generator.h", |
Primiano Tucci | d0001c3 | 2019-09-08 22:45:58 -0700 | [diff] [blame] | 502 | "protobuf/src/google/protobuf/compiler/objectivec/objectivec_helpers.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 503 | "protobuf/src/google/protobuf/compiler/objectivec/objectivec_helpers.h", |
Primiano Tucci | d0001c3 | 2019-09-08 22:45:58 -0700 | [diff] [blame] | 504 | "protobuf/src/google/protobuf/compiler/objectivec/objectivec_map_field.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 505 | "protobuf/src/google/protobuf/compiler/objectivec/objectivec_map_field.h", |
Primiano Tucci | d0001c3 | 2019-09-08 22:45:58 -0700 | [diff] [blame] | 506 | "protobuf/src/google/protobuf/compiler/objectivec/objectivec_message.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 507 | "protobuf/src/google/protobuf/compiler/objectivec/objectivec_message.h", |
Primiano Tucci | d0001c3 | 2019-09-08 22:45:58 -0700 | [diff] [blame] | 508 | "protobuf/src/google/protobuf/compiler/objectivec/objectivec_message_field.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 509 | "protobuf/src/google/protobuf/compiler/objectivec/objectivec_message_field.h", |
Primiano Tucci | d0001c3 | 2019-09-08 22:45:58 -0700 | [diff] [blame] | 510 | "protobuf/src/google/protobuf/compiler/objectivec/objectivec_oneof.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 511 | "protobuf/src/google/protobuf/compiler/objectivec/objectivec_oneof.h", |
Primiano Tucci | d0001c3 | 2019-09-08 22:45:58 -0700 | [diff] [blame] | 512 | "protobuf/src/google/protobuf/compiler/objectivec/objectivec_primitive_field.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 513 | "protobuf/src/google/protobuf/compiler/objectivec/objectivec_primitive_field.h", |
| 514 | "protobuf/src/google/protobuf/compiler/php/php_generator.cc", |
| 515 | "protobuf/src/google/protobuf/compiler/php/php_generator.h", |
Primiano Tucci | d0001c3 | 2019-09-08 22:45:58 -0700 | [diff] [blame] | 516 | "protobuf/src/google/protobuf/compiler/plugin.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 517 | "protobuf/src/google/protobuf/compiler/plugin.h", |
Primiano Tucci | d0001c3 | 2019-09-08 22:45:58 -0700 | [diff] [blame] | 518 | "protobuf/src/google/protobuf/compiler/plugin.pb.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 519 | "protobuf/src/google/protobuf/compiler/plugin.pb.h", |
Primiano Tucci | d0001c3 | 2019-09-08 22:45:58 -0700 | [diff] [blame] | 520 | "protobuf/src/google/protobuf/compiler/python/python_generator.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 521 | "protobuf/src/google/protobuf/compiler/python/python_generator.h", |
Primiano Tucci | d0001c3 | 2019-09-08 22:45:58 -0700 | [diff] [blame] | 522 | "protobuf/src/google/protobuf/compiler/ruby/ruby_generator.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 523 | "protobuf/src/google/protobuf/compiler/ruby/ruby_generator.h", |
Primiano Tucci | d0001c3 | 2019-09-08 22:45:58 -0700 | [diff] [blame] | 524 | "protobuf/src/google/protobuf/compiler/subprocess.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 525 | "protobuf/src/google/protobuf/compiler/subprocess.h", |
Primiano Tucci | d0001c3 | 2019-09-08 22:45:58 -0700 | [diff] [blame] | 526 | "protobuf/src/google/protobuf/compiler/zip_writer.cc", |
Primiano Tucci | f550b25 | 2019-12-03 11:06:02 +0000 | [diff] [blame] | 527 | "protobuf/src/google/protobuf/compiler/zip_writer.h", |
Primiano Tucci | d0001c3 | 2019-09-08 22:45:58 -0700 | [diff] [blame] | 528 | ] |
| 529 | configs -= [ "//gn/standalone:extra_warnings" ] |
| 530 | configs += [ ":protobuf_config" ] |
Joel Fernandes | 80fc3cd | 2020-04-01 18:02:57 -0400 | [diff] [blame] | 531 | public_configs = [ "//gn:protobuf_gen_config" ] |
Primiano Tucci | d0001c3 | 2019-09-08 22:45:58 -0700 | [diff] [blame] | 532 | } |
Primiano Tucci | fd48423 | 2017-10-25 00:15:39 +0100 | [diff] [blame] | 533 | |
Primiano Tucci | d0001c3 | 2019-09-08 22:45:58 -0700 | [diff] [blame] | 534 | if (current_toolchain == host_toolchain) { |
Primiano Tucci | fd48423 | 2017-10-25 00:15:39 +0100 | [diff] [blame] | 535 | executable("protoc") { |
Primiano Tucci | 13ae72f | 2019-06-06 10:53:02 +0100 | [diff] [blame] | 536 | visibility = _buildtools_visibility |
Oystein Eftevaag | dd727e4 | 2017-12-05 08:49:55 -0800 | [diff] [blame] | 537 | deps = [ |
| 538 | ":protoc_lib", |
Primiano Tucci | 3cbb10a | 2018-04-10 17:52:40 +0100 | [diff] [blame] | 539 | "//gn:default_deps", |
Oystein Eftevaag | dd727e4 | 2017-12-05 08:49:55 -0800 | [diff] [blame] | 540 | ] |
Primiano Tucci | 5e2dbac | 2020-01-27 10:35:27 +0000 | [diff] [blame] | 541 | sources = [ "protobuf/src/google/protobuf/compiler/main.cc" ] |
Primiano Tucci | 7a40e4d | 2017-12-06 09:51:09 +0000 | [diff] [blame] | 542 | configs -= [ "//gn/standalone:extra_warnings" ] |
Primiano Tucci | fd48423 | 2017-10-25 00:15:39 +0100 | [diff] [blame] | 543 | } |
Primiano Tucci | ae2879e | 2017-09-27 11:02:09 +0900 | [diff] [blame] | 544 | } # host_toolchain |
Primiano Tucci | 0825bc8 | 2017-09-28 18:50:23 +0100 | [diff] [blame] | 545 | |
| 546 | if (use_custom_libcxx) { |
| 547 | # Config applied to both libc++ and libc++abi targets below. |
| 548 | config("libc++config") { |
Primiano Tucci | 13ae72f | 2019-06-06 10:53:02 +0100 | [diff] [blame] | 549 | visibility = _buildtools_visibility |
Primiano Tucci | 0825bc8 | 2017-09-28 18:50:23 +0100 | [diff] [blame] | 550 | defines = [ |
| 551 | "LIBCXX_BUILDING_LIBCXXABI", |
| 552 | "_LIBCXXABI_NO_EXCEPTIONS", |
| 553 | "_LIBCPP_OVERRIDABLE_FUNC_VIS=__attribute__((__visibility__(\"default\")))", |
| 554 | ] |
| 555 | cflags = [ |
| 556 | "-fPIC", |
| 557 | "-fstrict-aliasing", |
| 558 | ] |
| 559 | } |
| 560 | |
Primiano Tucci | 7278dea | 2017-10-31 11:50:32 +0000 | [diff] [blame] | 561 | source_set("libunwind") { |
Primiano Tucci | 13ae72f | 2019-06-06 10:53:02 +0100 | [diff] [blame] | 562 | visibility = _buildtools_visibility |
Primiano Tucci | 7278dea | 2017-10-31 11:50:32 +0000 | [diff] [blame] | 563 | sources = [ |
| 564 | "libunwind/src/Unwind-EHABI.cpp", |
| 565 | "libunwind/src/Unwind-sjlj.c", |
| 566 | "libunwind/src/UnwindLevel1-gcc-ext.c", |
| 567 | "libunwind/src/UnwindLevel1.c", |
| 568 | "libunwind/src/UnwindRegistersRestore.S", |
| 569 | "libunwind/src/UnwindRegistersSave.S", |
| 570 | "libunwind/src/libunwind.cpp", |
| 571 | ] |
| 572 | include_dirs = [ "libunwind/include" ] |
| 573 | configs -= [ |
Primiano Tucci | 7a40e4d | 2017-12-06 09:51:09 +0000 | [diff] [blame] | 574 | "//gn/standalone:extra_warnings", |
| 575 | "//gn/standalone:no_exceptions", |
| 576 | "//gn/standalone:no_rtti", |
Primiano Tucci | 7278dea | 2017-10-31 11:50:32 +0000 | [diff] [blame] | 577 | |
| 578 | # When building with msan, libunwind itself triggers memory violations |
| 579 | # that causes msan to get stuck into an infinite loop. Just don't |
| 580 | # instrument libunwind itself. |
Primiano Tucci | 7a40e4d | 2017-12-06 09:51:09 +0000 | [diff] [blame] | 581 | "//gn/standalone/sanitizers:sanitizers_cflags", |
Primiano Tucci | 7278dea | 2017-10-31 11:50:32 +0000 | [diff] [blame] | 582 | ] |
| 583 | configs += [ |
| 584 | ":libc++config", |
Primiano Tucci | 7a40e4d | 2017-12-06 09:51:09 +0000 | [diff] [blame] | 585 | "//gn/standalone/sanitizers:sanitizer_options_link_helper", |
Primiano Tucci | 7278dea | 2017-10-31 11:50:32 +0000 | [diff] [blame] | 586 | ] |
| 587 | } |
| 588 | |
Primiano Tucci | 0825bc8 | 2017-09-28 18:50:23 +0100 | [diff] [blame] | 589 | source_set("libc++abi") { |
Primiano Tucci | 13ae72f | 2019-06-06 10:53:02 +0100 | [diff] [blame] | 590 | visibility = _buildtools_visibility |
Primiano Tucci | 0825bc8 | 2017-09-28 18:50:23 +0100 | [diff] [blame] | 591 | sources = [ |
| 592 | "libcxxabi/src/abort_message.cpp", |
| 593 | "libcxxabi/src/cxa_aux_runtime.cpp", |
| 594 | "libcxxabi/src/cxa_default_handlers.cpp", |
| 595 | "libcxxabi/src/cxa_demangle.cpp", |
| 596 | "libcxxabi/src/cxa_exception.cpp", |
| 597 | "libcxxabi/src/cxa_exception_storage.cpp", |
| 598 | "libcxxabi/src/cxa_guard.cpp", |
| 599 | "libcxxabi/src/cxa_handlers.cpp", |
| 600 | "libcxxabi/src/cxa_personality.cpp", |
| 601 | "libcxxabi/src/cxa_unexpected.cpp", |
| 602 | "libcxxabi/src/cxa_vector.cpp", |
| 603 | "libcxxabi/src/cxa_virtual.cpp", |
| 604 | "libcxxabi/src/fallback_malloc.cpp", |
| 605 | "libcxxabi/src/private_typeinfo.cpp", |
| 606 | "libcxxabi/src/stdlib_exception.cpp", |
| 607 | "libcxxabi/src/stdlib_stdexcept.cpp", |
| 608 | "libcxxabi/src/stdlib_typeinfo.cpp", |
| 609 | ] |
| 610 | |
| 611 | # On linux this seems to introduce an unwanted glibc 2.18 dependency. |
| 612 | if (is_android) { |
| 613 | sources += [ "libcxxabi/src/cxa_thread_atexit.cpp" ] |
| 614 | } |
| 615 | configs -= [ |
Primiano Tucci | 7a40e4d | 2017-12-06 09:51:09 +0000 | [diff] [blame] | 616 | "//gn/standalone:extra_warnings", |
| 617 | "//gn/standalone:no_exceptions", |
| 618 | "//gn/standalone:no_rtti", |
Primiano Tucci | 5aab758 | 2017-12-07 12:22:03 +0000 | [diff] [blame] | 619 | "//gn/standalone:visibility_hidden", |
Primiano Tucci | 0825bc8 | 2017-09-28 18:50:23 +0100 | [diff] [blame] | 620 | ] |
| 621 | configs += [ |
| 622 | ":libc++config", |
Primiano Tucci | 7a40e4d | 2017-12-06 09:51:09 +0000 | [diff] [blame] | 623 | "//gn/standalone/sanitizers:sanitizer_options_link_helper", |
Primiano Tucci | 0825bc8 | 2017-09-28 18:50:23 +0100 | [diff] [blame] | 624 | ] |
Primiano Tucci | 5e2dbac | 2020-01-27 10:35:27 +0000 | [diff] [blame] | 625 | deps = [ ":libunwind" ] |
Primiano Tucci | 0825bc8 | 2017-09-28 18:50:23 +0100 | [diff] [blame] | 626 | } |
| 627 | |
Primiano Tucci | 7278dea | 2017-10-31 11:50:32 +0000 | [diff] [blame] | 628 | if (custom_libcxx_is_static) { |
| 629 | libcxx_target_type = "source_set" |
| 630 | } else { |
| 631 | libcxx_target_type = "shared_library" |
| 632 | } |
| 633 | |
| 634 | target(libcxx_target_type, "libc++") { |
Primiano Tucci | 13ae72f | 2019-06-06 10:53:02 +0100 | [diff] [blame] | 635 | visibility = _buildtools_visibility |
| 636 | visibility += [ "../gn/standalone/libc++:*" ] |
Primiano Tucci | 0825bc8 | 2017-09-28 18:50:23 +0100 | [diff] [blame] | 637 | sources = [ |
| 638 | "libcxx/src/algorithm.cpp", |
| 639 | "libcxx/src/any.cpp", |
| 640 | "libcxx/src/bind.cpp", |
Primiano Tucci | 5e2dbac | 2020-01-27 10:35:27 +0000 | [diff] [blame] | 641 | "libcxx/src/charconv.cpp", |
Primiano Tucci | 0825bc8 | 2017-09-28 18:50:23 +0100 | [diff] [blame] | 642 | "libcxx/src/chrono.cpp", |
| 643 | "libcxx/src/condition_variable.cpp", |
Primiano Tucci | 5e2dbac | 2020-01-27 10:35:27 +0000 | [diff] [blame] | 644 | "libcxx/src/condition_variable_destructor.cpp", |
Primiano Tucci | 0825bc8 | 2017-09-28 18:50:23 +0100 | [diff] [blame] | 645 | "libcxx/src/debug.cpp", |
| 646 | "libcxx/src/exception.cpp", |
| 647 | "libcxx/src/functional.cpp", |
| 648 | "libcxx/src/future.cpp", |
| 649 | "libcxx/src/hash.cpp", |
| 650 | "libcxx/src/ios.cpp", |
| 651 | "libcxx/src/iostream.cpp", |
| 652 | "libcxx/src/locale.cpp", |
| 653 | "libcxx/src/memory.cpp", |
| 654 | "libcxx/src/mutex.cpp", |
Primiano Tucci | 5e2dbac | 2020-01-27 10:35:27 +0000 | [diff] [blame] | 655 | "libcxx/src/mutex_destructor.cpp", |
Primiano Tucci | 0825bc8 | 2017-09-28 18:50:23 +0100 | [diff] [blame] | 656 | "libcxx/src/new.cpp", |
| 657 | "libcxx/src/optional.cpp", |
| 658 | "libcxx/src/random.cpp", |
| 659 | "libcxx/src/regex.cpp", |
| 660 | "libcxx/src/shared_mutex.cpp", |
| 661 | "libcxx/src/stdexcept.cpp", |
| 662 | "libcxx/src/string.cpp", |
| 663 | "libcxx/src/strstream.cpp", |
| 664 | "libcxx/src/system_error.cpp", |
| 665 | "libcxx/src/thread.cpp", |
| 666 | "libcxx/src/typeinfo.cpp", |
| 667 | "libcxx/src/utility.cpp", |
| 668 | "libcxx/src/valarray.cpp", |
| 669 | "libcxx/src/variant.cpp", |
Primiano Tucci | c2eb510 | 2018-05-15 10:40:01 +0100 | [diff] [blame] | 670 | "libcxx/src/vector.cpp", |
Primiano Tucci | 0825bc8 | 2017-09-28 18:50:23 +0100 | [diff] [blame] | 671 | ] |
| 672 | configs -= [ |
Primiano Tucci | 7a40e4d | 2017-12-06 09:51:09 +0000 | [diff] [blame] | 673 | "//gn/standalone:extra_warnings", |
| 674 | "//gn/standalone:no_exceptions", |
| 675 | "//gn/standalone:no_rtti", |
Primiano Tucci | 5aab758 | 2017-12-07 12:22:03 +0000 | [diff] [blame] | 676 | "//gn/standalone:visibility_hidden", |
Primiano Tucci | 0825bc8 | 2017-09-28 18:50:23 +0100 | [diff] [blame] | 677 | ] |
| 678 | configs += [ |
| 679 | ":libc++config", |
Primiano Tucci | 7a40e4d | 2017-12-06 09:51:09 +0000 | [diff] [blame] | 680 | "//gn/standalone/sanitizers:sanitizer_options_link_helper", |
Primiano Tucci | 0825bc8 | 2017-09-28 18:50:23 +0100 | [diff] [blame] | 681 | ] |
| 682 | defines = [ "_LIBCPP_BUILDING_LIBRARY" ] |
Primiano Tucci | 5e2dbac | 2020-01-27 10:35:27 +0000 | [diff] [blame] | 683 | if ((is_linux || is_android) && (is_asan || is_tsan || is_msan)) { |
| 684 | # In {a,t,m}san configurations, operator new and operator delete will be |
| 685 | # provided by the sanitizer runtime library. Since libc++ defines these |
| 686 | # symbols with weak linkage, and the *san runtime uses strong linkage, it |
| 687 | # should technically be OK to omit this, but it's added to be explicit. |
| 688 | defines += [ "_LIBCPP_DISABLE_NEW_DELETE_DEFINITIONS" ] |
| 689 | } |
| 690 | deps = [ ":libc++abi" ] |
Primiano Tucci | 0825bc8 | 2017-09-28 18:50:23 +0100 | [diff] [blame] | 691 | } |
| 692 | } # if (use_custom_libcxx) |
Hector Dearman | 88a1011 | 2017-10-12 11:07:10 +0100 | [diff] [blame] | 693 | |
| 694 | config("benchmark_config") { |
Primiano Tucci | 13ae72f | 2019-06-06 10:53:02 +0100 | [diff] [blame] | 695 | visibility = _buildtools_visibility |
Primiano Tucci | 2a29ac7 | 2017-10-24 17:47:19 +0100 | [diff] [blame] | 696 | include_dirs = [ "benchmark/include" ] |
Primiano Tucci | 3cbb10a | 2018-04-10 17:52:40 +0100 | [diff] [blame] | 697 | configs = [ ":test_warning_suppressions" ] |
Hector Dearman | 88a1011 | 2017-10-12 11:07:10 +0100 | [diff] [blame] | 698 | } |
| 699 | |
| 700 | source_set("benchmark") { |
Primiano Tucci | 13ae72f | 2019-06-06 10:53:02 +0100 | [diff] [blame] | 701 | visibility = _buildtools_visibility |
Hector Dearman | 88a1011 | 2017-10-12 11:07:10 +0100 | [diff] [blame] | 702 | testonly = true |
| 703 | sources = [ |
| 704 | "benchmark/include/benchmark/benchmark.h", |
Hector Dearman | 88a1011 | 2017-10-12 11:07:10 +0100 | [diff] [blame] | 705 | "benchmark/src/arraysize.h", |
| 706 | "benchmark/src/benchmark.cc", |
Primiano Tucci | 5acece0 | 2020-06-04 10:39:53 +0100 | [diff] [blame] | 707 | "benchmark/src/benchmark_api_internal.cc", |
Hector Dearman | 88a1011 | 2017-10-12 11:07:10 +0100 | [diff] [blame] | 708 | "benchmark/src/benchmark_api_internal.h", |
Primiano Tucci | 5acece0 | 2020-06-04 10:39:53 +0100 | [diff] [blame] | 709 | "benchmark/src/benchmark_name.cc", |
Hector Dearman | 88a1011 | 2017-10-12 11:07:10 +0100 | [diff] [blame] | 710 | "benchmark/src/benchmark_register.cc", |
Primiano Tucci | 5acece0 | 2020-06-04 10:39:53 +0100 | [diff] [blame] | 711 | "benchmark/src/benchmark_register.h", |
| 712 | "benchmark/src/benchmark_runner.cc", |
| 713 | "benchmark/src/benchmark_runner.h", |
Hector Dearman | 88a1011 | 2017-10-12 11:07:10 +0100 | [diff] [blame] | 714 | "benchmark/src/check.h", |
| 715 | "benchmark/src/colorprint.cc", |
| 716 | "benchmark/src/colorprint.h", |
| 717 | "benchmark/src/commandlineflags.cc", |
| 718 | "benchmark/src/commandlineflags.h", |
| 719 | "benchmark/src/complexity.cc", |
| 720 | "benchmark/src/complexity.h", |
| 721 | "benchmark/src/console_reporter.cc", |
| 722 | "benchmark/src/counter.cc", |
| 723 | "benchmark/src/counter.h", |
| 724 | "benchmark/src/csv_reporter.cc", |
| 725 | "benchmark/src/cycleclock.h", |
| 726 | "benchmark/src/internal_macros.h", |
| 727 | "benchmark/src/json_reporter.cc", |
| 728 | "benchmark/src/log.h", |
| 729 | "benchmark/src/mutex.h", |
| 730 | "benchmark/src/re.h", |
| 731 | "benchmark/src/reporter.cc", |
| 732 | "benchmark/src/sleep.cc", |
| 733 | "benchmark/src/sleep.h", |
Lalit Maganti | c99d93c | 2018-03-22 15:09:30 +0000 | [diff] [blame] | 734 | "benchmark/src/statistics.cc", |
| 735 | "benchmark/src/statistics.h", |
Hector Dearman | 88a1011 | 2017-10-12 11:07:10 +0100 | [diff] [blame] | 736 | "benchmark/src/string_util.cc", |
| 737 | "benchmark/src/string_util.h", |
| 738 | "benchmark/src/sysinfo.cc", |
Primiano Tucci | 5acece0 | 2020-06-04 10:39:53 +0100 | [diff] [blame] | 739 | "benchmark/src/thread_manager.h", |
| 740 | "benchmark/src/thread_timer.h", |
Hector Dearman | 88a1011 | 2017-10-12 11:07:10 +0100 | [diff] [blame] | 741 | "benchmark/src/timers.cc", |
| 742 | "benchmark/src/timers.h", |
| 743 | ] |
| 744 | defines = [ "HAVE_POSIX_REGEX" ] |
| 745 | public_configs = [ ":benchmark_config" ] |
| 746 | all_dependent_configs = [ ":benchmark_config" ] |
Primiano Tucci | 5acece0 | 2020-06-04 10:39:53 +0100 | [diff] [blame] | 747 | cflags = [ "-Wno-deprecated-declarations" ] |
Primiano Tucci | 7a40e4d | 2017-12-06 09:51:09 +0000 | [diff] [blame] | 748 | configs -= [ "//gn/standalone:extra_warnings" ] |
Primiano Tucci | 5e2dbac | 2020-01-27 10:35:27 +0000 | [diff] [blame] | 749 | deps = [ "//gn:default_deps" ] |
Hector Dearman | 88a1011 | 2017-10-12 11:07:10 +0100 | [diff] [blame] | 750 | } |
Primiano Tucci | 38faa6f | 2018-04-01 20:12:08 +0200 | [diff] [blame] | 751 | |
| 752 | # On Linux/Android use libbacktrace in debug builds for better stacktraces. |
| 753 | if (is_linux || is_android) { |
| 754 | config("libbacktrace_config") { |
Primiano Tucci | 13ae72f | 2019-06-06 10:53:02 +0100 | [diff] [blame] | 755 | visibility = _buildtools_visibility |
Primiano Tucci | 38faa6f | 2018-04-01 20:12:08 +0200 | [diff] [blame] | 756 | include_dirs = [ |
| 757 | "libbacktrace_config", |
| 758 | "libbacktrace", |
| 759 | ] |
| 760 | cflags = [ |
Primiano Tucci | 3cbb10a | 2018-04-10 17:52:40 +0100 | [diff] [blame] | 761 | # We force include this config file because "config.h" is too generic as a |
| 762 | # file name and on some platforms #include "config.h" ends up colliding |
| 763 | # importing some other project's config.h. |
Primiano Tucci | 38faa6f | 2018-04-01 20:12:08 +0200 | [diff] [blame] | 764 | "-include", |
| 765 | rebase_path("libbacktrace_config/config.h", root_build_dir), |
| 766 | ] |
| 767 | } |
| 768 | |
| 769 | source_set("libbacktrace") { |
Primiano Tucci | 13ae72f | 2019-06-06 10:53:02 +0100 | [diff] [blame] | 770 | visibility = _buildtools_visibility |
Primiano Tucci | 38faa6f | 2018-04-01 20:12:08 +0200 | [diff] [blame] | 771 | sources = [ |
Primiano Tucci | 38faa6f | 2018-04-01 20:12:08 +0200 | [diff] [blame] | 772 | "libbacktrace/dwarf.c", |
| 773 | "libbacktrace/elf.c", |
| 774 | "libbacktrace/fileline.c", |
| 775 | "libbacktrace/mmap.c", |
| 776 | "libbacktrace/mmapio.c", |
| 777 | "libbacktrace/posix.c", |
Primiano Tucci | 38faa6f | 2018-04-01 20:12:08 +0200 | [diff] [blame] | 778 | "libbacktrace/sort.c", |
| 779 | "libbacktrace/state.c", |
| 780 | ] |
| 781 | configs -= [ "//gn/standalone:extra_warnings" ] |
| 782 | public_configs = [ ":libbacktrace_config" ] |
Primiano Tucci | 5e2dbac | 2020-01-27 10:35:27 +0000 | [diff] [blame] | 783 | deps = [ "//gn:default_deps" ] |
Primiano Tucci | 38faa6f | 2018-04-01 20:12:08 +0200 | [diff] [blame] | 784 | } |
| 785 | } |
Lalit Maganti | b123f26 | 2018-05-22 14:05:03 +0100 | [diff] [blame] | 786 | |
| 787 | config("sqlite_config") { |
Primiano Tucci | 13ae72f | 2019-06-06 10:53:02 +0100 | [diff] [blame] | 788 | visibility = _buildtools_visibility |
Lalit Maganti | b123f26 | 2018-05-22 14:05:03 +0100 | [diff] [blame] | 789 | include_dirs = [ "sqlite" ] |
| 790 | cflags = [ |
| 791 | "-DSQLITE_THREADSAFE=0", |
| 792 | "-DQLITE_DEFAULT_MEMSTATUS=0", |
| 793 | "-DSQLITE_LIKE_DOESNT_MATCH_BLOBS", |
Lalit Maganti | b123f26 | 2018-05-22 14:05:03 +0100 | [diff] [blame] | 794 | "-DSQLITE_OMIT_DEPRECATED", |
| 795 | "-DSQLITE_OMIT_SHARED_CACHE", |
| 796 | "-DHAVE_USLEEP", |
| 797 | "-DHAVE_UTIME", |
| 798 | "-DSQLITE_BYTEORDER=1234", |
| 799 | "-DSQLITE_DEFAULT_AUTOVACUUM=0", |
| 800 | "-DSQLITE_DEFAULT_MMAP_SIZE=0", |
| 801 | "-DSQLITE_CORE", |
Lalit Maganti | 8d31c73 | 2018-06-21 14:23:04 +0100 | [diff] [blame] | 802 | "-DSQLITE_TEMP_STORE=3", |
Lalit Maganti | c6347f0 | 2018-06-25 14:03:46 +0100 | [diff] [blame] | 803 | "-DSQLITE_OMIT_LOAD_EXTENSION", |
Hector Dearman | 7af3357 | 2018-09-19 17:42:25 +0100 | [diff] [blame] | 804 | "-DSQLITE_OMIT_RANDOMNESS", |
Lalit Maganti | 1e5630e | 2020-01-29 12:34:14 +0000 | [diff] [blame] | 805 | "-DSQLITE_OMIT_AUTOINIT", |
Lalit Maganti | e1fdf55 | 2020-02-06 17:20:16 +0000 | [diff] [blame] | 806 | "-DSQLITE_ENABLE_JSON1", |
Lalit Maganti | b123f26 | 2018-05-22 14:05:03 +0100 | [diff] [blame] | 807 | ] |
| 808 | } |
| 809 | |
| 810 | source_set("sqlite") { |
Primiano Tucci | 13ae72f | 2019-06-06 10:53:02 +0100 | [diff] [blame] | 811 | visibility = _buildtools_visibility |
Lalit Maganti | b123f26 | 2018-05-22 14:05:03 +0100 | [diff] [blame] | 812 | sources = [ |
| 813 | "sqlite/sqlite3.c", |
| 814 | "sqlite/sqlite3.h", |
| 815 | "sqlite/sqlite3ext.h", |
Ioannis Ilkos | 178535e | 2018-11-05 17:32:45 +0000 | [diff] [blame] | 816 | "sqlite_src/ext/misc/percentile.c", |
Lalit Maganti | b123f26 | 2018-05-22 14:05:03 +0100 | [diff] [blame] | 817 | ] |
| 818 | configs -= [ "//gn/standalone:extra_warnings" ] |
| 819 | public_configs = [ ":sqlite_config" ] |
Primiano Tucci | 5e2dbac | 2020-01-27 10:35:27 +0000 | [diff] [blame] | 820 | deps = [ "//gn:default_deps" ] |
Lalit Maganti | b123f26 | 2018-05-22 14:05:03 +0100 | [diff] [blame] | 821 | } |
| 822 | |
| 823 | source_set("sqlite_shell") { |
Primiano Tucci | 13ae72f | 2019-06-06 10:53:02 +0100 | [diff] [blame] | 824 | visibility = _buildtools_visibility |
Lalit Maganti | b123f26 | 2018-05-22 14:05:03 +0100 | [diff] [blame] | 825 | testonly = true |
Primiano Tucci | 5e2dbac | 2020-01-27 10:35:27 +0000 | [diff] [blame] | 826 | sources = [ "sqlite/shell.c" ] |
Lalit Maganti | b123f26 | 2018-05-22 14:05:03 +0100 | [diff] [blame] | 827 | configs -= [ "//gn/standalone:extra_warnings" ] |
| 828 | deps = [ |
| 829 | ":sqlite", |
Florian Mayer | a85b8fa | 2019-07-11 11:00:48 +0100 | [diff] [blame] | 830 | "//gn:default_deps", |
Lalit Maganti | b123f26 | 2018-05-22 14:05:03 +0100 | [diff] [blame] | 831 | ] |
| 832 | } |
Primiano Tucci | 0d72a31 | 2018-08-07 14:42:45 +0100 | [diff] [blame] | 833 | |
Florian Mayer | 475bd7e | 2018-08-07 20:04:03 +0100 | [diff] [blame] | 834 | source_set("lzma") { |
Primiano Tucci | 13ae72f | 2019-06-06 10:53:02 +0100 | [diff] [blame] | 835 | visibility = _buildtools_visibility |
Florian Mayer | 475bd7e | 2018-08-07 20:04:03 +0100 | [diff] [blame] | 836 | defines = [ "_7ZIP_ST" ] |
| 837 | sources = [ |
| 838 | "lzma/C/7zAlloc.c", |
| 839 | "lzma/C/7zArcIn.c", |
| 840 | "lzma/C/7zBuf.c", |
| 841 | "lzma/C/7zBuf2.c", |
| 842 | "lzma/C/7zCrc.c", |
| 843 | "lzma/C/7zCrcOpt.c", |
| 844 | "lzma/C/7zDec.c", |
| 845 | "lzma/C/7zFile.c", |
| 846 | "lzma/C/7zStream.c", |
| 847 | "lzma/C/Aes.c", |
| 848 | "lzma/C/AesOpt.c", |
| 849 | "lzma/C/Alloc.c", |
| 850 | "lzma/C/Bcj2.c", |
| 851 | "lzma/C/Bra.c", |
| 852 | "lzma/C/Bra86.c", |
| 853 | "lzma/C/BraIA64.c", |
| 854 | "lzma/C/CpuArch.c", |
| 855 | "lzma/C/Delta.c", |
| 856 | "lzma/C/LzFind.c", |
| 857 | "lzma/C/Lzma2Dec.c", |
| 858 | "lzma/C/Lzma2Enc.c", |
| 859 | "lzma/C/Lzma86Dec.c", |
| 860 | "lzma/C/Lzma86Enc.c", |
| 861 | "lzma/C/LzmaDec.c", |
| 862 | "lzma/C/LzmaEnc.c", |
| 863 | "lzma/C/LzmaLib.c", |
| 864 | "lzma/C/Ppmd7.c", |
| 865 | "lzma/C/Ppmd7Dec.c", |
| 866 | "lzma/C/Ppmd7Enc.c", |
| 867 | "lzma/C/Sha256.c", |
| 868 | "lzma/C/Sort.c", |
| 869 | "lzma/C/Xz.c", |
| 870 | "lzma/C/XzCrc64.c", |
| 871 | "lzma/C/XzCrc64Opt.c", |
| 872 | "lzma/C/XzDec.c", |
| 873 | "lzma/C/XzEnc.c", |
| 874 | "lzma/C/XzIn.c", |
| 875 | ] |
| 876 | configs -= [ "//gn/standalone:extra_warnings" ] |
| 877 | cflags = [ |
| 878 | "-Wno-empty-body", |
| 879 | "-Wno-enum-conversion", |
| 880 | ] |
Primiano Tucci | 5e2dbac | 2020-01-27 10:35:27 +0000 | [diff] [blame] | 881 | deps = [ "//gn:default_deps" ] |
Florian Mayer | 475bd7e | 2018-08-07 20:04:03 +0100 | [diff] [blame] | 882 | } |
Florian Mayer | a2fae26 | 2018-08-31 12:10:01 -0700 | [diff] [blame] | 883 | |
Hector Dearman | e0b993f | 2019-05-24 18:48:16 +0100 | [diff] [blame] | 884 | source_set("zlib") { |
Primiano Tucci | 13ae72f | 2019-06-06 10:53:02 +0100 | [diff] [blame] | 885 | visibility = _buildtools_visibility |
Hector Dearman | e0b993f | 2019-05-24 18:48:16 +0100 | [diff] [blame] | 886 | sources = [ |
| 887 | "zlib/src/adler32.c", |
| 888 | "zlib/src/compress.c", |
| 889 | "zlib/src/crc32.c", |
| 890 | "zlib/src/deflate.c", |
| 891 | "zlib/src/gzclose.c", |
| 892 | "zlib/src/gzlib.c", |
| 893 | "zlib/src/gzread.c", |
| 894 | "zlib/src/gzwrite.c", |
| 895 | "zlib/src/infback.c", |
| 896 | "zlib/src/inffast.c", |
| 897 | "zlib/src/inflate.c", |
| 898 | "zlib/src/inftrees.c", |
| 899 | "zlib/src/trees.c", |
| 900 | "zlib/src/uncompr.c", |
| 901 | "zlib/src/zutil.c", |
| 902 | ] |
| 903 | configs -= [ "//gn/standalone:extra_warnings" ] |
| 904 | cflags = [] |
| 905 | public_configs = [ ":zlib_config" ] |
Primiano Tucci | 5e2dbac | 2020-01-27 10:35:27 +0000 | [diff] [blame] | 906 | deps = [ "//gn:default_deps" ] |
Hector Dearman | e0b993f | 2019-05-24 18:48:16 +0100 | [diff] [blame] | 907 | } |
| 908 | |
| 909 | config("zlib_config") { |
Primiano Tucci | 13ae72f | 2019-06-06 10:53:02 +0100 | [diff] [blame] | 910 | visibility = _buildtools_visibility |
Primiano Tucci | 225a4e6 | 2019-06-06 11:13:57 +0100 | [diff] [blame] | 911 | defines = [ "HAVE_HIDDEN" ] |
Hector Dearman | 554627f | 2019-06-04 17:58:22 +0100 | [diff] [blame] | 912 | cflags = [ |
| 913 | # Using -isystem instead of include_dirs (-I), so we don't need to suppress |
| 914 | # warnings coming from third-party headers. Doing so would mask warnings in |
| 915 | # our own code. |
| 916 | "-isystem", |
| 917 | rebase_path("zlib/src", root_build_dir), |
| 918 | ] |
Hector Dearman | e0b993f | 2019-05-24 18:48:16 +0100 | [diff] [blame] | 919 | } |
| 920 | |
Florian Mayer | 475bd7e | 2018-08-07 20:04:03 +0100 | [diff] [blame] | 921 | source_set("libunwindstack") { |
Primiano Tucci | 13ae72f | 2019-06-06 10:53:02 +0100 | [diff] [blame] | 922 | visibility = _buildtools_visibility |
Florian Mayer | 475bd7e | 2018-08-07 20:04:03 +0100 | [diff] [blame] | 923 | include_dirs = [ |
Florian Mayer | f833566 | 2018-08-08 11:30:32 +0100 | [diff] [blame] | 924 | "android-core/libunwindstack/include", |
| 925 | "android-core/libunwindstack", |
| 926 | "android-core/base/include", |
| 927 | "android-core/liblog/include", |
| 928 | "android-core/libprocinfo/include", |
| 929 | "android-core/include", |
Florian Mayer | 475bd7e | 2018-08-07 20:04:03 +0100 | [diff] [blame] | 930 | "lzma/C", |
| 931 | ] |
| 932 | deps = [ |
| 933 | ":lzma", |
Florian Mayer | a85b8fa | 2019-07-11 11:00:48 +0100 | [diff] [blame] | 934 | "//gn:default_deps", |
Florian Mayer | 475bd7e | 2018-08-07 20:04:03 +0100 | [diff] [blame] | 935 | ] |
Florian Mayer | 475bd7e | 2018-08-07 20:04:03 +0100 | [diff] [blame] | 936 | sources = [ |
Florian Mayer | f833566 | 2018-08-08 11:30:32 +0100 | [diff] [blame] | 937 | "android-core/base/file.cpp", |
Florian Mayer | ce11bea | 2020-01-23 19:47:58 +0000 | [diff] [blame] | 938 | "android-core/base/liblog_symbols.cpp", |
Florian Mayer | f833566 | 2018-08-08 11:30:32 +0100 | [diff] [blame] | 939 | "android-core/base/logging.cpp", |
| 940 | "android-core/base/stringprintf.cpp", |
| 941 | "android-core/base/strings.cpp", |
| 942 | "android-core/base/threads.cpp", |
Florian Mayer | ce11bea | 2020-01-23 19:47:58 +0000 | [diff] [blame] | 943 | "android-core/liblog/logger_write.cpp", |
Florian Mayer | fd78c44 | 2020-08-14 12:48:29 +0100 | [diff] [blame] | 944 | "android-core/liblog/properties.cpp", |
Florian Mayer | f833566 | 2018-08-08 11:30:32 +0100 | [diff] [blame] | 945 | "android-core/libunwindstack/ArmExidx.cpp", |
| 946 | "android-core/libunwindstack/DwarfCfa.cpp", |
| 947 | "android-core/libunwindstack/DwarfEhFrameWithHdr.cpp", |
| 948 | "android-core/libunwindstack/DwarfMemory.cpp", |
| 949 | "android-core/libunwindstack/DwarfOp.cpp", |
| 950 | "android-core/libunwindstack/DwarfSection.cpp", |
| 951 | "android-core/libunwindstack/Elf.cpp", |
| 952 | "android-core/libunwindstack/ElfInterface.cpp", |
| 953 | "android-core/libunwindstack/ElfInterfaceArm.cpp", |
Florian Mayer | 86120f6 | 2018-10-23 15:19:46 +0100 | [diff] [blame] | 954 | "android-core/libunwindstack/Global.cpp", |
Florian Mayer | f833566 | 2018-08-08 11:30:32 +0100 | [diff] [blame] | 955 | "android-core/libunwindstack/JitDebug.cpp", |
| 956 | "android-core/libunwindstack/LocalUnwinder.cpp", |
| 957 | "android-core/libunwindstack/Log.cpp", |
| 958 | "android-core/libunwindstack/MapInfo.cpp", |
| 959 | "android-core/libunwindstack/Maps.cpp", |
| 960 | "android-core/libunwindstack/Memory.cpp", |
| 961 | "android-core/libunwindstack/Regs.cpp", |
| 962 | "android-core/libunwindstack/RegsArm.cpp", |
| 963 | "android-core/libunwindstack/RegsArm64.cpp", |
| 964 | "android-core/libunwindstack/RegsMips.cpp", |
| 965 | "android-core/libunwindstack/RegsMips64.cpp", |
| 966 | "android-core/libunwindstack/RegsX86.cpp", |
| 967 | "android-core/libunwindstack/RegsX86_64.cpp", |
| 968 | "android-core/libunwindstack/Symbols.cpp", |
| 969 | "android-core/libunwindstack/Unwinder.cpp", |
Florian Mayer | 475bd7e | 2018-08-07 20:04:03 +0100 | [diff] [blame] | 970 | ] |
| 971 | if (current_cpu == "x86") { |
Florian Mayer | f833566 | 2018-08-08 11:30:32 +0100 | [diff] [blame] | 972 | sources += [ "android-core/libunwindstack/AsmGetRegsX86.S" ] |
Florian Mayer | 475bd7e | 2018-08-07 20:04:03 +0100 | [diff] [blame] | 973 | } else if (current_cpu == "x64") { |
Florian Mayer | f833566 | 2018-08-08 11:30:32 +0100 | [diff] [blame] | 974 | sources += [ "android-core/libunwindstack/AsmGetRegsX86_64.S" ] |
Florian Mayer | 475bd7e | 2018-08-07 20:04:03 +0100 | [diff] [blame] | 975 | } |
| 976 | configs -= [ |
| 977 | "//gn/standalone:extra_warnings", |
| 978 | "//gn/standalone:c++11", |
Florian Mayer | a2fae26 | 2018-08-31 12:10:01 -0700 | [diff] [blame] | 979 | "//gn/standalone:visibility_hidden", |
Florian Mayer | 475bd7e | 2018-08-07 20:04:03 +0100 | [diff] [blame] | 980 | ] |
Florian Mayer | ce11bea | 2020-01-23 19:47:58 +0000 | [diff] [blame] | 981 | cflags = [ "-DFAKE_LOG_DEVICE=1" ] |
Florian Mayer | 475bd7e | 2018-08-07 20:04:03 +0100 | [diff] [blame] | 982 | configs += [ "//gn/standalone:c++17" ] |
| 983 | public_configs = [ ":libunwindstack_config" ] |
| 984 | } |
| 985 | |
Ryan Savitski | 56bc0c6 | 2020-01-27 13:50:02 +0000 | [diff] [blame] | 986 | config("bionic_kernel_uapi_headers") { |
| 987 | visibility = _buildtools_visibility |
| 988 | cflags = [ |
| 989 | "-isystem", |
| 990 | rebase_path("bionic/libc/kernel", root_build_dir), |
| 991 | ] |
| 992 | } |
| 993 | |
Primiano Tucci | 0d72a31 | 2018-08-07 14:42:45 +0100 | [diff] [blame] | 994 | config("jsoncpp_config") { |
Primiano Tucci | 13ae72f | 2019-06-06 10:53:02 +0100 | [diff] [blame] | 995 | visibility = _buildtools_visibility |
Primiano Tucci | 0d72a31 | 2018-08-07 14:42:45 +0100 | [diff] [blame] | 996 | cflags = [ |
| 997 | "-DJSON_USE_EXCEPTION=0", |
| 998 | |
| 999 | # Using -isystem instead of include_dirs (-I), so we don't need to suppress |
Florian Mayer | bda0c44 | 2018-09-07 10:53:55 +0100 | [diff] [blame] | 1000 | # warnings coming from third-party headers. Doing so would mask warnings in |
Primiano Tucci | 0d72a31 | 2018-08-07 14:42:45 +0100 | [diff] [blame] | 1001 | # our own code. |
| 1002 | "-isystem", |
| 1003 | rebase_path("jsoncpp/include", root_build_dir), |
| 1004 | ] |
| 1005 | } |
| 1006 | |
| 1007 | source_set("jsoncpp") { |
Primiano Tucci | 13ae72f | 2019-06-06 10:53:02 +0100 | [diff] [blame] | 1008 | visibility = _buildtools_visibility |
Primiano Tucci | 0d72a31 | 2018-08-07 14:42:45 +0100 | [diff] [blame] | 1009 | sources = [ |
| 1010 | "jsoncpp/src/lib_json/json_reader.cpp", |
| 1011 | "jsoncpp/src/lib_json/json_value.cpp", |
| 1012 | "jsoncpp/src/lib_json/json_writer.cpp", |
| 1013 | ] |
| 1014 | configs -= [ "//gn/standalone:extra_warnings" ] |
| 1015 | public_configs = [ ":jsoncpp_config" ] |
Primiano Tucci | 5e2dbac | 2020-01-27 10:35:27 +0000 | [diff] [blame] | 1016 | deps = [ "//gn:default_deps" ] |
Primiano Tucci | 0d72a31 | 2018-08-07 14:42:45 +0100 | [diff] [blame] | 1017 | } |
Hector Dearman | e44ad45 | 2018-09-21 11:51:57 +0100 | [diff] [blame] | 1018 | |
| 1019 | config("linenoise_config") { |
Primiano Tucci | 13ae72f | 2019-06-06 10:53:02 +0100 | [diff] [blame] | 1020 | visibility = _buildtools_visibility |
Hector Dearman | e44ad45 | 2018-09-21 11:51:57 +0100 | [diff] [blame] | 1021 | cflags = [ |
| 1022 | # Using -isystem instead of include_dirs (-I), so we don't need to suppress |
| 1023 | # warnings coming from third-party headers. Doing so would mask warnings in |
| 1024 | # our own code. |
| 1025 | "-isystem", |
| 1026 | rebase_path("linenoise", root_build_dir), |
| 1027 | ] |
| 1028 | } |
| 1029 | |
| 1030 | source_set("linenoise") { |
Primiano Tucci | 13ae72f | 2019-06-06 10:53:02 +0100 | [diff] [blame] | 1031 | visibility = _buildtools_visibility |
Hector Dearman | e44ad45 | 2018-09-21 11:51:57 +0100 | [diff] [blame] | 1032 | sources = [ |
| 1033 | "linenoise/linenoise.c", |
| 1034 | "linenoise/linenoise.h", |
| 1035 | ] |
| 1036 | configs -= [ "//gn/standalone:extra_warnings" ] |
| 1037 | public_configs = [ ":linenoise_config" ] |
Lalit Maganti | edace41 | 2019-06-18 13:28:28 +0100 | [diff] [blame] | 1038 | cflags = [ "-Wno-tautological-unsigned-zero-compare" ] |
Primiano Tucci | 5e2dbac | 2020-01-27 10:35:27 +0000 | [diff] [blame] | 1039 | deps = [ "//gn:default_deps" ] |
Hector Dearman | e44ad45 | 2018-09-21 11:51:57 +0100 | [diff] [blame] | 1040 | } |
Primiano Tucci | a65497e | 2018-09-26 19:53:58 +0100 | [diff] [blame] | 1041 | |
Primiano Tucci | 780deea | 2018-10-11 09:28:05 +0100 | [diff] [blame] | 1042 | if (use_libfuzzer) { |
| 1043 | source_set("libfuzzer") { |
Primiano Tucci | 13ae72f | 2019-06-06 10:53:02 +0100 | [diff] [blame] | 1044 | visibility = _buildtools_visibility |
Primiano Tucci | 780deea | 2018-10-11 09:28:05 +0100 | [diff] [blame] | 1045 | configs -= [ |
| 1046 | "//gn/standalone:extra_warnings", |
| 1047 | "//gn/standalone/sanitizers:sanitizers_cflags", |
| 1048 | ] |
| 1049 | sources = [ |
| 1050 | "libfuzzer/FuzzerCrossOver.cpp", |
| 1051 | "libfuzzer/FuzzerDataFlowTrace.cpp", |
| 1052 | "libfuzzer/FuzzerDriver.cpp", |
| 1053 | "libfuzzer/FuzzerExtFunctionsDlsym.cpp", |
| 1054 | "libfuzzer/FuzzerExtFunctionsWeak.cpp", |
Florian Mayer | a85b8fa | 2019-07-11 11:00:48 +0100 | [diff] [blame] | 1055 | "libfuzzer/FuzzerExtFunctionsWindows.cpp", |
Primiano Tucci | 780deea | 2018-10-11 09:28:05 +0100 | [diff] [blame] | 1056 | "libfuzzer/FuzzerExtraCounters.cpp", |
Florian Mayer | a85b8fa | 2019-07-11 11:00:48 +0100 | [diff] [blame] | 1057 | "libfuzzer/FuzzerFork.cpp", |
Primiano Tucci | 780deea | 2018-10-11 09:28:05 +0100 | [diff] [blame] | 1058 | "libfuzzer/FuzzerIO.cpp", |
| 1059 | "libfuzzer/FuzzerIOPosix.cpp", |
| 1060 | "libfuzzer/FuzzerIOWindows.cpp", |
| 1061 | "libfuzzer/FuzzerLoop.cpp", |
| 1062 | "libfuzzer/FuzzerMain.cpp", |
| 1063 | "libfuzzer/FuzzerMerge.cpp", |
| 1064 | "libfuzzer/FuzzerMutate.cpp", |
| 1065 | "libfuzzer/FuzzerSHA1.cpp", |
Primiano Tucci | 780deea | 2018-10-11 09:28:05 +0100 | [diff] [blame] | 1066 | "libfuzzer/FuzzerTracePC.cpp", |
| 1067 | "libfuzzer/FuzzerUtil.cpp", |
| 1068 | "libfuzzer/FuzzerUtilDarwin.cpp", |
| 1069 | "libfuzzer/FuzzerUtilFuchsia.cpp", |
| 1070 | "libfuzzer/FuzzerUtilLinux.cpp", |
| 1071 | "libfuzzer/FuzzerUtilPosix.cpp", |
| 1072 | "libfuzzer/FuzzerUtilWindows.cpp", |
| 1073 | ] |
Primiano Tucci | 5e2dbac | 2020-01-27 10:35:27 +0000 | [diff] [blame] | 1074 | deps = [ "//gn:default_deps" ] |
Primiano Tucci | 780deea | 2018-10-11 09:28:05 +0100 | [diff] [blame] | 1075 | } |
Primiano Tucci | a65497e | 2018-09-26 19:53:58 +0100 | [diff] [blame] | 1076 | } |