Home | History | Annotate | Download | only in multiple_proguards
      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
      3 # found in the LICENSE file.
      4 {
      5   'variables': {
      6     'chromium_code': 1,
      7   },
      8   'targets': [
      9     {
     10       'target_name': 'multiple_proguards_test_apk',
     11       'type': 'none',
     12       'variables': {
     13         'app_manifest_version_name%': '<(android_app_version_name)',
     14         'java_in_dir': '.',
     15         'proguard_enabled': 'true',
     16         'proguard_flags_paths': [
     17           # Both these proguard?.flags files need to be part of the build to
     18           # remove both warnings from the src/dummy/DummyActivity.java file, else the
     19           # build will fail.
     20           'proguard1.flags',
     21           'proguard2.flags',
     22         ],
     23         'R_package': 'dummy',
     24         'R_package_relpath': 'dummy',
     25         'apk_name': 'MultipleProguards',
     26         # This is a build-only test. There's nothing to install.
     27         'gyp_managed_install': 0,
     28         # The Java code produces warnings, so force the build to not show them.
     29         'chromium_code': 0,
     30       },
     31       'includes': [ '../../../../build/java_apk.gypi' ],
     32     },
     33   ],
     34 }
     35