| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 'conditions': [ | 6 'conditions': [ |
| 7 ['OS=="android"', { | 7 ['OS=="android"', { |
| 8 # TODO(mef): Figure out what needs to be done for gn script. | 8 # TODO(mef): Figure out what needs to be done for gn script. |
| 9 'targets': [ | 9 'targets': [ |
| 10 { | 10 { |
| (...skipping 482 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 493 'action_name': 'generate licenses', | 493 'action_name': 'generate licenses', |
| 494 'inputs': ['cronet/tools/cronet_licenses.py'] , | 494 'inputs': ['cronet/tools/cronet_licenses.py'] , |
| 495 'outputs': ['<(package_dir)/LICENSE'], | 495 'outputs': ['<(package_dir)/LICENSE'], |
| 496 'action': [ | 496 'action': [ |
| 497 'python', | 497 'python', |
| 498 '<@(_inputs)', | 498 '<@(_inputs)', |
| 499 'license', | 499 'license', |
| 500 '<@(_outputs)', | 500 '<@(_outputs)', |
| 501 ], | 501 ], |
| 502 }, | 502 }, |
| 503 { |
| 504 'action_name': 'generate javadoc', |
| 505 'inputs': ['cronet/tools/generate_javadoc.py'] , |
| 506 'outputs': ['<(package_dir)/javadoc'], |
| 507 'action': [ |
| 508 'python', |
| 509 '<@(_inputs)', |
| 510 '--source-dir=src', |
| 511 '--output-dir=<(package_dir)/javadoc', |
| 512 '--working-dir=cronet/android/java', |
| 513 ], |
| 514 'message': 'Generating Javadoc', |
| 515 }, |
| 503 ], | 516 ], |
| 504 'copies': [ | 517 'copies': [ |
| 505 { | 518 { |
| 506 'destination': '<(package_dir)', | 519 'destination': '<(package_dir)', |
| 507 'files': [ | 520 'files': [ |
| 508 '../AUTHORS', | 521 '../AUTHORS', |
| 509 '../chrome/VERSION', | 522 '../chrome/VERSION', |
| 510 'cronet/android/proguard.cfg', | 523 'cronet/android/proguard.cfg', |
| 511 '<(lib_java_dir)/<(java_stub_lib)' | 524 '<(lib_java_dir)/<(java_stub_lib)' |
| 512 ], | 525 ], |
| 513 }, | 526 }, |
| 514 { | 527 { |
| 515 'destination': '<(package_dir)/symbols/<(android_app_abi)', | 528 'destination': '<(package_dir)/symbols/<(android_app_abi)', |
| 516 'files': [ | 529 'files': [ |
| 517 '<(SHARED_LIB_DIR)/<(native_lib)', | 530 '<(SHARED_LIB_DIR)/<(native_lib)', |
| 518 ], | 531 ], |
| 519 }, | 532 }, |
| 520 ], | 533 ], |
| 521 }, | 534 }, |
| 522 ], | 535 ], |
| 523 'variables': { | 536 'variables': { |
| 524 'enable_data_reduction_proxy_support%': 0, | 537 'enable_data_reduction_proxy_support%': 0, |
| 525 }, | 538 }, |
| 526 }], # OS=="android" | 539 }], # OS=="android" |
| 527 ], | 540 ], |
| 528 } | 541 } |
| OLD | NEW |