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

Unified Diff: base/base.gyp

Issue 683113005: Update from chromium https://crrev.com/302282 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/android/linker/linker_jni.cc ('k') | base/files/file_path_watcher_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/base.gyp
diff --git a/base/base.gyp b/base/base.gyp
index 42e270f78fbbae4f95fcfed5e4d888142b20b4a8..ad4dd226792855d23efd8a8a50685235b3c4858f 100644
--- a/base/base.gyp
+++ b/base/base.gyp
@@ -216,7 +216,7 @@
],
},
}],
- ['OS != "win" and OS != "ios"', {
+ ['OS != "win" and (OS != "ios" or _toolset == "host")', {
'dependencies': ['../third_party/libevent/libevent.gyp:libevent'],
},],
['component=="shared_library"', {
@@ -295,6 +295,9 @@
}],
],
}],
+ ['OS == "ios"', {
+ 'toolsets': ['host', 'target'],
+ }],
],
'export_dependent_settings': [
'base',
@@ -887,6 +890,9 @@
'base_java_unittest_support',
],
}],
+ ['OS == "ios"', {
+ 'toolsets': ['host', 'target'],
+ }],
],
'sources': [
'test/expectations/expectation.cc',
@@ -986,11 +992,20 @@
# by file name rules).
['include', '^test/test_file_util_mac\\.cc$'],
],
+ }],
+ ['OS == "ios" and _toolset == "target"', {
'sources!': [
# iOS uses its own unit test launcher.
'test/launcher/unit_test_launcher.cc',
],
}],
+ ['OS == "ios" and _toolset == "host"', {
+ 'sources!': [
+ 'test/launcher/unit_test_launcher_ios.cc',
+ 'test/test_support_ios.h',
+ 'test/test_support_ios.mm',
+ ],
+ }],
], # target_conditions
},
{
@@ -1012,6 +1027,21 @@
},
],
'conditions': [
+ ['OS=="ios" and "<(GENERATOR)"=="ninja"', {
+ 'targets': [
+ {
+ 'target_name': 'test_launcher',
+ 'toolsets': ['host'],
+ 'type': 'executable',
+ 'dependencies': [
+ 'test_support_base',
+ ],
+ 'sources': [
+ 'test/launcher/test_launcher_ios.cc',
+ ],
+ },
+ ],
+ }],
['OS!="ios"', {
'targets': [
{
@@ -1381,7 +1411,6 @@
{
# GN: //base:base_android_java_enums_srcjar
'target_name': 'base_java_library_load_from_apk_status_codes',
- 'toolsets': ['host', 'target'],
'type': 'none',
'variables': {
'source_file': 'android/library_loader/library_load_from_apk_status_codes.h'
« no previous file with comments | « base/android/linker/linker_jni.cc ('k') | base/files/file_path_watcher_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698