| OLD | NEW |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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 config("config") { | 5 config("config") { |
| 6 visibility = [ ":class-dump" ] | 6 visibility = [ ":class-dump" ] |
| 7 libs = [ | 7 libs = [ "Foundation.framework" ] |
| 8 "Foundation.framework", | |
| 9 "crypto", | |
| 10 ] | |
| 11 | 8 |
| 12 # TODO(crbug.com/595295): Building class-dump tools requires OS X SDK | 9 # TODO(crbug.com/595295): Building class-dump tools requires OS X SDK |
| 13 # version 10.9 or higher. Remove this override once the global version | 10 # version 10.9 or higher. Remove this override once the global version |
| 14 # of the SDK is raised. | 11 # of the SDK is raised. |
| 15 common_flags = [ "-mmacosx-version-min=10.9" ] | 12 common_flags = [ "-mmacosx-version-min=10.9" ] |
| 16 ldflags = common_flags | 13 ldflags = common_flags |
| 17 cflags_objc = common_flags | 14 cflags_objc = common_flags |
| 18 | 15 |
| 19 cflags_objc += [ | 16 cflags_objc += [ |
| 20 "-Wno-semicolon-before-method-body", | 17 "-Wno-semicolon-before-method-body", |
| (...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 188 ":config", | 185 ":config", |
| 189 "//build/config/compiler:enable_arc", | 186 "//build/config/compiler:enable_arc", |
| 190 "//build/config/compiler:no_chromium_code", | 187 "//build/config/compiler:no_chromium_code", |
| 191 ] | 188 ] |
| 192 | 189 |
| 193 # TODO(crbug.com/595295): Building class-dump tools requires OS X SDK | 190 # TODO(crbug.com/595295): Building class-dump tools requires OS X SDK |
| 194 # version 10.9 or higher. To prevent mixing code using different value | 191 # version 10.9 or higher. To prevent mixing code using different value |
| 195 # of minimum SDK supported, forbids dependencies on any Chromium target. | 192 # of minimum SDK supported, forbids dependencies on any Chromium target. |
| 196 assert_no_deps = [ "//base/*" ] | 193 assert_no_deps = [ "//base/*" ] |
| 197 } | 194 } |
| OLD | NEW |