Skip to content

Instantly share code, notes, and snippets.

View pcamp96's full-sized avatar

Patrick Campanale pcamp96

View GitHub Profile
<?xml version="1.0" encoding="UTF-8"?>
<!--Please do not manually edit this file-->
<manifest>
<project name="CyanogenMod/android_device_qcom_common" path="device/qcom/common" remote="cm" revision="cm-11.0" />
<project name="CyanogenMod/android_device_samsung_qcom-common" path="device/samsung/qcom-common" remote="cm" revision="cm-11.0" />
<project name="CyanogenMod/android_device_samsung_msm8974-common" path="device/samsung/msm8974-common" remote="cm" revision="cm-11.0" />
<project name="CyanogenMod/android_kernel_samsung_hlte" path="kernel/samsung/hlte" remote="cm" revision="cm-11.0" />
<project name="CyanogenMod/android_hardware_qcom_display-caf-new" path="hardware/qcom/display-caf-new" remote="cm" revision="cm-11.0" />
<project name="CyanogenMod/android_hardware_qcom_media-caf-new" path="hardware/qcom/media-caf-new" remote="cm" revision="cm-11.0" />
<project name="proprietary_vendor_samsung" path="vendor/samsung" remote="tm" revision="cm-11.0" />
@pcamp96
pcamp96 / gist:6737825
Created September 28, 2013 02:41
compile-generic.sh
#!/bin/bash
# Function for the check result of the repo sync
function check_result {
if [ "0" -ne "$?" ]
then
echo $1
exit 1
fi
}
# Find out what ROM the user is building
@pcamp96
pcamp96 / gist:6737818
Created September 28, 2013 02:41
compile-carbon.sh
#!/bin/bash
# Function for the check result of the repo sync
function check_result {
if [ "0" -ne "$?" ]
then
echo $1
exit 1
fi
}
xternal/webkit/Source/WebCore/../../../chromium/android/generateAndroidForwardingHeader.pl /Volumes/Android/carbon/out/target/product/jfltevzw/obj/SHARED_LIBRARIES/libchromium_net_intermediates/third_party/WebKit/Source/WebKit/chromium/public/WebFormControlElement.h "public/WebFormControlElement.h"
perl external/webkit/Source/WebCore/../../../chromium/android/generateAndroidForwardingHeader.pl /Volumes/Android/carbon/out/target/product/jfltevzw/obj/SHARED_LIBRARIES/libchromium_net_intermediates/third_party/WebKit/Source/WebKit/chromium/public/WebRegularExpression.h "public/WebRegularExpression.h"
perl external/webkit/Source/WebCore/../../../chromium/android/generateAndroidForwardingHeader.pl /Volumes/Android/carbon/out/target/product/jfltevzw/obj/SHARED_LIBRARIES/libchromium_net_intermediates/third_party/WebKit/Source/WebKit/chromium/public/WebString.h "public/WebString.h"
Export includes file: external/chromium/Android.mk -- /Volumes/Android/carbon/out/target/product/jfltevzw/obj/STATIC_LIBRARIES/libevent_in
system/core/cpio/mkbootfs.c:12:20: error: stdarg.h: No such file or directory
system/core/cpio/mkbootfs.c: In function ‘die’:
system/core/cpio/mkbootfs.c:30: warning: implicit declaration of function ‘va_start’
system/core/cpio/mkbootfs.c:34: warning: implicit declaration of function ‘va_end’
system/core/cpio/mkbootfs.c: In function ‘fix_stat’:
system/core/cpio/mkbootfs.c:82: warning: passing argument 5 of ‘fs_config’ from incompatible pointer type
make: *** [/Volumes/Android/carbon/out/host/darwin-x86/obj/EXECUTABLES/mkbootfs_intermediates/mkbootfs.o] Error 1
Patricks-MacBook-Pro:carbon PatrickC$ repo sync -j4
Fetching projects: 0% (2/486) fatal: unable to access 'http://android.googlesource.com/platform/abi/cpp/': Failed to connect to 2607:f8b0:4002:c02::52: No route to host
fatal: unable to access 'http://android.googlesource.com/platform/bootable/bootloader/legacy/': Failed to connect to 2607:f8b0:4002:c02::52: No route to host
fatal: unable to access 'http://android.googlesource.com/platform/bootable/diskinstaller/': Failed to connect to 2607:f8b0:4002:c02::52: No route to host
fatal: unable to access 'http://android.googlesource.com/platform/cts/': Failed to connect to 2607:f8b0:4002:c02::52: No route to host
fatal: unable to access 'http://android.googlesource.com/platform/bootable/diskinstaller/': Failed to connect to 2607:f8b0:4002:c02::52: No route to host
fatal: unable to access 'http://android.googlesource.com/platform/bootable/bootloader/legacy/': Failed to connect to 2607:f8b0:4002:c02::52: No route to host
fatal: unable to access 'http://android.g
private void InitializeSettings(RoutedEventArgs e)
{
if (settings.Contains("dynamicOn"))
{
DynamicCheck.IsChecked = (bool)settings["dynamicOn"];
}
else settings.Add("dynamicOn", true);
settings.Save();
}
IsolatedStorageSettings settings = IsolatedStorageSettings.ApplicationSettings;
public About()
{
InitializeComponent();
InitializeSettings();
}
private void InitializeSettings()
{
<CheckBox x:Name="DynamicCheck" Content="Dynamically change lockscreen?" Checked="DynamicCheck_Checked_1" Unchecked="DynamicCheck_Unchecked"/>
#topMenu {
position:absolute;
bottom:0;
/* right:0; */
border-top:1px solid #80E1FF;