| OLD | NEW |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 import("//build/config/linux/gtk/gtk.gni") |
| 5 import("//build/config/sanitizers/sanitizers.gni") | 6 import("//build/config/sanitizers/sanitizers.gni") |
| 6 import("//build/toolchain/goma.gni") | 7 import("//build/toolchain/goma.gni") |
| 7 | 8 |
| 8 declare_args() { | 9 declare_args() { |
| 9 # The default number of jobs to use when building instrumented libraries. | 10 # The default number of jobs to use when building instrumented libraries. |
| 10 instrumented_libraries_jobs = 8 | 11 instrumented_libraries_jobs = 8 |
| 11 | 12 |
| 12 # The platform on which the instrumented libraries are being built. | 13 # The platform on which the instrumented libraries are being built. |
| 13 instrumented_libraries_platform = "trusty" | 14 instrumented_libraries_platform = "trusty" |
| 14 } | 15 } |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 ":libcredentialkit_pkcs11", | 116 ":libcredentialkit_pkcs11", |
| 116 ":libdbus-1-3", | 117 ":libdbus-1-3", |
| 117 ":libdbus-glib-1-2", | 118 ":libdbus-glib-1-2", |
| 118 ":libdbusmenu", | 119 ":libdbusmenu", |
| 119 ":libdbusmenu-glib4", | 120 ":libdbusmenu-glib4", |
| 120 ":libexpat1", | 121 ":libexpat1", |
| 121 ":libffi6", | 122 ":libffi6", |
| 122 ":libfontconfig1", | 123 ":libfontconfig1", |
| 123 ":libgconf-2-4", | 124 ":libgconf-2-4", |
| 124 ":libgcrypt11", | 125 ":libgcrypt11", |
| 125 ":libgdk-pixbuf2.0-0", | |
| 126 ":libglib2.0-0", | 126 ":libglib2.0-0", |
| 127 ":libgnome-keyring0", | 127 ":libgnome-keyring0", |
| 128 ":libgpg-error0", | 128 ":libgpg-error0", |
| 129 ":libgtk2.0-0", | |
| 130 ":libnspr4", | 129 ":libnspr4", |
| 131 ":libp11-kit0", | 130 ":libp11-kit0", |
| 132 ":libpci3", | 131 ":libpci3", |
| 133 ":libpcre3", | 132 ":libpcre3", |
| 134 ":libpixman-1-0", | 133 ":libpixman-1-0", |
| 135 ":libunity9", | 134 ":libunity9", |
| 136 ":libva1", | 135 ":libva1", |
| 137 ":libx11-6", | 136 ":libx11-6", |
| 138 ":libxau6", | 137 ":libxau6", |
| 139 ":libxcb1", | 138 ":libxcb1", |
| 140 ":libxcomposite1", | 139 ":libxcomposite1", |
| 141 ":libxcursor1", | 140 ":libxcursor1", |
| 142 ":libxdamage1", | 141 ":libxdamage1", |
| 143 ":libxdmcp6", | 142 ":libxdmcp6", |
| 144 ":libxext6", | 143 ":libxext6", |
| 145 ":libxfixes3", | 144 ":libxfixes3", |
| 146 ":libxi6", | 145 ":libxi6", |
| 147 ":libxinerama1", | 146 ":libxinerama1", |
| 148 ":libxrandr2", | 147 ":libxrandr2", |
| 149 ":libxrender1", | 148 ":libxrender1", |
| 150 ":libxss1", | 149 ":libxss1", |
| 151 ":libxtst6", | 150 ":libxtst6", |
| 152 ":nss", | 151 ":nss", |
| 153 ":pango1.0", | 152 ":pango1.0", |
| 154 ":pulseaudio", | 153 ":pulseaudio", |
| 155 ":udev", | 154 ":udev", |
| 156 ":zlib1g", | 155 ":zlib1g", |
| 157 ] | 156 ] |
| 157 if (!use_gtk3) { |
| 158 deps += [ |
| 159 ":libgdk-pixbuf2.0-0", |
| 160 ":libgtk2.0-0", |
| 161 ] |
| 162 } |
| 158 if (is_precise) { | 163 if (is_precise) { |
| 159 deps += [ ":libtasn1-3" ] | 164 deps += [ ":libtasn1-3" ] |
| 160 } | 165 } |
| 161 if (is_trusty) { | 166 if (is_trusty) { |
| 162 deps += [ | 167 deps += [ |
| 163 ":harfbuzz", | 168 ":harfbuzz", |
| 164 ":libsecret", | 169 ":libsecret", |
| 165 ":libtasn1-6", | 170 ":libtasn1-6", |
| 166 ] | 171 ] |
| 167 } | 172 } |
| (...skipping 643 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 811 "--disable-gudev", | 816 "--disable-gudev", |
| 812 ] | 817 ] |
| 813 pre_build = "scripts/pre-build/udev.sh" | 818 pre_build = "scripts/pre-build/udev.sh" |
| 814 } | 819 } |
| 815 | 820 |
| 816 instrumented_library("zlib1g") { | 821 instrumented_library("zlib1g") { |
| 817 # --disable-static is not supported | 822 # --disable-static is not supported |
| 818 patch = "patches/zlib1g.diff" | 823 patch = "patches/zlib1g.diff" |
| 819 } | 824 } |
| 820 } | 825 } |
| OLD | NEW |