| OLD | NEW |
| 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2013 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 'variables': { | 5 'variables': { |
| 6 'chromium_code': 1, | 6 'chromium_code': 1, |
| 7 'package_name': 'multiple_proguard', | |
| 8 }, | 7 }, |
| 9 'targets': [ | 8 'targets': [ |
| 10 { | 9 { |
| 11 'target_name': 'multiple_proguards_test_apk', | 10 'target_name': 'multiple_proguards_test_apk', |
| 12 'type': 'none', | 11 'type': 'none', |
| 13 'variables': { | 12 'variables': { |
| 14 'app_manifest_version_name%': '<(android_app_version_name)', | 13 'app_manifest_version_name%': '<(android_app_version_name)', |
| 15 'java_in_dir': '.', | 14 'java_in_dir': '.', |
| 16 'proguard_enabled': 'true', | 15 'proguard_enabled': 'true', |
| 17 'proguard_flags_paths': [ | 16 'proguard_flags_paths': [ |
| 18 'proguard1.flags', | 17 'proguard1.flags', |
| 19 'proguard2.flags', | 18 'proguard2.flags', |
| 20 ], | 19 ], |
| 21 'R_package': 'dummy', | 20 'R_package': 'dummy', |
| 22 'R_package_relpath': 'dummy', | 21 'R_package_relpath': 'dummy', |
| 23 'apk_name': 'MultipleProguards', | 22 'apk_name': 'MultipleProguards', |
| 24 # This is a build-only test. There's nothing to install. | 23 # This is a build-only test. There's nothing to install. |
| 25 'gyp_managed_install': 0, | 24 'gyp_managed_install': 0, |
| 26 }, | 25 }, |
| 27 'dependencies': [ | 26 'dependencies': [ |
| 28 # guava has references to objects using reflection which | 27 # guava has references to objects using reflection which |
| 29 # should be ignored in proguard step. | 28 # should be ignored in proguard step. |
| 30 '../../../../third_party/guava/guava.gyp:guava_javalib', | 29 '../../../../third_party/guava/guava.gyp:guava_javalib', |
| 31 ], | 30 ], |
| 32 'includes': [ '../../../../build/java_apk.gypi' ], | 31 'includes': [ '../../../../build/java_apk.gypi' ], |
| 33 }, | 32 }, |
| 34 ], | 33 ], |
| 35 } | 34 } |
| OLD | NEW |