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

Side by Side Diff: pylib/gyp/generator/xcode.py

Issue 1254413004: Adding framework path mapping for 'copies' action in gyp files. (Closed) Base URL: https://chromium.googlesource.com/external/gyp.git@master
Patch Set: Verified passing tests Created 5 years, 2 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
OLDNEW
1 # Copyright (c) 2012 Google Inc. All rights reserved. 1 # Copyright (c) 2012 Google Inc. 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 filecmp 5 import filecmp
6 import gyp.common 6 import gyp.common
7 import gyp.xcodeproj_file 7 import gyp.xcodeproj_file
8 import gyp.xcode_ninja 8 import gyp.xcode_ninja
9 import errno 9 import errno
10 import os 10 import os
(...skipping 29 matching lines...) Expand all
40 'SHARED_LIB_PREFIX': 'lib', 40 'SHARED_LIB_PREFIX': 'lib',
41 'STATIC_LIB_SUFFIX': '.a', 41 'STATIC_LIB_SUFFIX': '.a',
42 'SHARED_LIB_SUFFIX': '.dylib', 42 'SHARED_LIB_SUFFIX': '.dylib',
43 # INTERMEDIATE_DIR is a place for targets to build up intermediate products. 43 # INTERMEDIATE_DIR is a place for targets to build up intermediate products.
44 # It is specific to each build environment. It is only guaranteed to exist 44 # It is specific to each build environment. It is only guaranteed to exist
45 # and be constant within the context of a project, corresponding to a single 45 # and be constant within the context of a project, corresponding to a single
46 # input file. Some build environments may allow their intermediate directory 46 # input file. Some build environments may allow their intermediate directory
47 # to be shared on a wider scale, but this is not guaranteed. 47 # to be shared on a wider scale, but this is not guaranteed.
48 'INTERMEDIATE_DIR': '$(%s)' % _intermediate_var, 48 'INTERMEDIATE_DIR': '$(%s)' % _intermediate_var,
49 'OS': 'mac', 49 'OS': 'mac',
50 'FRAMEWORK_DIR': '$(BUILT_FRAMEWORKS_DIR)',
50 'PRODUCT_DIR': '$(BUILT_PRODUCTS_DIR)', 51 'PRODUCT_DIR': '$(BUILT_PRODUCTS_DIR)',
51 'LIB_DIR': '$(BUILT_PRODUCTS_DIR)', 52 'LIB_DIR': '$(BUILT_PRODUCTS_DIR)',
52 'RULE_INPUT_ROOT': '$(INPUT_FILE_BASE)', 53 'RULE_INPUT_ROOT': '$(INPUT_FILE_BASE)',
53 'RULE_INPUT_EXT': '$(INPUT_FILE_SUFFIX)', 54 'RULE_INPUT_EXT': '$(INPUT_FILE_SUFFIX)',
54 'RULE_INPUT_NAME': '$(INPUT_FILE_NAME)', 55 'RULE_INPUT_NAME': '$(INPUT_FILE_NAME)',
55 'RULE_INPUT_PATH': '$(INPUT_FILE_PATH)', 56 'RULE_INPUT_PATH': '$(INPUT_FILE_PATH)',
56 'RULE_INPUT_DIRNAME': '$(INPUT_FILE_DIRNAME)', 57 'RULE_INPUT_DIRNAME': '$(INPUT_FILE_DIRNAME)',
57 'SHARED_INTERMEDIATE_DIR': '$(%s)' % _shared_intermediate_var, 58 'SHARED_INTERMEDIATE_DIR': '$(%s)' % _shared_intermediate_var,
58 'CONFIGURATION_NAME': '$(CONFIGURATION)', 59 'CONFIGURATION_NAME': '$(CONFIGURATION)',
59 } 60 }
(...skipping 1189 matching lines...) Expand 10 before | Expand all | Expand 10 after
1249 1250
1250 for build_file in build_files: 1251 for build_file in build_files:
1251 xcode_projects[build_file].Finalize1(xcode_targets, serialize_all_tests) 1252 xcode_projects[build_file].Finalize1(xcode_targets, serialize_all_tests)
1252 1253
1253 for build_file in build_files: 1254 for build_file in build_files:
1254 xcode_projects[build_file].Finalize2(xcode_targets, 1255 xcode_projects[build_file].Finalize2(xcode_targets,
1255 xcode_target_to_target_dict) 1256 xcode_target_to_target_dict)
1256 1257
1257 for build_file in build_files: 1258 for build_file in build_files:
1258 xcode_projects[build_file].Write() 1259 xcode_projects[build_file].Write()
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698