1#!/bin/bash 2 3destdir="$1" 4 5header_dirs=( 6 base 7 base/allocator 8 base/containers 9 base/debug 10 base/files 11 base/hash 12 base/i18n 13 base/json 14 base/memory 15 base/message_loop 16 base/metrics 17 base/numerics 18 base/posix 19 base/process 20 base/strings 21 base/synchronization 22 base/system 23 base/task 24 base/task/common 25 base/task/sequence_manager 26 base/task/thread_pool 27 base/test 28 base/third_party/icu 29 base/third_party/nspr 30 base/third_party/valgrind 31 base/threading 32 base/time 33 base/timer 34 base/trace_event 35 base/trace_event/common 36 build 37 components/policy 38 components/policy/core/common 39 testing/gmock/include/gmock 40 testing/gtest/include/gtest 41 dbus 42 ) 43 44# Install header files. 45for d in "${header_dirs[@]}" ; do 46 mkdir -p "${destdir}/usr/include/libchrome/${d}" 47 cp libchrome/"${d}"/*.h "${destdir}/usr/include/libchrome/${d}" 48done 49