/**
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 *
 */ import path from 'path' ; import assetPathUtils , { PackagerAsset } from './assetPathUtils' ; function getAssetDestPathAndroid ( asset , scale ) { const androidFolder = assetPathUtils . getAndroidResourceFolderName ( asset , scale ) ; const fileName = assetPathUtils . getAndroidResourceIdentifier ( asset ) ; return path . join ( androidFolder , `${ fileName }.${ asset . type }` ) ; } export default getAssetDestPathAndroid ;