Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(343)

Side by Side Diff: device/battery/android/BUILD.gn

Issue 592153002: Replace Chrome IPC with Mojo IPC for querying BatteryStatus service (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: GN Android fixes. Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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_jni("battery_jni_headers") {
9 sed -i "s/-D_FORTIFY_SOURCE=2/-U_FORTIFY_SOURCE/g" ./configure 9 jni_package = "battery"
10 sources = [
11 "java/src/org/chromium/device/battery/BatteryStatusManager.java",
12 ]
13 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698