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

Unified 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: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | testing/iossim/iossim.gyp » ('j') | testing/iossim/iossim.mm » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: testing/iossim/BUILD.gn
diff --git a/testing/iossim/BUILD.gn b/testing/iossim/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..83a14c75e2f050e7060e4a6f028ee4e87f8f4aad
--- /dev/null
+++ b/testing/iossim/BUILD.gn
@@ -0,0 +1,39 @@
+# Copyright 2016 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.
+
+import("//build/config/mac/mac_sdk.gni")
+import("//third_party/class-dump/class-dump.gni")
+
+executable("iossim") {
+ sources = [
+ "iossim.mm",
+ ]
+ libs = [ "Foundation.framework" ]
+ deps = [
+ ":generate_dvt_core_simulator",
+ ":generate_dvt_foundation_header",
+ ":generate_dvt_iphone_sim_header",
+ ]
+ include_dirs = [ "$root_gen_dir/iossim" ]
+ configs += [ "//build/config/mac:macosx_version_min_10_9" ]
+}
+
+class_dump("generate_dvt_core_simulator") {
+ framework_name = "CoreSimulator"
+ framework_path = "$mac_sdk_path/../../../../../Library/PrivateFrameworks"
+ class_dump_filter = "Sim"
+}
+
+class_dump("generate_dvt_foundation_header") {
+ framework_name = "DVTFoundation"
+ framework_path = "$mac_sdk_path/../../../../../../SharedFrameworks"
+ class_dump_filter = "DVTStackBacktrace|DVTInvalidation|DVTMixIn"
+}
+
+class_dump("generate_dvt_iphone_sim_header") {
+ topological_sort = true
+ framework_name = "DVTiPhoneSimulatorRemoteClient"
+ framework_path = "$mac_sdk_path/../../../../../../SharedFrameworks"
+ class_dump_filter = "iPhoneSimulator"
+}
« no previous file with comments | « no previous file | testing/iossim/iossim.gyp » ('j') | testing/iossim/iossim.mm » ('J')

Powered by Google App Engine
This is Rietveld 408576698