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

Side by Side Diff: testing/iossim/BUILD.gn

Issue 1797253002: Add testing/iossim/BUILD.gn to build iossim as host for iOS build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@class-dump
Patch Set: Remove use of //build/config/mac:macosx_version_min_10_9 Created 4 years, 9 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
« no previous file with comments | « no previous file | testing/iossim/iossim.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 # found in the LICENSE file.
4
5 import("//build/config/mac/mac_sdk.gni")
6 import("//third_party/class-dump/class-dump.gni")
7
8 config("config") {
9 visibility = [ ":iossim" ]
10
11 include_dirs = [ "$root_gen_dir/iossim" ]
12
13 # TODO(crbug.com/595295): Building class-dump tools requires OS X SDK
14 # version 10.9 or higher. Remove this override once the global version
15 # of the SDK is raised.
16 common_flags = [ "-mmacosx-version-min=10.9" ]
17 ldflags = common_flags
18 cflags_objcc = common_flags
19 }
20
21 executable("iossim") {
22 sources = [
23 "iossim.mm",
24 ]
25 libs = [ "Foundation.framework" ]
26 deps = [
27 ":generate_dvt_core_simulator",
28 ":generate_dvt_foundation_header",
29 ":generate_dvt_iphone_sim_header",
30 ]
31 configs += [ ":config" ]
32
33 # TODO(crbug.com/595295): Building class-dump tools requires OS X SDK
34 # version 10.9 or higher. To prevent mixing code using different value
35 # of minimum SDK supported, forbids dependencies on any Chromium target.
36 assert_no_deps = [ "//base/*" ]
37 }
38
39 class_dump("generate_dvt_core_simulator") {
40 framework_name = "CoreSimulator"
41 framework_path = "$mac_sdk_path/../../../../../Library/PrivateFrameworks"
42 class_dump_filter = "Sim"
43 }
44
45 class_dump("generate_dvt_foundation_header") {
46 framework_name = "DVTFoundation"
47 framework_path = "$mac_sdk_path/../../../../../../SharedFrameworks"
48 class_dump_filter = "DVTStackBacktrace|DVTInvalidation|DVTMixIn"
49 }
50
51 class_dump("generate_dvt_iphone_sim_header") {
52 topological_sort = true
53 framework_name = "DVTiPhoneSimulatorRemoteClient"
54 framework_path = "$mac_sdk_path/../../../../../../SharedFrameworks"
55 class_dump_filter = "iPhoneSimulator"
56 }
OLDNEW
« no previous file with comments | « no previous file | testing/iossim/iossim.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698