OLD | NEW |
1 #!/bin/bash | |
2 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
3 # 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 |
4 # found in the LICENSE file. | 3 # found in the LICENSE file. |
5 | 4 |
6 # This script does some preparations before build of instrumented pulseaudio. | 5 import("//build/config/android/config.gni") |
| 6 import("//build/config/android/rules.gni") |
7 | 7 |
8 # The configure script enforces FORTIFY_SOURCE=2, but we can't live with that. | 8 generate_jar_jni("battery_jni_headers") { |
9 sed -i "s/-D_FORTIFY_SOURCE=2/-U_FORTIFY_SOURCE/g" ./configure | 9 jni_package = "battery" |
| 10 } |
OLD | NEW |