OLD | NEW |
1 # Copyright (c) 2012 The WebRTC Project Authors. All rights reserved. | 1 # Copyright (c) 2012 The WebRTC Project Authors. All rights reserved. |
2 # | 2 # |
3 # Use of this source code is governed by a BSD-style license | 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 | 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 | 5 # tree. An additional intellectual property rights grant can be found |
6 # in the file PATENTS. All contributing project authors may | 6 # in the file PATENTS. All contributing project authors may |
7 # be found in the AUTHORS file in the root of the source tree. | 7 # be found in the AUTHORS file in the root of the source tree. |
8 { | 8 { |
9 'includes': [ | 9 'includes': [ |
10 '../talk/build/common.gypi', | 10 '../talk/build/common.gypi', |
(...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
401 ], # targets | 401 ], # targets |
402 }], # OS=="ios" or (OS=="mac" and target_arch!="ia32") | 402 }], # OS=="ios" or (OS=="mac" and target_arch!="ia32") |
403 | 403 |
404 ['OS=="android"', { | 404 ['OS=="android"', { |
405 'targets': [ | 405 'targets': [ |
406 { | 406 { |
407 'target_name': 'AppRTCDemo', | 407 'target_name': 'AppRTCDemo', |
408 'type': 'none', | 408 'type': 'none', |
409 'dependencies': [ | 409 'dependencies': [ |
410 'api/api.gyp:libjingle_peerconnection_java', | 410 'api/api.gyp:libjingle_peerconnection_java', |
| 411 '<(DEPTH)/third_party/android_tools/android_tools.gyp:android_suppor
t_design_javalib' |
411 ], | 412 ], |
412 'variables': { | 413 'variables': { |
413 'apk_name': 'AppRTCDemo', | 414 'apk_name': 'AppRTCDemo', |
414 'java_in_dir': 'examples/androidapp', | 415 'java_in_dir': 'examples/androidapp', |
415 'has_java_resources': 1, | 416 'has_java_resources': 1, |
416 'resource_dir': 'examples/androidapp/res', | 417 'resource_dir': 'examples/androidapp/res', |
417 'R_package': 'org.appspot.apprtc', | 418 'R_package': 'org.appspot.apprtc', |
418 'R_package_relpath': 'org/appspot/apprtc', | 419 'R_package_relpath': 'org/appspot/apprtc', |
419 'input_jars_paths': [ | 420 'input_jars_paths': [ |
420 'examples/androidapp/third_party/autobanh/autobanh.jar', | 421 'examples/androidapp/third_party/autobanh/autobanh.jar', |
| 422 '<(DEPTH)/third_party/android_tools/sdk/extras/android/support/v4/
android-support-v4.jar', |
421 ], | 423 ], |
422 'library_dexed_jars_paths': [ | 424 'library_dexed_jars_paths': [ |
423 'examples/androidapp/third_party/autobanh/autobanh.jar', | 425 'examples/androidapp/third_party/autobanh/autobanh.jar', |
| 426 '<(DEPTH)/third_party/android_tools/sdk/extras/android/support/v4/
android-support-v4.jar', |
424 ], | 427 ], |
425 'native_lib_target': 'libjingle_peerconnection_so', | 428 'native_lib_target': 'libjingle_peerconnection_so', |
426 'add_to_dependents_classpaths':1, | 429 'add_to_dependents_classpaths':1, |
427 }, | 430 }, |
428 'includes': [ '../build/java_apk.gypi' ], | 431 'includes': [ '../build/java_apk.gypi' ], |
429 }, # target AppRTCDemo | 432 }, # target AppRTCDemo |
430 | 433 |
431 { | 434 { |
432 # AppRTCDemo creates a .jar as a side effect. Any java targets | 435 # AppRTCDemo creates a .jar as a side effect. Any java targets |
433 # that need that .jar in their classpath should depend on this target, | 436 # that need that .jar in their classpath should depend on this target, |
(...skipping 24 matching lines...) Expand all Loading... |
458 }, | 461 }, |
459 'includes': [ | 462 'includes': [ |
460 '../build/java_apk.gypi', | 463 '../build/java_apk.gypi', |
461 '../build/android/test_runner.gypi', | 464 '../build/android/test_runner.gypi', |
462 ], | 465 ], |
463 }, | 466 }, |
464 ], # targets | 467 ], # targets |
465 }], # OS=="android" | 468 }], # OS=="android" |
466 ], | 469 ], |
467 } | 470 } |
OLD | NEW |