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 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'content_shell_product_name': 'Content Shell', | 7 'content_shell_product_name': 'Content Shell', |
8 }, | 8 }, |
9 'targets': [ | 9 'targets': [ |
10 { | 10 { |
(...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
382 '-change', | 382 '-change', |
383 '/Library/Frameworks/<(content_shell_product_name) Framework.fra
mework/Versions/A/<(content_shell_product_name) Framework', | 383 '/Library/Frameworks/<(content_shell_product_name) Framework.fra
mework/Versions/A/<(content_shell_product_name) Framework', |
384 '@executable_path/../Frameworks/<(content_shell_product_name) Fr
amework.framework/<(content_shell_product_name) Framework', | 384 '@executable_path/../Frameworks/<(content_shell_product_name) Fr
amework.framework/<(content_shell_product_name) Framework', |
385 '${BUILT_PRODUCTS_DIR}/${EXECUTABLE_PATH}' | 385 '${BUILT_PRODUCTS_DIR}/${EXECUTABLE_PATH}' |
386 ], | 386 ], |
387 }, | 387 }, |
388 { | 388 { |
389 # Modify the Info.plist as needed. | 389 # Modify the Info.plist as needed. |
390 'postbuild_name': 'Tweak Info.plist', | 390 'postbuild_name': 'Tweak Info.plist', |
391 'action': ['../build/mac/tweak_info_plist.py', | 391 'action': ['../build/mac/tweak_info_plist.py', |
392 '--svn=1'], | 392 '--scm=1'], |
393 }, | 393 }, |
394 { | 394 { |
395 # This postbuid step is responsible for creating the following | 395 # This postbuid step is responsible for creating the following |
396 # helpers: | 396 # helpers: |
397 # | 397 # |
398 # Content Shell Helper EH.app and Content Shell Helper NP.app are | 398 # Content Shell Helper EH.app and Content Shell Helper NP.app are |
399 # created from Content Shell Helper.app. | 399 # created from Content Shell Helper.app. |
400 # | 400 # |
401 # The EH helper is marked for an executable heap. The NP helper | 401 # The EH helper is marked for an executable heap. The NP helper |
402 # is marked for no PIE (ASLR). | 402 # is marked for no PIE (ASLR). |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
492 'install_name_tool', | 492 'install_name_tool', |
493 '-change', | 493 '-change', |
494 '/Library/Frameworks/<(content_shell_product_name) Framework.fra
mework/Versions/A/<(content_shell_product_name) Framework', | 494 '/Library/Frameworks/<(content_shell_product_name) Framework.fra
mework/Versions/A/<(content_shell_product_name) Framework', |
495 '@executable_path/../../../../Frameworks/<(content_shell_product
_name) Framework.framework/<(content_shell_product_name) Framework', | 495 '@executable_path/../../../../Frameworks/<(content_shell_product
_name) Framework.framework/<(content_shell_product_name) Framework', |
496 '${BUILT_PRODUCTS_DIR}/${EXECUTABLE_PATH}' | 496 '${BUILT_PRODUCTS_DIR}/${EXECUTABLE_PATH}' |
497 ], | 497 ], |
498 }, | 498 }, |
499 { | 499 { |
500 # Modify the Info.plist as needed. The script explains why this | 500 # Modify the Info.plist as needed. The script explains why this |
501 # is needed. This is also done in the chrome and chrome_dll | 501 # is needed. This is also done in the chrome and chrome_dll |
502 # targets. In this case, --breakpad=0, --keystone=0, and --svn=0 | 502 # targets. In this case, --breakpad=0, --keystone=0, and --scm=0 |
503 # are used because Breakpad, Keystone, and Subversion keys are | 503 # are used because Breakpad, Keystone, and SCM keys are |
504 # never placed into the helper. | 504 # never placed into the helper. |
505 'postbuild_name': 'Tweak Info.plist', | 505 'postbuild_name': 'Tweak Info.plist', |
506 'action': ['../build/mac/tweak_info_plist.py', | 506 'action': ['../build/mac/tweak_info_plist.py', |
507 '--breakpad=0', | 507 '--breakpad=0', |
508 '--keystone=0', | 508 '--keystone=0', |
509 '--svn=0'], | 509 '--scm=0'], |
510 }, | 510 }, |
511 { | 511 { |
512 # Make sure there isn't any Objective-C in the helper app's | 512 # Make sure there isn't any Objective-C in the helper app's |
513 # executable. | 513 # executable. |
514 'postbuild_name': 'Verify No Objective-C', | 514 'postbuild_name': 'Verify No Objective-C', |
515 'action': [ | 515 'action': [ |
516 '../build/mac/verify_no_objc.sh', | 516 '../build/mac/verify_no_objc.sh', |
517 ], | 517 ], |
518 }, | 518 }, |
519 ], | 519 ], |
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
663 'dependencies': [ | 663 'dependencies': [ |
664 'content_java', | 664 'content_java', |
665 ], | 665 ], |
666 } | 666 } |
667 ], | 667 ], |
668 }, | 668 }, |
669 ], | 669 ], |
670 }], # OS=="android" | 670 }], # OS=="android" |
671 ] | 671 ] |
672 } | 672 } |
OLD | NEW |