Cuttlefish bootstrap

Device configuration files for cuttlefish.
  - x86_armv7 - AOSP configurations for Cuttlefish with ARMv7 native
    translation
  - x86_64_x86 - AOSP configurations for Cuttlefish with 64 and 32 bit
    x86 support
  - common - shared configuration files.

Internal structure:
  - phone, tablet, tablet_mobile, wear, tv - target configurations
  - auto - settings common to all above targets
  - [target]/overlay - overlay files

Bumped copyright headers everywhere.

Change-Id: I81ecc80413d9e80866e204815242908a14702692
diff --git a/shared/BoardConfig.mk b/shared/BoardConfig.mk
new file mode 100644
index 0000000..216c366
--- /dev/null
+++ b/shared/BoardConfig.mk
@@ -0,0 +1,110 @@
+#
+# Copyright 2017 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.
+#
+
+#
+# Common BoardConfig for all supported architectures.
+#
+
+TARGET_NO_RECOVERY := true
+BOARD_USES_GENERIC_AUDIO := false
+USE_CAMERA_STUB := true
+TARGET_USERIMAGES_USE_EXT4 := true
+TARGET_USERIMAGES_SPARSE_EXT_DISABLED := true
+BOARD_EGL_CFG := device/google/cuttlefish/shared/config/egl.cfg
+TARGET_USES_64_BIT_BINDER := true
+
+# Hardware composer configuration
+TARGET_USES_HWC2 := true
+
+# Bluetooth configuration
+BOARD_BLUETOOTH_USE_TEST_AS_VENDOR := true
+BOARD_BLUETOOTH_IMPL_DIR := $(TOP_DIR)system/bt
+BOARD_USE_BLUETOOTH_STUBS := false
+
+# The compiler will occasionally generate movaps, etc.
+BOARD_MALLOC_ALIGNMENT := 16
+
+# System partition size: 3.0G
+BOARD_SYSTEMIMAGE_PARTITION_SIZE := 3221225472
+BOARD_USERDATAIMAGE_PARTITION_SIZE := 1073741824
+
+# Cache partition size: 64M
+BOARD_CACHEIMAGE_PARTITION_SIZE := 67108864
+BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4
+
+BOARD_KERNEL_CMDLINE := console=ttyS0 init=/init androidboot.hardware=vsoc androidboot.console=ttyS0 security=selinux androidboot.selinux=permissive enforcing=0 loop.max_part=7 audit=0
+
+# Minimum size of the final bootable disk image: 10G
+# GCE will pad disk images out to 10G. Our disk images should be at least as
+# big to avoid warnings about partition table oddities.
+BOARD_DISK_IMAGE_MINIMUM_SIZE := 10737418240
+
+BOARD_BOOTIMAGE_MAX_SIZE := 8388608
+BOARD_SYSLOADER_MAX_SIZE := 7340032
+# TODO(san): See if we can get rid of this.
+BOARD_FLASH_BLOCK_SIZE := 512
+
+# master has breaking changes in dlfcn.h, but the platform SDK hasn't been
+# bumped. Restore the line below when it is.
+GCE_VERSION_CFLAGS := -DGCE_PLATFORM_SDK_VERSION=26
+# GCE_VERSION_CFLAGS := -DGCE_PLATFORM_SDK_VERSION=${PLATFORM_SDK_VERSION}
+SSHDIR := /var/run/ssh
+STAGEFRIGHT_AVCENC_CFLAGS := -DANDROID_GCE
+
+WITH_DEXPREOPT := true
+
+USE_OPENGL_RENDERER := true
+
+USE_CLANG_PLATFORM_BUILD := true
+
+# Wifi.
+BOARD_WLAN_DEVICE           := wlan0
+BOARD_HOSTAPD_DRIVER        := NL80211
+BOARD_WPA_SUPPLICANT_DRIVER := NL80211
+BOARD_HOSTAPD_PRIVATE_LIB   := lib_driver_cmd_simulated
+BOARD_WPA_SUPPLICANT_PRIVATE_LIB := lib_driver_cmd_simulated
+WPA_SUPPLICANT_VERSION      := VER_0_8_X
+WIFI_DRIVER_FW_PATH_PARAM   := "/dev/null"
+WIFI_DRIVER_FW_PATH_STA     := "/dev/null"
+WIFI_DRIVER_FW_PATH_AP      := "/dev/null"
+
+BOARD_SEPOLICY_DIRS += device/google/cuttlefish/shared/sepolicy
+
+GCE_STLPORT_INCLUDES :=
+GCE_STLPORT_LIBS :=
+GCE_STLPORT_STATIC_LIBS :=
+
+GCE_TEST_INCLUDES := external/googletest/googlemock/include external/googletest/googletest/include
+GCE_TEST_LIBRARIES := libgmock_main_host libgtest_host libgmock_host
+
+GCE_LIBCXX_STATIC := libc++_static
+
+GCE_PROTOBUF_SHARED_LIB := libprotobuf-cpp-full
+INIT_BOOTCHART := true
+
+DEVICE_MANIFEST_FILE := device/google/cuttlefish/shared/config/manifest.xml
+
+# Need this so that the application's loop on reading input can be synchronized
+# with HW VSYNC
+TARGET_RUNNING_WITHOUT_SYNC_FRAMEWORK := true
+
+# Settings for dhcpcd-6.8.2.
+DHCPCD_USE_IPV6 := no
+DHCPCD_USE_DBUS := no
+DHCPCD_USE_SCRIPT := yes
+
+USE_XML_AUDIO_POLICY_CONF := 1
+