• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2023 Huawei Device Co., Ltd.
2# Licensed under the Apache License, Version 2.0 (the "License");
3# you may not use this file except in compliance with the License.
4# You may obtain a copy of the License at
5#
6#     http://www.apache.org/licenses/LICENSE-2.0
7#
8# Unless required by applicable law or agreed to in writing, software
9# distributed under the License is distributed on an "AS IS" BASIS,
10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11# See the License for the specific language governing permissions and
12# limitations under the License.
13
14CUPS_SERVICE_DATA_DIR = "/data/service/el1/public/print_service/cups"
15
16cups_bin_dir = "bin"
17cups_sbin_dir = "bin"
18cups_serverbin_dir = "bin/cups"
19init_service_cfg_path = "etc/init"
20
21cups_defines = [
22  "CUPS_BINDIR = \"/system/$cups_bin_dir\"",
23  "CUPS_SBINDIR = \"/system/$cups_sbin_dir\"",
24  "CUPS_SERVERBIN = \"$CUPS_SERVICE_DATA_DIR/serverbin\"",
25
26  "CUPS_DATADIR = \"$CUPS_SERVICE_DATA_DIR/datadir\"",
27  "CUPS_DOCROOT = \"$CUPS_SERVICE_DATA_DIR/doc\"",
28  "CUPS_LOCALEDIR = \"$CUPS_SERVICE_DATA_DIR/locale\"",
29  "CUPS_LOGDIR = \"$CUPS_SERVICE_DATA_DIR/log\"",
30
31  "CUPS_SERVERROOT = \"$CUPS_SERVICE_DATA_DIR\"",
32  "CUPS_CACHEDIR = \"$CUPS_SERVICE_DATA_DIR/cache\"",
33  "CUPS_REQUESTS = \"$CUPS_SERVICE_DATA_DIR/spool\"",
34  "CUPS_STATEDIR = \"$CUPS_SERVICE_DATA_DIR/run\"",
35]
36