Index: components/variations/android/BUILD.gn |
diff --git a/third_party/instrumented_libraries/scripts/pulseaudio.sh b/components/variations/android/BUILD.gn |
old mode 100755 |
new mode 100644 |
similarity index 52% |
copy from third_party/instrumented_libraries/scripts/pulseaudio.sh |
copy to components/variations/android/BUILD.gn |
index da9aa667a349a51f9253fe4d6079a130979ae5e6..3fe1d683d7e7629c6946056ac90926a221dfa0d5 |
--- a/third_party/instrumented_libraries/scripts/pulseaudio.sh |
+++ b/components/variations/android/BUILD.gn |
@@ -1,9 +1,14 @@ |
-#!/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/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 |
+ |
+# GYP: //components/variations.gypi:variations_java |
+android_library("variations_java") { |
+ deps = [ |
+ "//base:base_java" |
+ ] |
+ DEPRECATED_java_in_dir = "java/src" |
+} |