Index: native_client_sdk/src/examples/demo/drive/example.dsc |
diff --git a/native_client_sdk/src/examples/demo/drive/example.dsc b/native_client_sdk/src/examples/demo/drive/example.dsc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..8efe7443fc5de30d48c7ad5343980ae0e67cc90c |
--- /dev/null |
+++ b/native_client_sdk/src/examples/demo/drive/example.dsc |
@@ -0,0 +1,30 @@ |
+{ |
+ 'TOOLS': ['newlib', 'glibc', 'pnacl'], |
+ 'TARGETS': [ |
+ { |
+ 'NAME' : 'drive', |
+ 'TYPE' : 'main', |
+ 'SOURCES' : ['drive.cc'], |
+ 'LIBS': ['jsoncpp', 'ppapi_cpp', 'ppapi', 'pthread'] |
+ } |
+ ], |
+ 'PRE': """ |
+# |
+# We use the chrome.experimental.identity API, which requires the |
+# --enable-experimental-expension-apis flag. |
+# |
+CHROME_ARGS += --enable-experimental-extension-apis |
+""", |
+ 'DATA': [ |
+ 'example.js', |
+ ], |
+ 'DEST': 'examples/demo', |
+ 'NAME': 'drive', |
+ 'TITLE': 'Google Drive', |
+ 'GROUP': 'Demo', |
+ 'PERMISSIONS': [ |
+ 'experimental', |
+ 'https://www.googleapis.com/*/drive/*', |
+ 'https://*.googleusercontent.com/*' |
+ ] |
+} |