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

Side by Side Diff: content/content_shell.gypi

Issue 1881053002: Rework build/mac/tweak_info_plist.py to not rely on environment variables. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comment Created 4 years, 8 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 | « chrome/chrome_exe.gypi ('k') | extensions/shell/app_shell.gyp » ('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 (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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 { 5 {
6 'variables': { 6 'variables': {
7 'content_shell_product_name': 'Content Shell', 7 'content_shell_product_name': 'Content Shell',
8 'content_shell_version': '99.77.34.5', 8 'content_shell_version': '99.77.34.5',
9 }, 9 },
10 'targets': [ 10 'targets': [
(...skipping 506 matching lines...) Expand 10 before | Expand all | Expand 10 after
517 'action': [ 517 'action': [
518 '../build/mac/copy_framework_unversioned.sh', 518 '../build/mac/copy_framework_unversioned.sh',
519 '${BUILT_PRODUCTS_DIR}/<(content_shell_product_name) Framework.f ramework', 519 '${BUILT_PRODUCTS_DIR}/<(content_shell_product_name) Framework.f ramework',
520 '${BUILT_PRODUCTS_DIR}/${CONTENTS_FOLDER_PATH}/Frameworks', 520 '${BUILT_PRODUCTS_DIR}/${CONTENTS_FOLDER_PATH}/Frameworks',
521 ], 521 ],
522 }, 522 },
523 { 523 {
524 # Modify the Info.plist as needed. 524 # Modify the Info.plist as needed.
525 'postbuild_name': 'Tweak Info.plist', 525 'postbuild_name': 'Tweak Info.plist',
526 'action': ['../build/mac/tweak_info_plist.py', 526 'action': ['../build/mac/tweak_info_plist.py',
527 '--plist=${TARGET_BUILD_DIR}/${INFOPLIST_PATH}',
527 '--scm=1', 528 '--scm=1',
528 '--version=<(content_shell_version)'], 529 '--version=<(content_shell_version)'],
529 }, 530 },
530 ], 531 ],
531 }], # OS=="mac" 532 }], # OS=="mac"
532 ['OS=="android"', { 533 ['OS=="android"', {
533 'dependencies': [ 534 'dependencies': [
534 '../tools/imagediff/image_diff.gyp:image_diff#host', 535 '../tools/imagediff/image_diff.gyp:image_diff#host',
535 ], 536 ],
536 'dependencies!': [ 537 'dependencies!': [
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
612 { 613 {
613 # Modify the Info.plist as needed. The script explains why 614 # Modify the Info.plist as needed. The script explains why
614 # this is needed. This is also done in the chrome target. 615 # this is needed. This is also done in the chrome target.
615 # The framework needs the Breakpad keys if this feature is 616 # The framework needs the Breakpad keys if this feature is
616 # enabled. It does not need the Keystone keys; these always 617 # enabled. It does not need the Keystone keys; these always
617 # come from the outer application bundle. The framework 618 # come from the outer application bundle. The framework
618 # doesn't currently use the SCM keys for anything, 619 # doesn't currently use the SCM keys for anything,
619 # but this seems like a really good place to store them. 620 # but this seems like a really good place to store them.
620 'postbuild_name': 'Tweak Info.plist', 621 'postbuild_name': 'Tweak Info.plist',
621 'action': ['../build/mac/tweak_info_plist.py', 622 'action': ['../build/mac/tweak_info_plist.py',
623 '--plist=${TARGET_BUILD_DIR}/${INFOPLIST_PATH}',
622 '--breakpad=1', 624 '--breakpad=1',
623 '--keystone=0', 625 '--keystone=0',
624 '--scm=1', 626 '--scm=1',
625 '--version=<(content_shell_version)', 627 '--version=<(content_shell_version)',
626 '--branding=<(content_shell_product_name)'], 628 '--branding=<(content_shell_product_name)'],
627 }, 629 },
628 ], 630 ],
629 'copies': [ 631 'copies': [
630 { 632 {
631 # PPAPI test plugins are loaded relative to DIR_MODULE. On OS X, 633 # PPAPI test plugins are loaded relative to DIR_MODULE. On OS X,
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
702 ], 704 ],
703 }, 705 },
704 { 706 {
705 # Modify the Info.plist as needed. The script explains why this 707 # Modify the Info.plist as needed. The script explains why this
706 # is needed. This is also done in the chrome and chrome_dll 708 # is needed. This is also done in the chrome and chrome_dll
707 # targets. In this case, --breakpad=0, --keystone=0, and --scm=0 709 # targets. In this case, --breakpad=0, --keystone=0, and --scm=0
708 # are used because Breakpad, Keystone, and SCM keys are 710 # are used because Breakpad, Keystone, and SCM keys are
709 # never placed into the helper. 711 # never placed into the helper.
710 'postbuild_name': 'Tweak Info.plist', 712 'postbuild_name': 'Tweak Info.plist',
711 'action': ['../build/mac/tweak_info_plist.py', 713 'action': ['../build/mac/tweak_info_plist.py',
714 '--plist=${TARGET_BUILD_DIR}/${INFOPLIST_PATH}',
712 '--breakpad=0', 715 '--breakpad=0',
713 '--keystone=0', 716 '--keystone=0',
714 '--scm=0', 717 '--scm=0',
715 '--version=<(content_shell_version)'], 718 '--version=<(content_shell_version)'],
716 }, 719 },
717 ], 720 ],
718 'conditions': [ 721 'conditions': [
719 ['component=="shared_library"', { 722 ['component=="shared_library"', {
720 'xcode_settings': { 723 'xcode_settings': {
721 'LD_RUNPATH_SEARCH_PATHS': [ 724 'LD_RUNPATH_SEARCH_PATHS': [
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
901 '--input_symbol', '<(PRODUCT_DIR)/content_shell.exe.pdb', 904 '--input_symbol', '<(PRODUCT_DIR)/content_shell.exe.pdb',
902 '--destination_dir', '<(dest_dir)', 905 '--destination_dir', '<(dest_dir)',
903 ], 906 ],
904 }, 907 },
905 ], 908 ],
906 }, 909 },
907 ], 910 ],
908 }], # OS=="win" and fastbuild==0 and target_arch=="ia32" 911 }], # OS=="win" and fastbuild==0 and target_arch=="ia32"
909 ] 912 ]
910 } 913 }
OLDNEW
« no previous file with comments | « chrome/chrome_exe.gypi ('k') | extensions/shell/app_shell.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698