diff options
author | John Abd-El-Malek <jam@chromium.org> | 2014-09-24 17:27:50 -0700 |
---|---|---|
committer | John Abd-El-Malek <jam@chromium.org> | 2014-09-25 00:28:35 +0000 |
commit | 4789b6a08a408b687ef8015cd3a760f0b2b08386 (patch) | |
tree | 7d6c60c5669ffba3ff0e31b9ca331da8adf83218 | |
parent | 673cf0160d7b5e520841a65f4425f8be1a48fbb1 (diff) | |
download | chromium_src-4789b6a08a408b687ef8015cd3a760f0b2b08386.zip chromium_src-4789b6a08a408b687ef8015cd3a760f0b2b08386.tar.gz chromium_src-4789b6a08a408b687ef8015cd3a760f0b2b08386.tar.bz2 |
Fix ChromeOS Ozone build since it doesn't have xdisplaycheck.
BUG=414808
TBR=phajdan.jr@chromium.org
Review URL: https://codereview.chromium.org/599863003
Cr-Commit-Position: refs/heads/master@{#296590}
-rw-r--r-- | base/base_unittests.isolate | 6 | ||||
-rw-r--r-- | build/android/pylib/gtest/setup.py | 1 | ||||
-rw-r--r-- | build/isolate.gypi | 1 | ||||
-rw-r--r-- | chrome/browser_tests.isolate | 6 | ||||
-rw-r--r-- | chrome/interactive_ui_tests.isolate | 8 | ||||
-rw-r--r-- | chrome/sync_integration_tests.isolate | 6 | ||||
-rw-r--r-- | chrome/unit_tests.isolate | 6 | ||||
-rw-r--r-- | content/content_browsertests.isolate | 6 | ||||
-rw-r--r-- | content/content_unittests.isolate | 6 | ||||
-rw-r--r-- | testing/chromoting/chromoting_integration_tests.isolate | 6 |
10 files changed, 51 insertions, 1 deletions
diff --git a/base/base_unittests.isolate b/base/base_unittests.isolate index 61b2b04..a7a0723 100644 --- a/base/base_unittests.isolate +++ b/base/base_unittests.isolate @@ -21,6 +21,12 @@ ], 'isolate_dependency_tracked': [ '../testing/xvfb.py', + ], + }, + }], + ['OS=="linux" and use_ozone==0', { + 'variables': { + 'isolate_dependency_tracked': [ '<(PRODUCT_DIR)/xdisplaycheck<(EXECUTABLE_SUFFIX)', ], }, diff --git a/build/android/pylib/gtest/setup.py b/build/android/pylib/gtest/setup.py index fe152bf..6a9e65b 100644 --- a/build/android/pylib/gtest/setup.py +++ b/build/android/pylib/gtest/setup.py @@ -121,6 +121,7 @@ def _GenerateDepsDirUsingIsolate(suite_name, isolate_file_path=None): # TODO(maruel): This may not be always true. '--config-variable', 'target_arch', 'arm', '--config-variable', 'use_openssl', '0', + '--config-variable', 'use_ozone', '0', ] assert not cmd_helper.RunCmd(isolate_cmd) diff --git a/build/isolate.gypi b/build/isolate.gypi index 95d6926..5217c31 100644 --- a/build/isolate.gypi +++ b/build/isolate.gypi @@ -101,6 +101,7 @@ '--config-variable', 'libpeer_target_type=<(libpeer_target_type)', '--config-variable', 'use_openssl=<(use_openssl)', '--config-variable', 'target_arch=<(target_arch)', + '--config-variable', 'use_ozone=<(use_ozone)', ], 'conditions': [ # Note: When gyp merges lists, it appends them to the old value. diff --git a/chrome/browser_tests.isolate b/chrome/browser_tests.isolate index e64dddc..d314f1f 100644 --- a/chrome/browser_tests.isolate +++ b/chrome/browser_tests.isolate @@ -19,6 +19,12 @@ '<(PRODUCT_DIR)/libclearkeycdm.so', '<(PRODUCT_DIR)/libclearkeycdmadapter.so', '<(PRODUCT_DIR)/libppapi_tests.so', + ], + }, + }], + ['OS=="linux" and use_ozone==0', { + 'variables': { + 'isolate_dependency_tracked': [ '<(PRODUCT_DIR)/xdisplaycheck<(EXECUTABLE_SUFFIX)', ], }, diff --git a/chrome/interactive_ui_tests.isolate b/chrome/interactive_ui_tests.isolate index b5595bf..0ebf5f1 100644 --- a/chrome/interactive_ui_tests.isolate +++ b/chrome/interactive_ui_tests.isolate @@ -15,13 +15,19 @@ '../testing/xvfb.py', '<(PRODUCT_DIR)/libffmpegsumo.so', '<(PRODUCT_DIR)/libosmesa.so', - '<(PRODUCT_DIR)/xdisplaycheck<(EXECUTABLE_SUFFIX)', ], 'isolate_dependency_untracked': [ '<(PRODUCT_DIR)/pyproto/', ], }, }], + ['OS=="linux" and use_ozone==0', { + 'variables': { + 'isolate_dependency_tracked': [ + '<(PRODUCT_DIR)/xdisplaycheck<(EXECUTABLE_SUFFIX)', + ], + }, + }], ['OS=="linux" or OS=="mac" or OS=="win"', { 'variables': { 'isolate_dependency_tracked': [ diff --git a/chrome/sync_integration_tests.isolate b/chrome/sync_integration_tests.isolate index 23be3e7..b5bff58 100644 --- a/chrome/sync_integration_tests.isolate +++ b/chrome/sync_integration_tests.isolate @@ -16,6 +16,12 @@ '../testing/xvfb.py', '<(PRODUCT_DIR)/libffmpegsumo.so', '<(PRODUCT_DIR)/libosmesa.so', + ], + }, + }], + ['OS=="linux" and use_ozone==0', { + 'variables': { + 'isolate_dependency_tracked': [ '<(PRODUCT_DIR)/xdisplaycheck<(EXECUTABLE_SUFFIX)', ], }, diff --git a/chrome/unit_tests.isolate b/chrome/unit_tests.isolate index 3f6d27d..a69b4a3 100644 --- a/chrome/unit_tests.isolate +++ b/chrome/unit_tests.isolate @@ -51,6 +51,12 @@ '<(PRODUCT_DIR)/libffmpegsumo.so', '<(PRODUCT_DIR)/libosmesa.so', '<(PRODUCT_DIR)/locales/fr.pak', + ], + }, + }], + ['OS=="linux" and use_ozone==0', { + 'variables': { + 'isolate_dependency_tracked': [ '<(PRODUCT_DIR)/xdisplaycheck<(EXECUTABLE_SUFFIX)', ], }, diff --git a/content/content_browsertests.isolate b/content/content_browsertests.isolate index 285c2c1..04ffaf4 100644 --- a/content/content_browsertests.isolate +++ b/content/content_browsertests.isolate @@ -47,6 +47,12 @@ '<(PRODUCT_DIR)/libffmpegsumo.so', '<(PRODUCT_DIR)/libosmesa.so', '<(PRODUCT_DIR)/libppapi_tests.so', + ], + }, + }], + ['OS=="linux" and use_ozone==0', { + 'variables': { + 'isolate_dependency_tracked': [ '<(PRODUCT_DIR)/xdisplaycheck<(EXECUTABLE_SUFFIX)', ], }, diff --git a/content/content_unittests.isolate b/content/content_unittests.isolate index e689a67..2128936 100644 --- a/content/content_unittests.isolate +++ b/content/content_unittests.isolate @@ -46,6 +46,12 @@ '../testing/xvfb.py', '<(PRODUCT_DIR)/libffmpegsumo.so', '<(PRODUCT_DIR)/libosmesa.so', + ], + }, + }], + ['OS=="linux" and use_ozone==0', { + 'variables': { + 'isolate_dependency_tracked': [ '<(PRODUCT_DIR)/xdisplaycheck<(EXECUTABLE_SUFFIX)', ], }, diff --git a/testing/chromoting/chromoting_integration_tests.isolate b/testing/chromoting/chromoting_integration_tests.isolate index 92dfb74..59afdd5 100644 --- a/testing/chromoting/chromoting_integration_tests.isolate +++ b/testing/chromoting/chromoting_integration_tests.isolate @@ -20,6 +20,12 @@ '<(PRODUCT_DIR)/libffmpegsumo.so', '<(PRODUCT_DIR)/libosmesa.so', '<(PRODUCT_DIR)/nacl_irt_x86_64.nexe', + ], + }, + }], + ['OS=="linux" and use_ozone==0', { + 'variables': { + 'isolate_dependency_tracked': [ '<(PRODUCT_DIR)/xdisplaycheck<(EXECUTABLE_SUFFIX)', ], }, |