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 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 'target_name': 'jni_generator_py_tests', | 8 'target_name': 'jni_generator_py_tests', |
9 'type': 'none', | 9 'type': 'none', |
10 'variables': { | 10 'variables': { |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 }, | 53 }, |
54 { | 54 { |
55 'target_name': 'jni_generator_tests', | 55 'target_name': 'jni_generator_tests', |
56 'type': 'executable', | 56 'type': 'executable', |
57 'dependencies': [ | 57 'dependencies': [ |
58 '../../base.gyp:test_support_base', | 58 '../../base.gyp:test_support_base', |
59 'jni_generator_py_tests', | 59 'jni_generator_py_tests', |
60 'jni_sample_header', | 60 'jni_sample_header', |
61 'jni_sample_java', | 61 'jni_sample_java', |
62 ], | 62 ], |
| 63 'variables': { |
| 64 'clang_warning_flags': [ |
| 65 # The jni generator generates unused static functions in a header |
| 66 # file, which is a bad idea, but this is only a test target. |
| 67 '-Wno-unused-function', |
| 68 ], |
| 69 }, |
63 'sources': [ | 70 'sources': [ |
64 'sample_for_tests.cc', | 71 'sample_for_tests.cc', |
65 ], | 72 ], |
66 }, | 73 }, |
67 ], | 74 ], |
68 } | 75 } |
OLD | NEW |