# Copyright 2014 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. { 'includes': [ '../third_party/icu/icu.isolate', ], 'conditions': [ ['OS=="win" or OS=="mac" or OS=="linux"', { 'variables': { 'command': [ '../testing/test_env.py', '<(PRODUCT_DIR)/mojo_apps_js_unittests<(EXECUTABLE_SUFFIX)', '--brave-new-test-launcher', '--test-launcher-bot-mode', ], 'isolate_dependency_tracked': [ '../gin/test/expect.js', '../testing/test_env.py', '<(PRODUCT_DIR)/mojo_apps_js_unittests<(EXECUTABLE_SUFFIX)', ], 'isolate_dependency_untracked': [ '<(PRODUCT_DIR)/gen/mojo/public/bindings/tests/', 'apps/js/', 'bindings/js/', 'public/bindings/js/', ], }, }], ['OS=="win"', { 'variables': { 'isolate_dependency_tracked': [ '<(PRODUCT_DIR)/mojo_system.dll', '<(PRODUCT_DIR)/mojo_test_support.dll', ], }, }], ['OS=="win" and component=="shared_library"', { 'variables': { 'isolate_dependency_tracked': [ '<(PRODUCT_DIR)/base.dll', '<(PRODUCT_DIR)/base_i18n.dll', '<(PRODUCT_DIR)/gin.dll', '<(PRODUCT_DIR)/mojo_system_impl.dll', '<(PRODUCT_DIR)/msvcp120d.dll', '<(PRODUCT_DIR)/msvcr120d.dll', '<(PRODUCT_DIR)/v8.dll', ], }, }], ['OS=="linux"', { 'variables': { 'isolate_dependency_tracked': [ '<(PRODUCT_DIR)/lib/libmojo_system.so', '<(PRODUCT_DIR)/lib/libmojo_test_support.so', ], }, }], ['OS=="linux" and component=="shared_library"', { 'variables': { 'isolate_dependency_tracked': [ '<(PRODUCT_DIR)/lib/libbase.so', '<(PRODUCT_DIR)/lib/libbase_i18n.so', '<(PRODUCT_DIR)/lib/libgin.so', '<(PRODUCT_DIR)/lib/libmojo_system_impl.so', '<(PRODUCT_DIR)/lib/libv8.so', ], }, }], ['OS=="mac"', { 'variables': { 'isolate_dependency_tracked': [ '<(PRODUCT_DIR)/libmojo_gles2.dylib', '<(PRODUCT_DIR)/libmojo_system.dylib', '<(PRODUCT_DIR)/libmojo_test_support.dylib', ], }, }], ['OS=="mac" and component=="shared_library"', { 'variables': { 'isolate_dependency_tracked': [ '<(PRODUCT_DIR)/libbase.dylib', '<(PRODUCT_DIR)/libbase_i18n.dylib', '<(PRODUCT_DIR)/libgfx.dylib', '<(PRODUCT_DIR)/libgfx_geometry.dylib', '<(PRODUCT_DIR)/libgin.dylib', '<(PRODUCT_DIR)/libgl_wrapper.dylib', '<(PRODUCT_DIR)/libgles2_utils.dylib', '<(PRODUCT_DIR)/libmojo_common_lib.dylib', '<(PRODUCT_DIR)/libmojo_environment_chromium_impl.dylib', '<(PRODUCT_DIR)/libmojo_system_impl.dylib', '<(PRODUCT_DIR)/libskia.dylib', '<(PRODUCT_DIR)/libv8.dylib', ], }, }], ], }