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 # This file is meant to be included into a target to provide a rule | 5 # This file is meant to be included into a target to provide a rule |
6 # to generate jni bindings for Java-files in a consistent manner. | 6 # to generate jni bindings for Java-files in a consistent manner. |
7 # | 7 # |
8 # To use this, create a gyp target with the following form: | 8 # To use this, create a gyp target with the following form: |
9 # { | 9 # { |
10 # 'target_name': 'base_jni_headers', | 10 # 'target_name': 'base_jni_headers', |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 }, | 76 }, |
77 ], | 77 ], |
78 'direct_dependent_settings': { | 78 'direct_dependent_settings': { |
79 'include_dirs': [ | 79 'include_dirs': [ |
80 '<(SHARED_INTERMEDIATE_DIR)/<(jni_gen_package)', | 80 '<(SHARED_INTERMEDIATE_DIR)/<(jni_gen_package)', |
81 ], | 81 ], |
82 }, | 82 }, |
83 # This target exports a hard dependency because it generates header | 83 # This target exports a hard dependency because it generates header |
84 # files. | 84 # files. |
85 'hard_dependency': 1, | 85 'hard_dependency': 1, |
86 'conditions': [ | |
87 ['android_webview_build==1', { | |
88 'variables': { | |
89 'native_exports%': '--native_exports', | |
90 }, | |
91 'dependencies': [ | |
92 '<(DEPTH)/build/android/android_exports.gyp:android_exports', | |
93 ], | |
94 }], | |
95 ], | |
96 } | 86 } |
97 | 87 |
OLD | NEW |