OLD | NEW |
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 'variables': { | 5 'variables': { |
6 'chromium_code': 1, | 6 'chromium_code': 1, |
7 | 7 |
8 'variables': { | 8 'variables': { |
9 'version_py_path': 'tools/build/version.py', | 9 'version_py_path': 'tools/build/version.py', |
10 'version_path': 'VERSION', | 10 'version_path': 'VERSION', |
(...skipping 436 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
447 'install_name_tool', | 447 'install_name_tool', |
448 '-change', | 448 '-change', |
449 '@executable_path/../Versions/<(version_full)/<(mac_product_name
) Framework.framework/<(mac_product_name) Framework', | 449 '@executable_path/../Versions/<(version_full)/<(mac_product_name
) Framework.framework/<(mac_product_name) Framework', |
450 '@executable_path/../../../<(mac_product_name) Framework.framewo
rk/<(mac_product_name) Framework', | 450 '@executable_path/../../../<(mac_product_name) Framework.framewo
rk/<(mac_product_name) Framework', |
451 '${BUILT_PRODUCTS_DIR}/${EXECUTABLE_PATH}' | 451 '${BUILT_PRODUCTS_DIR}/${EXECUTABLE_PATH}' |
452 ], | 452 ], |
453 }, | 453 }, |
454 { | 454 { |
455 # Modify the Info.plist as needed. The script explains why this | 455 # Modify the Info.plist as needed. The script explains why this |
456 # is needed. This is also done in the chrome and chrome_dll | 456 # is needed. This is also done in the chrome and chrome_dll |
457 # targets. In this case, --breakpad=0, --keystone=0, and --svn=0 | 457 # targets. In this case, --breakpad=0, --keystone=0, and --scm=0 |
458 # are used because Breakpad, Keystone, and Subversion keys are | 458 # are used because Breakpad, Keystone, and SCM keys are |
459 # never placed into the helper. | 459 # never placed into the helper. |
460 'postbuild_name': 'Tweak Info.plist', | 460 'postbuild_name': 'Tweak Info.plist', |
461 'action': ['<(tweak_info_plist_path)', | 461 'action': ['<(tweak_info_plist_path)', |
462 '--breakpad=0', | 462 '--breakpad=0', |
463 '--keystone=0', | 463 '--keystone=0', |
464 '--svn=0'], | 464 '--scm=0'], |
465 }, | 465 }, |
466 { | 466 { |
467 # Make sure there isn't any Objective-C in the helper app's | 467 # Make sure there isn't any Objective-C in the helper app's |
468 # executable. | 468 # executable. |
469 'postbuild_name': 'Verify No Objective-C', | 469 'postbuild_name': 'Verify No Objective-C', |
470 'action': [ | 470 'action': [ |
471 '../build/mac/verify_no_objc.sh', | 471 '../build/mac/verify_no_objc.sh', |
472 ], | 472 ], |
473 }, | 473 }, |
474 ], | 474 ], |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
554 ['exclude', '.*'], | 554 ['exclude', '.*'], |
555 ], | 555 ], |
556 'xcode_settings': { | 556 'xcode_settings': { |
557 'INFOPLIST_FILE': 'app/app_mode-Info.plist', | 557 'INFOPLIST_FILE': 'app/app_mode-Info.plist', |
558 'APP_MODE_APP_BUNDLE_ID': '<(mac_bundle_id).app.@APP_MODE_SHORTCUT_I
D@', | 558 'APP_MODE_APP_BUNDLE_ID': '<(mac_bundle_id).app.@APP_MODE_SHORTCUT_I
D@', |
559 }, | 559 }, |
560 'postbuilds' : [ | 560 'postbuilds' : [ |
561 { | 561 { |
562 # Modify the Info.plist as needed. The script explains why this | 562 # Modify the Info.plist as needed. The script explains why this |
563 # is needed. This is also done in the chrome and chrome_dll | 563 # is needed. This is also done in the chrome and chrome_dll |
564 # targets. In this case, --breakpad=0, --keystone=0, and --svn=0 | 564 # targets. In this case, --breakpad=0, --keystone=0, and --scm=0 |
565 # are used because Breakpad, Keystone, and Subversion keys are | 565 # are used because Breakpad, Keystone, and SCM keys are |
566 # never placed into the app mode loader. | 566 # never placed into the app mode loader. |
567 'postbuild_name': 'Tweak Info.plist', | 567 'postbuild_name': 'Tweak Info.plist', |
568 'action': ['<(tweak_info_plist_path)', | 568 'action': ['<(tweak_info_plist_path)', |
569 '--breakpad=0', | 569 '--breakpad=0', |
570 '--keystone=0', | 570 '--keystone=0', |
571 '--svn=0'], | 571 '--scm=0'], |
572 }, | 572 }, |
573 ], | 573 ], |
574 }, # target app_mode_app | 574 }, # target app_mode_app |
575 { | 575 { |
576 # Convenience target to build a disk image. | 576 # Convenience target to build a disk image. |
577 'target_name': 'build_app_dmg', | 577 'target_name': 'build_app_dmg', |
578 # Don't place this in the 'all' list; most won't want it. | 578 # Don't place this in the 'all' list; most won't want it. |
579 # In GYP, booleans are 0/1, not True/False. | 579 # In GYP, booleans are 0/1, not True/False. |
580 'suppress_wildcard': 1, | 580 'suppress_wildcard': 1, |
581 'type': 'none', | 581 'type': 'none', |
(...skipping 500 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1082 'variables': { | 1082 'variables': { |
1083 'package_name': 'chrome', | 1083 'package_name': 'chrome', |
1084 'java_in_dir': '../chrome/android/java', | 1084 'java_in_dir': '../chrome/android/java', |
1085 }, | 1085 }, |
1086 'includes': [ '../build/java.gypi' ], | 1086 'includes': [ '../build/java.gypi' ], |
1087 }, | 1087 }, |
1088 ]}, # 'targets' | 1088 ]}, # 'targets' |
1089 ], # OS=="android" | 1089 ], # OS=="android" |
1090 ], # 'conditions' | 1090 ], # 'conditions' |
1091 } | 1091 } |
OLD | NEW |