Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(64)

Side by Side Diff: chrome/BUILD.gn

Issue 2891933005: Plumb sandbox rules through the helper executable. (Closed)
Patch Set: Rebase patch Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | chrome/app/chrome_exe_main_mac.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/chrome_build.gni") 5 import("//build/config/chrome_build.gni")
6 import("//build/config/compiler/compiler.gni") 6 import("//build/config/compiler/compiler.gni")
7 import("//build/config/compiler/pgo/pgo.gni") 7 import("//build/config/compiler/pgo/pgo.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 728 matching lines...) Expand 10 before | Expand all | Expand 10 after
739 "app/chrome_exe_main_mac.cc", 739 "app/chrome_exe_main_mac.cc",
740 ] 740 ]
741 741
742 extra_configs = [ "//build/config/compiler:wexit_time_destructors" ] 742 extra_configs = [ "//build/config/compiler:wexit_time_destructors" ]
743 743
744 defines = [ "HELPER_EXECUTABLE" ] 744 defines = [ "HELPER_EXECUTABLE" ]
745 745
746 deps = [ 746 deps = [
747 "//build/config:exe_and_shlib_deps", 747 "//build/config:exe_and_shlib_deps",
748 "//chrome/common:version_header", 748 "//chrome/common:version_header",
749 "//sandbox/mac:seatbelt",
749 ] 750 ]
750 751
751 ldflags = [] 752 ldflags = []
752 753
753 if (is_component_build) { 754 if (is_component_build) {
754 ldflags += [ 755 ldflags += [
755 # The helper is in Chromium.app/Contents/Versions/X/Chromium Helper.app/ Conents/MacOS/ 756 # The helper is in Chromium.app/Contents/Versions/X/Chromium Helper.app/ Conents/MacOS/
756 # so set rpath up to the base. 757 # so set rpath up to the base.
757 "-rpath", 758 "-rpath",
758 "@loader_path/../../../../../../..", 759 "@loader_path/../../../../../../..",
(...skipping 1009 matching lines...) Expand 10 before | Expand all | Expand 10 after
1768 "//chrome/app/theme/$branding_path_component/product_logo_48.png", 1769 "//chrome/app/theme/$branding_path_component/product_logo_48.png",
1769 "//chrome/tools/build/linux/chrome-wrapper", 1770 "//chrome/tools/build/linux/chrome-wrapper",
1770 "//third_party/xdg-utils/scripts/xdg-mime", 1771 "//third_party/xdg-utils/scripts/xdg-mime",
1771 "//third_party/xdg-utils/scripts/xdg-settings", 1772 "//third_party/xdg-utils/scripts/xdg-settings",
1772 ] 1773 ]
1773 outputs = [ 1774 outputs = [
1774 "$root_out_dir/{{source_file_part}}", 1775 "$root_out_dir/{{source_file_part}}",
1775 ] 1776 ]
1776 } 1777 }
1777 } 1778 }
OLDNEW
« no previous file with comments | « no previous file | chrome/app/chrome_exe_main_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698