1 # Copyright (c) 2012 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.
6 ['component == "shared_library"', {
9 # These libraries from the Android ndk are required to be packaged with
10 # any APK that is built with them. build/java_apk.gypi expects any
11 # libraries that should be packaged with the apk to be in
13 'target_name': 'copy_system_libraries',
17 'destination': '<(SHARED_LIB_DIR)/',
19 '<(android_stlport_libs_dir)/libstlport_shared.so',
20 '<(android_libstdcpp_libs_dir)/libgnustl_shared.so',
30 # Target for creating common output build directories. Creating output
31 # dirs beforehand ensures that build scripts can assume these folders to
32 # exist and there are no race conditions resulting from build scripts
33 # trying to create these directories.
34 # The build/java.gypi target depends on this target.
35 'target_name': 'build_output_dirs',
39 'action_name': 'create_java_output_dirs',
42 '<(PRODUCT_DIR)/apks',
43 '<(PRODUCT_DIR)/lib.java',
44 '<(PRODUCT_DIR)/test.lib.java',
48 # By not specifying any outputs, we ensure that this command isn't
49 # re-run when the output directories are touched (i.e. apks are
59 }, # build_output_dirs