| OLD | NEW |
| (Empty) |
| 1 # Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. | |
| 2 # | |
| 3 # Use of this source code is governed by a BSD-style license | |
| 4 # that can be found in the LICENSE file in the root of the source | |
| 5 # tree. An additional intellectual property rights grant can be found | |
| 6 # in the file PATENTS. All contributing project authors may | |
| 7 # be found in the AUTHORS file in the root of the source tree. | |
| 8 | |
| 9 # This file exists only because there's no other way to avoid errors in the | |
| 10 # Chromium build due to the inclusion of build/java.gypi. GYP unfortunately | |
| 11 # processes all 'includes' for all .gyp files, ignoring conditions. This | |
| 12 # processing takes place early in the cycle, before it's possible to use | |
| 13 # variables. It will go away when WebRTC has fully migrated to GN. | |
| 14 | |
| 15 { | |
| 16 'includes': [ '../build/common.gypi', ], | |
| 17 'conditions': [ | |
| 18 ['OS=="android"', { | |
| 19 'targets': [ | |
| 20 { | |
| 21 # |libjingle_peerconnection_java| builds a jar file with name | |
| 22 # libjingle_peerconnection_java.jar using Chrome's build system. | |
| 23 # It includes all Java files needed to setup a PeeerConnection call | |
| 24 # from Android. | |
| 25 'target_name': 'libjingle_peerconnection_java', | |
| 26 'type': 'none', | |
| 27 'dependencies': [ | |
| 28 '<(webrtc_root)/api/api.gyp:libjingle_peerconnection_so', | |
| 29 ], | |
| 30 'variables': { | |
| 31 # Designate as Chromium code and point to our lint settings to | |
| 32 # enable linting of the WebRTC code (this is the only way to make | |
| 33 # lint_action invoke the Android linter). | |
| 34 'android_manifest_path': '<(webrtc_root)/build/android/AndroidManife
st.xml', | |
| 35 'suppressions_file': '<(webrtc_root)/build/android/suppressions.xml'
, | |
| 36 'chromium_code': 1, | |
| 37 'java_in_dir': 'android/java', | |
| 38 'webrtc_base_dir': '<(webrtc_root)/base', | |
| 39 'webrtc_modules_dir': '<(webrtc_root)/modules', | |
| 40 'additional_src_dirs' : [ | |
| 41 '<(webrtc_base_dir)/java', | |
| 42 '<(webrtc_modules_dir)/audio_device/android/java/src', | |
| 43 ], | |
| 44 }, | |
| 45 'includes': ['../../build/java.gypi'], | |
| 46 }, | |
| 47 ], # targets | |
| 48 }], # OS=="android" | |
| 49 ], # conditions | |
| 50 } | |
| OLD | NEW |