Chromium Code Reviews

Side by Side Diff: build/toolchain/mac/BUILD.gn

Issue 119803002: Add GN conversions for more GYP flags (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | | Annotate | Revision Log
OLDNEW
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 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 # Should only be running on Mac. 5 # Should only be running on Mac.
6 assert(is_mac) 6 assert(is_mac || is_ios)
7 7
8 cc = rebase_path("//third_party/llvm-build/Release+Asserts/bin/clang", ".", root _build_dir) 8 cc = rebase_path("//third_party/llvm-build/Release+Asserts/bin/clang", ".", root _build_dir)
9 cxx = rebase_path("//third_party/llvm-build/Release+Asserts/bin/clang++", ".", r oot_build_dir) 9 cxx = rebase_path("//third_party/llvm-build/Release+Asserts/bin/clang++", ".", r oot_build_dir)
10 ld = cxx 10 ld = cxx
11 11
12 # This will copy the gyp-mac-tool to the build directory. We pass in the source 12 # This will copy the gyp-mac-tool to the build directory. We pass in the source
13 # file of the win tool. 13 # file of the win tool.
14 gyp_mac_tool_source = 14 gyp_mac_tool_source =
15 rebase_path("//tools/gyp/pylib/gyp/mac_tool.py", ".", root_build_dir) 15 rebase_path("//tools/gyp/pylib/gyp/mac_tool.py", ".", root_build_dir)
16 exec_script("setup_toolchain.py", [ gyp_mac_tool_source ], "value") 16 exec_script("setup_toolchain.py", [ gyp_mac_tool_source ], "value")
(...skipping 56 matching lines...)
73 #} 73 #}
74 tool("stamp") { 74 tool("stamp") {
75 command = "\${postbuilds}touch \$out" 75 command = "\${postbuilds}touch \$out"
76 description = "STAMP \$out" 76 description = "STAMP \$out"
77 } 77 }
78 tool("copy") { 78 tool("copy") {
79 command = "ln -f \$in \$out 2>/dev/null || (rm -rf \$out && cp -af \$in \$ou t)" 79 command = "ln -f \$in \$out 2>/dev/null || (rm -rf \$out && cp -af \$in \$ou t)"
80 description = "COPY \$in \$out" 80 description = "COPY \$in \$out"
81 } 81 }
82 } 82 }
OLDNEW
« build/gyp_chromium ('K') | « build/gyp_chromium ('k') | tools/gn/secondary/skia/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine