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

Unified Diff: device/battery/android/BUILD.gn

Issue 457933002: Replace Chrome IPC with Mojo IPC for querying BatteryStatus service Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « device/battery/OWNERS ('k') | device/battery/android/battery_jni_registrar.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/battery/android/BUILD.gn
diff --git a/third_party/instrumented_libraries/scripts/pulseaudio.sh b/device/battery/android/BUILD.gn
old mode 100755
new mode 100644
similarity index 52%
copy from third_party/instrumented_libraries/scripts/pulseaudio.sh
copy to device/battery/android/BUILD.gn
index da9aa667a349a51f9253fe4d6079a130979ae5e6..e612067d23c463b5879572baeefdca0bb2d83d81
--- a/third_party/instrumented_libraries/scripts/pulseaudio.sh
+++ b/device/battery/android/BUILD.gn
@@ -1,9 +1,10 @@
-#!/bin/bash
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-# This script does some preparations before build of instrumented pulseaudio.
+import("//build/config/android/config.gni")
+import("//build/config/android/rules.gni")
-# The configure script enforces FORTIFY_SOURCE=2, but we can't live with that.
-sed -i "s/-D_FORTIFY_SOURCE=2/-U_FORTIFY_SOURCE/g" ./configure
+generate_jar_jni("battery_jni_headers") {
+ jni_package = "battery"
+}
« no previous file with comments | « device/battery/OWNERS ('k') | device/battery/android/battery_jni_registrar.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698