Commit fa8866b7 authored by mark@chromium.org's avatar mark@chromium.org

Move Mac build tool scripts only used by chrome.gyp from build/mac into

chrome/tools/build/mac.

BUG=none
TEST=none
Review URL: http://codereview.chromium.org/334049

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30222 0039d316-1c4b-4281-b951-d872f2087c98
parent b8cc6075
#!/bin/sh
# Copyright (c) 2009 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
set -e
find "${BUILT_PRODUCTS_DIR}/${WRAPPER_NAME}" -iname '*.h' -delete
find "${BUILT_PRODUCTS_DIR}/${WRAPPER_NAME}" -iname 'Headers' -type l -delete
find "${BUILT_PRODUCTS_DIR}/${WRAPPER_NAME}" -iname 'Headers' -type d -prune \
-delete
......@@ -145,6 +145,7 @@
},],
['OS=="mac"', {
'tweak_info_plist_path': 'tools/build/mac/tweak_info_plist',
'symlink_lprojs_path': 'tools/build/mac/symlink_lprojs',
'nacl_defines': [
'NACL_WINDOWS=0',
'NACL_LINUX=0',
......@@ -2567,7 +2568,7 @@
# files and generate table for the ui localizer from it.
'variables': {
'xib_localizer_tool_path':
'<(DEPTH)/build/mac/generate_localizer',
'tools/build/mac/generate_localizer',
'xib_files_to_scan': [
# The xibs that need localization
'app/nibs/About.xib',
......@@ -3535,7 +3536,11 @@
'postbuilds': [
{
'postbuild_name': 'Dump Symbols',
'action': ['<(DEPTH)/build/mac/dump_app_syms',
'variables': {
'dump_product_syms_path':
'tools/build/mac/dump_product_syms',
},
'action': ['<(dump_product_syms_path)',
'<(branding)'],
},
],
......@@ -3681,8 +3686,8 @@
'<(mac_bundle_id)'],
},
{
'postbuild_name': 'Tweak Mac lproj folders',
'action': ['app/tweak_mac_lproj_folders'],
'postbuild_name': 'Make .lproj links',
'action': ['<(symlink_lprojs_path)'],
},
{
'postbuild_name': 'Clean up old versions',
......@@ -5399,8 +5404,8 @@
'<(mac_bundle_id)'],
},
{
'postbuild_name': 'Tweak Mac lproj folders',
'action': ['app/tweak_mac_lproj_folders'],
'postbuild_name': 'Make .lproj links',
'action': ['<(symlink_lprojs_path)'],
},
{
'postbuild_name': 'Symlink Libraries',
......@@ -5624,8 +5629,8 @@
'<(mac_bundle_id)'],
},
{
'postbuild_name': 'Tweak Mac lproj folders',
'action': ['app/tweak_mac_lproj_folders'],
'postbuild_name': 'Make .lproj links',
'action': ['<(symlink_lprojs_path)'],
},
],
'conditions': [
......@@ -5648,7 +5653,7 @@
'chrome',
],
'variables': {
'build_app_dmg_script_path': '<(DEPTH)/build/mac/build_app_dmg',
'build_app_dmg_script_path': 'tools/build/mac/build_app_dmg',
},
'actions': [
{
......
......@@ -19,7 +19,7 @@ fi
set -e
TOP="${SRCROOT}/.."
PKG_DMG="${TOP}/build/mac/pkg-dmg"
PKG_DMG="${SRCROOT}/tools/build/mac/pkg-dmg"
BRAND_SCRIPT="${TOP}/build/branding_value.sh"
BUILD_BRANDING=$1
......
......@@ -19,7 +19,7 @@
# CONFIGURATION=Release \
# SRCROOT=$(pwd) \
# BUILT_PRODUCTS_DIR=$(pwd)/../xcodebuild/Release \
# ../build/mac/dump_app_syms Chromium
# tools/build/mac/dump_app_syms Chromium
# Make sure we got the header to write into passed to us
if [ $# -ne 1 ]; then
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment