OLD | NEW |
1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 { | 4 { |
5 # TODO(kbr): including all of chrome.isolate is overkill -- the only | |
6 # real dependency is on ffmpegsumo. However, wait to refactor | |
7 # chrome.isolate (perhaps adding a media.isolate) for the moment. | |
8 'includes': [ | |
9 'chrome.isolate', | |
10 ], | |
11 'conditions': [ | 5 'conditions': [ |
12 ['OS=="android" or OS=="linux" or OS=="mac" or OS=="win"', { | 6 ['OS=="android" or OS=="linux" or OS=="mac" or OS=="win"', { |
13 'variables': { | 7 'variables': { |
14 'command': [ | 8 'command': [ |
15 '<(PRODUCT_DIR)/content_gl_tests<(EXECUTABLE_SUFFIX)', | 9 '<(PRODUCT_DIR)/content_gl_tests<(EXECUTABLE_SUFFIX)', |
16 ], | 10 ], |
17 'isolate_dependency_tracked': [ | 11 'isolate_dependency_tracked': [ |
18 '<(PRODUCT_DIR)/content_gl_tests<(EXECUTABLE_SUFFIX)', | 12 '<(PRODUCT_DIR)/content_gl_tests<(EXECUTABLE_SUFFIX)', |
19 ], | 13 ], |
20 }, | 14 }, |
21 }], | 15 }], |
22 # TODO(kbr): these two dependencies seem to be necessary when | 16 # TODO(kbr): these two dependencies seem to be necessary when |
23 # running the component build to avoid "Failed to mmap datapack" | 17 # running the component build to avoid "Failed to mmap datapack" |
24 # errors. Should investigate further. | 18 # errors. Should investigate further. |
25 ['OS=="linux" or OS=="win"', { | 19 ['OS=="linux" or OS=="win"', { |
26 'variables': { | 20 'variables': { |
27 'isolate_dependency_tracked': [ | 21 'isolate_dependency_tracked': [ |
28 '<(PRODUCT_DIR)/content_resources.pak', | 22 '<(PRODUCT_DIR)/content_resources.pak', |
29 '<(PRODUCT_DIR)/ui_test.pak', | 23 '<(PRODUCT_DIR)/ui_test.pak', |
30 ], | 24 ], |
31 }, | 25 }, |
32 }], | 26 }], |
| 27 ['OS=="linux"', { |
| 28 'variables': { |
| 29 'isolate_dependency_tracked': [ |
| 30 '<(PRODUCT_DIR)/libffmpegsumo.so', |
| 31 ], |
| 32 }, |
| 33 }], |
| 34 ['OS=="mac"', { |
| 35 'variables': { |
| 36 'isolate_dependency_tracked': [ |
| 37 '<(PRODUCT_DIR)/ffmpegsumo.so', |
| 38 ], |
| 39 }, |
| 40 }], |
| 41 ['OS=="win"', { |
| 42 'variables': { |
| 43 'isolate_dependency_tracked': [ |
| 44 '<(PRODUCT_DIR)/d3dcompiler_46.dll', |
| 45 '<(PRODUCT_DIR)/libEGL.dll', |
| 46 '<(PRODUCT_DIR)/libGLESv2.dll', |
| 47 '<(PRODUCT_DIR)/ffmpegsumo.dll', |
| 48 '<(PRODUCT_DIR)/osmesa.dll', |
| 49 ], |
| 50 }, |
| 51 }], |
33 ], | 52 ], |
| 53 'includes': [ |
| 54 '../third_party/icu/icu.isolate', |
| 55 ], |
34 } | 56 } |
OLD | NEW |