Files
android_development/tools/winscope/webpack.config.js
Pablo Gamito f25221cb62 Refactor to support multiple files per trace in Winscope
This is required because when tracing transasction merges each process where the merge occurs is responsible for recording this and dumping this information. So in addition to the current transaction file, the transactions trace may contains many additional files.

Test: Try and run through all usecases of the app and make sure everything still works
Change-Id: Iba66536fb413a1875847ec673616da20e94d5feb
2020-08-27 16:19:06 +02:00

26 lines
854 B
JavaScript

/*
* Copyright 2020, The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
'use strict';
const environment = (process.env.NODE_ENV || 'development').trim();
if (environment === 'development') {
module.exports = require('./webpack.config.dev');
} else {
module.exports = require('./webpack.config.prod');
}