Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(85)

Side by Side Diff: remoting/host/installer/linux/Makefile

Issue 2323153002: Add PAM session wrapper (Closed)
Patch Set: Address feedback Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 # This Makefile is used by debhelper, which supplies the appropriate value of 5 # This Makefile is used by debhelper, which supplies the appropriate value of
6 # variables not defined here, such as DESTDIR. 6 # variables not defined here, such as DESTDIR.
7 7
8 SRC_DIR = ../../../.. 8 SRC_DIR = ../../../..
9 ifndef BUILD_DIR 9 ifndef BUILD_DIR
10 BUILD_DIR = $(SRC_DIR)/out/Release 10 BUILD_DIR = $(SRC_DIR)/out/Release
11 endif 11 endif
12 12
13 CRON_DIR = $(DESTDIR)/etc/cron.daily 13 CRON_DIR = $(DESTDIR)/etc/cron.daily
14 DOC_DIR = $(DESTDIR)/usr/share/doc/chrome-remote-desktop 14 DOC_DIR = $(DESTDIR)/usr/share/doc/chrome-remote-desktop
15 INSTALL_DIR = $(DESTDIR)/opt/google/chrome-remote-desktop 15 INSTALL_DIR = $(DESTDIR)/opt/google/chrome-remote-desktop
16 NATIVE_MESSAGING_DIR = $(DESTDIR)/etc/opt/chrome/native-messaging-hosts 16 NATIVE_MESSAGING_DIR = $(DESTDIR)/etc/opt/chrome/native-messaging-hosts
17 17
18 ME2ME_PROGNAME = $(BUILD_DIR)/remoting_me2me_host 18 ME2ME_PROGNAME = $(BUILD_DIR)/remoting_me2me_host
19 ME2ME_DEBUGFILE = $(ME2ME_PROGNAME).debug 19 ME2ME_DEBUGFILE = $(ME2ME_PROGNAME).debug
20 START_PROGNAME = $(BUILD_DIR)/remoting_start_host 20 START_PROGNAME = $(BUILD_DIR)/remoting_start_host
21 START_DEBUGFILE = $(START_PROGNAME).debug 21 START_DEBUGFILE = $(START_PROGNAME).debug
22 SESSION_WRAPPER_PROGNAME = $(BUILD_DIR)/remoting_user_session
23 SESSION_WRAPPER_DEBUGFILE = $(SESSION_WRAPPER_PROGNAME).debug
22 ME2ME_NM_PROGNAME = $(BUILD_DIR)/remoting_native_messaging_host 24 ME2ME_NM_PROGNAME = $(BUILD_DIR)/remoting_native_messaging_host
23 ME2ME_NM_DEBUGFILE = $(ME2ME_NM_PROGNAME).debug 25 ME2ME_NM_DEBUGFILE = $(ME2ME_NM_PROGNAME).debug
24 REMOTE_ASSISTANCE_PROGNAME = $(BUILD_DIR)/remote_assistance_host 26 REMOTE_ASSISTANCE_PROGNAME = $(BUILD_DIR)/remote_assistance_host
25 REMOTE_ASSISTANCE_DEBUGFILE = $(REMOTE_ASSISTANCE_PROGNAME).debug 27 REMOTE_ASSISTANCE_DEBUGFILE = $(REMOTE_ASSISTANCE_PROGNAME).debug
26 28
27 all: 29 all:
28 30
29 install: 31 install:
30 install -d "$(CRON_DIR)" 32 install -d "$(CRON_DIR)"
31 install -d "$(DOC_DIR)" 33 install -d "$(DOC_DIR)"
(...skipping 14 matching lines...) Expand all
46 "$(BUILD_DIR)/remoting/com.google.chrome.remote_assistance.json" \ 48 "$(BUILD_DIR)/remoting/com.google.chrome.remote_assistance.json" \
47 "$(NATIVE_MESSAGING_DIR)/com.google.chrome.remote_assistance.json" 49 "$(NATIVE_MESSAGING_DIR)/com.google.chrome.remote_assistance.json"
48 50
49 eu-strip -f "$(ME2ME_DEBUGFILE)" "$(ME2ME_PROGNAME)" 51 eu-strip -f "$(ME2ME_DEBUGFILE)" "$(ME2ME_PROGNAME)"
50 install "$(ME2ME_PROGNAME)" \ 52 install "$(ME2ME_PROGNAME)" \
51 "$(INSTALL_DIR)/chrome-remote-desktop-host" 53 "$(INSTALL_DIR)/chrome-remote-desktop-host"
52 54
53 eu-strip -f "$(START_DEBUGFILE)" "$(START_PROGNAME)" 55 eu-strip -f "$(START_DEBUGFILE)" "$(START_PROGNAME)"
54 install "$(START_PROGNAME)" "$(INSTALL_DIR)/start-host" 56 install "$(START_PROGNAME)" "$(INSTALL_DIR)/start-host"
55 57
58 eu-strip -f "$(SESSION_WRAPPER_DEBUGFILE)" "$(SESSION_WRAPPER_PROGNAME)"
59 install "$(SESSION_WRAPPER_PROGNAME)" "$(INSTALL_DIR)/user-session"
60
56 eu-strip -f "$(ME2ME_NM_DEBUGFILE)" "$(ME2ME_NM_PROGNAME)" 61 eu-strip -f "$(ME2ME_NM_DEBUGFILE)" "$(ME2ME_NM_PROGNAME)"
57 install "$(ME2ME_NM_PROGNAME)" "$(INSTALL_DIR)/native-messaging-host" 62 install "$(ME2ME_NM_PROGNAME)" "$(INSTALL_DIR)/native-messaging-host"
58 63
59 eu-strip -f "$(REMOTE_ASSISTANCE_DEBUGFILE)" \ 64 eu-strip -f "$(REMOTE_ASSISTANCE_DEBUGFILE)" \
60 "$(REMOTE_ASSISTANCE_PROGNAME)" 65 "$(REMOTE_ASSISTANCE_PROGNAME)"
61 install "$(REMOTE_ASSISTANCE_PROGNAME)" \ 66 install "$(REMOTE_ASSISTANCE_PROGNAME)" \
62 "$(INSTALL_DIR)/remote-assistance-host" 67 "$(INSTALL_DIR)/remote-assistance-host"
63 68
64 install -m 0644 \ 69 install -m 0644 \
65 "$(BUILD_DIR)/icudtl.dat" "$(INSTALL_DIR)/icudtl.dat" 70 "$(BUILD_DIR)/icudtl.dat" "$(INSTALL_DIR)/icudtl.dat"
66 71
67 for locale in $$(ls $(BUILD_DIR)/remoting_locales); do \ 72 for locale in $$(ls $(BUILD_DIR)/remoting_locales); do \
68 install "$(BUILD_DIR)/remoting_locales/$$locale" \ 73 install "$(BUILD_DIR)/remoting_locales/$$locale" \
69 "$(INSTALL_DIR)/remoting_locales/$$locale"; \ 74 "$(INSTALL_DIR)/remoting_locales/$$locale"; \
70 done 75 done
71 76
72 install $(BUILD_DIR)/remoting/installer/cron/chrome-remote-desktop \ 77 install $(BUILD_DIR)/remoting/installer/cron/chrome-remote-desktop \
73 "$(CRON_DIR)/chrome-remote-desktop" 78 "$(CRON_DIR)/chrome-remote-desktop"
74 79
75 install -m 0644 \ 80 install -m 0644 \
76 "$(BUILD_DIR)/gen/remoting/CREDITS.txt" "$(DOC_DIR)/CREDITS.txt" 81 "$(BUILD_DIR)/gen/remoting/CREDITS.txt" "$(DOC_DIR)/CREDITS.txt"
OLDNEW
« no previous file with comments | « remoting/host/installer/linux/BUILD.gn ('k') | remoting/host/installer/linux/debian/chrome-remote-desktop.init » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698