Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(67)

Side by Side Diff: webrtc/api/api_java.gyp

Issue 2080563002: Workaround java.gypi inclusion error in Chromium builds. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Changes to all.gyp Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « webrtc/api/api.gyp ('k') | webrtc/api/api_tests.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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': 'java',
38 'webrtc_base_dir': '<(webrtc_root)/base',
39 'webrtc_modules_dir': '<(webrtc_root)/modules',
40 'additional_src_dirs' : [
41 'java/android',
42 '<(webrtc_base_dir)/java/src',
43 '<(webrtc_modules_dir)/audio_device/android/java/src',
44
45 ],
46 },
47 'includes': ['../../build/java.gypi'],
48 },
49 ], # targets
50 }], # OS=="android"
51 ], # conditions
52 }
OLDNEW
« no previous file with comments | « webrtc/api/api.gyp ('k') | webrtc/api/api_tests.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698