OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 # These are defined here because we need to build this library twice. Once | 8 # These are defined here because we need to build this library twice. Once |
9 # with extra parameter checking. Once with no parameter checking to be 100% | 9 # with extra parameter checking. Once with no parameter checking to be 100% |
10 # OpenGL ES 2.0 compliant for the conformance tests. | 10 # OpenGL ES 2.0 compliant for the conformance tests. |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 'command_buffer/client/program_info_manager.h', | 42 'command_buffer/client/program_info_manager.h', |
43 'command_buffer/client/query_tracker.cc', | 43 'command_buffer/client/query_tracker.cc', |
44 'command_buffer/client/query_tracker.h', | 44 'command_buffer/client/query_tracker.h', |
45 'command_buffer/client/share_group.cc', | 45 'command_buffer/client/share_group.cc', |
46 'command_buffer/client/share_group.h', | 46 'command_buffer/client/share_group.h', |
47 'command_buffer/client/vertex_array_object_manager.cc', | 47 'command_buffer/client/vertex_array_object_manager.cc', |
48 'command_buffer/client/vertex_array_object_manager.h', | 48 'command_buffer/client/vertex_array_object_manager.h', |
49 ] | 49 ] |
50 }, | 50 }, |
51 'conditions': [ | 51 'conditions': [ |
52 # Special target to wrap a gtest_target_type==shared_library | 52 ['OS == "android"', { |
53 # gpu_unittests into an android apk for execution. | |
54 ['OS == "android" and gtest_target_type == "shared_library"', { | |
55 'targets': [ | 53 'targets': [ |
56 { | 54 { |
57 'target_name': 'gpu_unittests_apk', | 55 'target_name': 'gpu_unittests_apk', |
58 'type': 'none', | 56 'type': 'none', |
59 'dependencies': [ | 57 'dependencies': [ |
60 'gpu_unittests', | 58 'gpu_unittests', |
61 ], | 59 ], |
62 'variables': { | 60 'variables': { |
63 'test_suite_name': 'gpu_unittests', | 61 'test_suite_name': 'gpu_unittests', |
64 }, | 62 }, |
65 'includes': [ '../build/apk_test.gypi' ], | 63 'includes': [ '../build/apk_test.gypi' ], |
66 }, | 64 }, |
67 ], | 65 ], |
68 }], | 66 }], |
69 ], | 67 ], |
70 } | 68 } |
OLD | NEW |