| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 import("//build/buildflag_header.gni") | 5 import("//build/buildflag_header.gni") |
| 6 import("//build/config/chrome_build.gni") | 6 import("//build/config/chrome_build.gni") |
| 7 import("//build/config/compiler/compiler.gni") | 7 import("//build/config/compiler/compiler.gni") |
| 8 import("//build/config/features.gni") | 8 import("//build/config/features.gni") |
| 9 import("//build/config/locales.gni") | 9 import("//build/config/locales.gni") |
| 10 import("//build/config/sanitizers/sanitizers.gni") | 10 import("//build/config/sanitizers/sanitizers.gni") |
| (...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 194 ":xdg_mime", # Needs to be public for installer to consume files. | 194 ":xdg_mime", # Needs to be public for installer to consume files. |
| 195 "//chrome/common:features", | 195 "//chrome/common:features", |
| 196 ] | 196 ] |
| 197 | 197 |
| 198 # GYP has this in a 'profiling==0 and linux_disable_pie==0' condition. | 198 # GYP has this in a 'profiling==0 and linux_disable_pie==0' condition. |
| 199 # but GN doesn't have either of these flags. | 199 # but GN doesn't have either of these flags. |
| 200 ldflags = [ "-pie" ] | 200 ldflags = [ "-pie" ] |
| 201 | 201 |
| 202 if (use_pango || use_cairo) { | 202 if (use_pango || use_cairo) { |
| 203 # Needed for chrome_main.cc initialization of libraries. | 203 # Needed for chrome_main.cc initialization of libraries. |
| 204 configs += [ "//build/config/linux:pangocairo" ] | 204 configs += [ "//build/config/linux/pangocairo" ] |
| 205 } | 205 } |
| 206 | 206 |
| 207 if (use_x11) { | 207 if (use_x11) { |
| 208 configs += [ | 208 configs += [ |
| 209 "//build/config/linux:x11", | 209 "//build/config/linux:x11", |
| 210 "//build/config/linux:xext", | 210 "//build/config/linux:xext", |
| 211 ] | 211 ] |
| 212 } | 212 } |
| 213 | 213 |
| 214 if (enable_package_mash_services) { | 214 if (enable_package_mash_services) { |
| (...skipping 885 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1100 "//chrome/app/theme/$branding_path_component/product_logo_48.png", | 1100 "//chrome/app/theme/$branding_path_component/product_logo_48.png", |
| 1101 "//chrome/tools/build/linux/chrome-wrapper", | 1101 "//chrome/tools/build/linux/chrome-wrapper", |
| 1102 "//third_party/xdg-utils/scripts/xdg-mime", | 1102 "//third_party/xdg-utils/scripts/xdg-mime", |
| 1103 "//third_party/xdg-utils/scripts/xdg-settings", | 1103 "//third_party/xdg-utils/scripts/xdg-settings", |
| 1104 ] | 1104 ] |
| 1105 outputs = [ | 1105 outputs = [ |
| 1106 "$root_out_dir/{{source_file_part}}", | 1106 "$root_out_dir/{{source_file_part}}", |
| 1107 ] | 1107 ] |
| 1108 } | 1108 } |
| 1109 } | 1109 } |
| OLD | NEW |